pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
gdb-netbsd: Remove local patch
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Tue Mar 17 13:51:37 2020 +0100
Changeset: 4f5a5b154675ab0ccaf114341831cc8f89e8bb5b
Modified Files:
gdb-netbsd/distinfo
Removed Files:
gdb-netbsd/patches/patch-gdb_user-regs.c
Log Message:
gdb-netbsd: Remove local patch
A proper fix is pending upstream.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4f5a5b154675ab0ccaf114341831cc8f89e8bb5b
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
gdb-netbsd/distinfo | 1 -
gdb-netbsd/patches/patch-gdb_user-regs.c | 79 --------------------------------
2 files changed, 80 deletions(-)
diffs:
diff --git a/gdb-netbsd/distinfo b/gdb-netbsd/distinfo
index 13dd3ddfd8..9893ea3938 100644
--- a/gdb-netbsd/distinfo
+++ b/gdb-netbsd/distinfo
@@ -63,6 +63,5 @@ SHA1 (patch-gdb_sparc-tdep.h) = 74eb0364017aa8b41ef1a06dcb35d8b4a2a31852
SHA1 (patch-gdb_sparc64-nbsd-nat.c) = d7b9988c09f483d9d57dccc36610cb52751dac0b
SHA1 (patch-gdb_sparc64-nbsd-tdep.c) = 1e4562ab7f7a2c8b61b2becc70c9d6aa35140598
SHA1 (patch-gdb_tui_tui-winsource.c) = fc0eb13c8c367bed20630921a6bacce186a80fd8
-SHA1 (patch-gdb_user-regs.c) = ced798a4bb8765193bbde67811cea5b98e41d56f
SHA1 (patch-libiberty_make-temp-file.c) = 6e5c3fc9dde722a263cdbe3d51a714538a0c6cd1
SHA1 (patch-sim_common_callback.c) = ac55e639ed6ba51c5daef5fffccc3413abeb1df2
diff --git a/gdb-netbsd/patches/patch-gdb_user-regs.c b/gdb-netbsd/patches/patch-gdb_user-regs.c
deleted file mode 100644
index 7bd4d4c6d4..0000000000
--- a/gdb-netbsd/patches/patch-gdb_user-regs.c
+++ /dev/null
@@ -1,79 +0,0 @@
-$NetBSD$
-
---- gdb/user-regs.c.orig 2019-07-16 00:00:27.000000000 +0000
-+++ gdb/user-regs.c
-@@ -41,7 +41,7 @@
- struct user_reg
- {
- const char *name;
-- struct value *(*read) (struct frame_info * frame, const void *baton);
-+ struct value *(*xread) (struct frame_info * frame, const void *baton);
- const void *baton;
- struct user_reg *next;
- };
-@@ -60,7 +60,7 @@ struct gdb_user_regs
-
- static void
- append_user_reg (struct gdb_user_regs *regs, const char *name,
-- user_reg_read_ftype *read, const void *baton,
-+ user_reg_read_ftype *xread, const void *baton,
- struct user_reg *reg)
- {
- /* The caller is responsible for allocating memory needed to store
-@@ -68,7 +68,7 @@ append_user_reg (struct gdb_user_regs *r
- register list stored in the common heap or a specific obstack. */
- gdb_assert (reg != NULL);
- reg->name = name;
-- reg->read = read;
-+ reg->xread = xread;
- reg->baton = baton;
- reg->next = NULL;
- (*regs->last) = reg;
-@@ -82,10 +82,10 @@ static struct gdb_user_regs builtin_user
- };
-
- void
--user_reg_add_builtin (const char *name, user_reg_read_ftype *read,
-+user_reg_add_builtin (const char *name, user_reg_read_ftype *xread,
- const void *baton)
- {
-- append_user_reg (&builtin_user_regs, name, read, baton,
-+ append_user_reg (&builtin_user_regs, name, xread, baton,
- XNEW (struct user_reg));
- }
-
-@@ -103,14 +103,14 @@ user_regs_init (struct gdbarch *gdbarch)
-
- regs->last = ®s->first;
- for (reg = builtin_user_regs.first; reg != NULL; reg = reg->next)
-- append_user_reg (regs, reg->name, reg->read, reg->baton,
-+ append_user_reg (regs, reg->name, reg->xread, reg->baton,
- GDBARCH_OBSTACK_ZALLOC (gdbarch, struct user_reg));
- return regs;
- }
-
- void
- user_reg_add (struct gdbarch *gdbarch, const char *name,
-- user_reg_read_ftype *read, const void *baton)
-+ user_reg_read_ftype *xread, const void *baton)
- {
- struct gdb_user_regs *regs
- = (struct gdb_user_regs *) gdbarch_data (gdbarch, user_regs_data);
-@@ -122,7 +122,7 @@ user_reg_add (struct gdbarch *gdbarch, c
- regs = (struct gdb_user_regs *) user_regs_init (gdbarch);
- deprecated_set_gdbarch_data (gdbarch, user_regs_data, regs);
- }
-- append_user_reg (regs, name, read, baton,
-+ append_user_reg (regs, name, xread, baton,
- GDBARCH_OBSTACK_ZALLOC (gdbarch, struct user_reg));
- }
-
-@@ -214,7 +214,7 @@ value_of_user_reg (int regnum, struct fr
- struct user_reg *reg = usernum_to_user_reg (gdbarch, regnum - maxregs);
-
- gdb_assert (reg != NULL);
-- return reg->read (frame, reg->baton);
-+ return reg->xread (frame, reg->baton);
- }
-
- static void
Home |
Main Index |
Thread Index |
Old Index