From: Stu Grossman Date: Wed, 24 Jun 1992 07:31:55 +0000 (+0000) Subject: * partial-stab.h (case N_TEXT): Fix fencepost error when X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=369172bbb3eaeabb2f2a2aaa87799199dcb49e65;p=binutils-gdb.git * 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). --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6aaec86b278..cdd3bf541cc 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 e064aeb3595..c48141a7cb3 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,