aboutsummaryrefslogtreecommitdiff
path: root/gdb/partial-stab.h
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1992-06-24 07:31:55 +0000
committerStu Grossman <grossman@cygnus>1992-06-24 07:31:55 +0000
commit369172bbb3eaeabb2f2a2aaa87799199dcb49e65 (patch)
tree5d73a0241e0416bf022a936c6f00dcfbcf2fbd99 /gdb/partial-stab.h
parentf274a4b8da4d33c9f77dadb3ecc2652b9504617e (diff)
downloadgdb-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/partial-stab.h')
-rw-r--r--gdb/partial-stab.h2
1 files changed, 1 insertions, 1 deletions
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,