Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gdb/dist/gdb struct reg has GBR since NetBSD 5...



details:   https://anonhg.NetBSD.org/src/rev/648a30fb8665
branches:  trunk
changeset: 770754:648a30fb8665
user:      uwe <uwe%NetBSD.org@localhost>
date:      Mon Oct 31 21:00:39 2011 +0000

description:
struct reg has GBR since NetBSD 5, so bump up SHNBSD_SIZEOF_GREGS.
It would be nice to detect this dynamically, but gdb7 wouldn't work on
NetBSD 4 anyway.

diffstat:

 external/gpl3/gdb/dist/gdb/shnbsd-nat.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 75d731b090c8 -r 648a30fb8665 external/gpl3/gdb/dist/gdb/shnbsd-nat.c
--- a/external/gpl3/gdb/dist/gdb/shnbsd-nat.c   Mon Oct 31 20:52:14 2011 +0000
+++ b/external/gpl3/gdb/dist/gdb/shnbsd-nat.c   Mon Oct 31 21:00:39 2011 +0000
@@ -43,7 +43,7 @@
 || (regno) == SR_REGNUM || (regno) == GBR_REGNUM)
 
 /* Sizeof `struct reg' in <machine/reg.h>.  */
-#define SHNBSD_SIZEOF_GREGS    (21 * 4)
+#define SHNBSD_SIZEOF_GREGS    (22 * 4)
 
 static void
 shnbsd_fetch_inferior_registers (struct target_ops *ops,



Home | Main Index | Thread Index | Old Index