diff options
author | Stu Grossman <grossman@cygnus> | 1992-06-24 07:31:55 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1992-06-24 07:31:55 +0000 |
commit | 369172bbb3eaeabb2f2a2aaa87799199dcb49e65 (patch) | |
tree | 5d73a0241e0416bf022a936c6f00dcfbcf2fbd99 /gdb | |
parent | f274a4b8da4d33c9f77dadb3ecc2652b9504617e (diff) | |
download | gdb-369172bbb3eaeabb2f2a2aaa87799199dcb49e65.zip gdb-369172bbb3eaeabb2f2a2aaa87799199dcb49e65.tar.gz gdb-369172bbb3eaeabb2f2a2aaa87799199dcb49e65.tar.bz2 |
* partial-stab.h (case N_TEXT): Fix fencepost error when
detecting start of new symbol info after reading symtab for a
module with a zero length TEXT segment.
(Note that this fixes the BNR problem with printing vxWorksVersion. That ought
to make Ken happy).
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/partial-stab.h | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6aaec86..cdd3bf5 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +Wed Jun 24 00:26:56 1992 Stu Grossman (grossman at cygnus.com) + + * partial-stab.h (case N_TEXT): Fix fencepost error when + detecting start of new symbol info after reading symtab for a + module with a zero length TEXT segment. + Tue Jun 23 21:46:26 1992 Fred Fish (fnf@cygnus.com) * Makefile.in (VERSION): Bump to 4.5.6. diff --git a/gdb/partial-stab.h b/gdb/partial-stab.h index e064aeb..c48141a 100644 --- a/gdb/partial-stab.h +++ b/gdb/partial-stab.h @@ -89,7 +89,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ if (past_first_source_file && pst /* The gould NP1 uses low values for .o and -l symbols which are not the address. */ - && CUR_SYMBOL_VALUE > pst->textlow) + && CUR_SYMBOL_VALUE >= pst->textlow) { END_PSYMTAB (pst, psymtab_include_list, includes_used, symnum * symbol_size, CUR_SYMBOL_VALUE, |