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 Disable our custom stack unwinder...



details:   https://anonhg.NetBSD.org/src/rev/7874ffb94eb7
branches:  trunk
changeset: 769900:7874ffb94eb7
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Sep 26 02:35:33 2011 +0000

description:
Disable our custom stack unwinder for now. It is completely broken now because
gdb asserts when a frame returns 0. In previous versions of gdb, it just
printed 0, and stopped scanning. Our unwinder produces the same results in
both versions of gdb, i.e. it is broken and worse than the current gdb
default. We will need to revisit this for kernel debugging.

diffstat:

 external/gpl3/gdb/dist/gdb/amd64nbsd-tdep.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (15 lines):

diff -r fb229504d574 -r 7874ffb94eb7 external/gpl3/gdb/dist/gdb/amd64nbsd-tdep.c
--- a/external/gpl3/gdb/dist/gdb/amd64nbsd-tdep.c       Mon Sep 26 01:52:22 2011 +0000
+++ b/external/gpl3/gdb/dist/gdb/amd64nbsd-tdep.c       Mon Sep 26 02:35:33 2011 +0000
@@ -291,9 +291,10 @@
   /* NetBSD uses SVR4-style shared libraries.  */
   set_solib_svr4_fetch_link_map_offsets
     (gdbarch, svr4_lp64_fetch_link_map_offsets);
-
+#ifdef notyet
   /* Unwind kernel trap frames correctly.  */
   frame_unwind_prepend_unwinder (gdbarch, &amd64nbsd_trapframe_unwind);
+#endif
 }
 
 



Home | Main Index | Thread Index | Old Index