aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/i386
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1994-06-09 06:30:38 +0000
committerStu Grossman <grossman@cygnus>1994-06-09 06:30:38 +0000
commita4b4f5205874ff2b856aad63a4298f7eb205262f (patch)
tree184658dd550b80260f6a69d8da435e96c77eb966 /gdb/config/i386
parent5005cbca02225dc77057fc86d08c73e5675c02fe (diff)
downloadgdb-a4b4f5205874ff2b856aad63a4298f7eb205262f.zip
gdb-a4b4f5205874ff2b856aad63a4298f7eb205262f.tar.gz
gdb-a4b4f5205874ff2b856aad63a4298f7eb205262f.tar.bz2
* nlmread.c (nlm_symtab_read): Clean up a bit.
* (nlm_symfile_read): Record bounds of main() so that backtrace command will know where to stop. * objfiles.c (objfile_relocate): Relocate entry point/func info for backtrace as well. * objfiles.h: Define values for invalid PCs for entry point info. * symfile.c (init_entry_point_info): Initialize invalid values with aforementioned macros. * config/alpha/tm-alphanw.h: Turn on FRAME_CHAIN_VALID_ALTERNATE to cause backtrace to stop when it gets back to main(). * config/i386/tm-i386nw.h: Ditto.
Diffstat (limited to 'gdb/config/i386')
-rw-r--r--gdb/config/i386/tm-i386nw.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/gdb/config/i386/tm-i386nw.h b/gdb/config/i386/tm-i386nw.h
index 8cab416..45af050 100644
--- a/gdb/config/i386/tm-i386nw.h
+++ b/gdb/config/i386/tm-i386nw.h
@@ -1,5 +1,5 @@
-/* Macro definitions for i386 running under Univel NetWare.
- Copyright 1993 Free Software Foundation, Inc.
+/* Macro definitions for i386 running NetWare.
+ Copyright 1993, 1994 Free Software Foundation, Inc.
This file is part of GDB.
@@ -25,3 +25,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
be extracted out and placed in a tm-i386.h file that all the others,
including tm-i386v.h, includes as needed. */
#include "i386/tm-i386v.h"
+
+/* Stop backtracing when we wander into main. */
+
+#define FRAME_CHAIN_VALID_ALTERNATE