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 PR toolchain/51557: gdb can't rea...



details:   https://anonhg.NetBSD.org/src/rev/a79db3023d1d
branches:  trunk
changeset: 348531:a79db3023d1d
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Oct 23 07:33:15 2016 +0000

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

Register an iterate_over_regset_sections methods for armnbsd

diffstat:

 external/gpl3/gdb/dist/gdb/armnbsd-tdep.c |  4 ++++
 external/gpl3/gdb/dist/gdb/configure.tgt  |  4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 67783ded38d9 -r a79db3023d1d external/gpl3/gdb/dist/gdb/armnbsd-tdep.c
--- a/external/gpl3/gdb/dist/gdb/armnbsd-tdep.c Sat Oct 22 22:32:33 2016 +0000
+++ b/external/gpl3/gdb/dist/gdb/armnbsd-tdep.c Sun Oct 23 07:33:15 2016 +0000
@@ -82,6 +82,10 @@
 
   /* 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
diff -r 67783ded38d9 -r a79db3023d1d external/gpl3/gdb/dist/gdb/configure.tgt
--- a/external/gpl3/gdb/dist/gdb/configure.tgt  Sat Oct 22 22:32:33 2016 +0000
+++ b/external/gpl3/gdb/dist/gdb/configure.tgt  Sun Oct 23 07:33:15 2016 +0000
@@ -108,8 +108,8 @@
        ;;
 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



Home | Main Index | Thread Index | Old Index