diff options
author | Stu Grossman <grossman@cygnus> | 1996-07-23 01:24:58 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1996-07-23 01:24:58 +0000 |
commit | 3a179be14970730a9bfb864aa8c8c91baccbb4bd (patch) | |
tree | 0e979ed9b43934e41da13c80834c4072d6ad6164 /gdb/xcoffread.c | |
parent | bf9884d41d4604d287ce495d1b0b87b028805951 (diff) | |
download | gdb-3a179be14970730a9bfb864aa8c8c91baccbb4bd.zip gdb-3a179be14970730a9bfb864aa8c8c91baccbb4bd.tar.gz gdb-3a179be14970730a9bfb864aa8c8c91baccbb4bd.tar.bz2 |
* Makefile.in (os9kread.o): Remove dependency on partial-stab.h.
* dbxread.c (read_dbx_symtab end_psymtab), partial-stab.h: Don't
use partial_symtab->textlow==0 as a flag, as 0 is a legitimate
text address. Use a seperate flag (textlow_not_set) instead.
This makes stabs in ELF .o files work a lot better.
* mdebugread.c xcoffread.c: Define textlow_not_set for
partial-stab.h.
* stabsread.h (end_psymtab): Add textlow_not_set arg to prototype.
Diffstat (limited to 'gdb/xcoffread.c')
-rw-r--r-- | gdb/xcoffread.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c index 727d558..03308fc 100644 --- a/gdb/xcoffread.c +++ b/gdb/xcoffread.c @@ -2188,6 +2188,7 @@ scan_xcoff_symtab (section_offsets, objfile) CORE_ADDR last_csect_val = 0; int last_csect_sec = 0; int misc_func_recorded = 0; /* true if any misc. function */ + int textlow_not_set = 1; pst = (struct partial_symtab *) 0; |