Module Name:    src
Committed By:   uwe
Date:           Mon Oct 31 21:00:39 UTC 2011

Modified Files:
        src/external/gpl3/gdb/dist/gdb: shnbsd-nat.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gdb/dist/gdb/shnbsd-nat.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gdb/dist/gdb/shnbsd-nat.c
diff -u src/external/gpl3/gdb/dist/gdb/shnbsd-nat.c:1.3 src/external/gpl3/gdb/dist/gdb/shnbsd-nat.c:1.4
--- src/external/gpl3/gdb/dist/gdb/shnbsd-nat.c:1.3	Mon Oct 24 23:58:01 2011
+++ src/external/gpl3/gdb/dist/gdb/shnbsd-nat.c	Mon Oct 31 21:00:39 2011
@@ -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,

Reply via email to