Module Name:    src
Committed By:   skrll
Date:           Sun Oct 23 07:33:15 UTC 2016

Modified Files:
        src/external/gpl3/gdb/dist/gdb: armnbsd-tdep.c configure.tgt

Log Message:
PR toolchain/51557: gdb can't read core files

Register an iterate_over_regset_sections methods for armnbsd


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/gpl3/gdb/dist/gdb/armnbsd-tdep.c
cvs rdiff -u -r1.12 -r1.13 src/external/gpl3/gdb/dist/gdb/configure.tgt

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/armnbsd-tdep.c
diff -u src/external/gpl3/gdb/dist/gdb/armnbsd-tdep.c:1.5 src/external/gpl3/gdb/dist/gdb/armnbsd-tdep.c:1.6
--- src/external/gpl3/gdb/dist/gdb/armnbsd-tdep.c:1.5	Wed Oct 12 20:20:33 2016
+++ src/external/gpl3/gdb/dist/gdb/armnbsd-tdep.c	Sun Oct 23 07:33:15 2016
@@ -82,6 +82,10 @@ arm_netbsd_init_abi_common (struct gdbar
 
   /* Single stepping.  */
   set_gdbarch_software_single_step (gdbarch, arm_software_single_step);
+  /* Core support */
+  set_gdbarch_iterate_over_regset_sections
+    (gdbarch, armbsd_iterate_over_regset_sections);
+
 }
   
 static void

Index: src/external/gpl3/gdb/dist/gdb/configure.tgt
diff -u src/external/gpl3/gdb/dist/gdb/configure.tgt:1.12 src/external/gpl3/gdb/dist/gdb/configure.tgt:1.13
--- src/external/gpl3/gdb/dist/gdb/configure.tgt:1.12	Fri Oct 14 14:41:32 2016
+++ src/external/gpl3/gdb/dist/gdb/configure.tgt	Sun Oct 23 07:33:15 2016
@@ -108,8 +108,8 @@ arm*-*-linux*)
 	;;
 arm*-*-netbsd* | arm*-*-knetbsd*-gnu)
 	# Target: NetBSD/arm
-	gdb_target_obs="arm.o arm-get-next-pcs.o arm-tdep.o armnbsd-tdep.o \
-			solib-svr4.o"
+	gdb_target_obs="arm.o arm-get-next-pcs.o arm-tdep.o armbsd-tdep.o \
+			armnbsd-tdep.o solib-svr4.o"
 	;;
 arm*-*-openbsd*)
 	# Target: OpenBSD/arm

Reply via email to