diff options
author | Christopher Faylor <me+cygwin@cgf.cx> | 2001-05-31 03:41:31 +0000 |
---|---|---|
committer | Christopher Faylor <me+cygwin@cgf.cx> | 2001-05-31 03:41:31 +0000 |
commit | 9fd7143a93ad1c27ac603a7cb050aec0f3855191 (patch) | |
tree | 5447b2ab1c4c26c35f16bef83ce84ac837880529 /gdb | |
parent | 34a7837abd953d4a3c4d95a09e9d1fa1551c644b (diff) | |
download | gdb-9fd7143a93ad1c27ac603a7cb050aec0f3855191.zip gdb-9fd7143a93ad1c27ac603a7cb050aec0f3855191.tar.gz gdb-9fd7143a93ad1c27ac603a7cb050aec0f3855191.tar.bz2 |
* partial-stab.h: Revert previous patch.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/partial-stab.h | 9 |
2 files changed, 8 insertions, 5 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b1054b4..b0a897f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2001-05-29 Christopher Faylor <cgf@redhat.com> + * partial-stab.h: Revert previous patch. + +2001-05-29 Christopher Faylor <cgf@redhat.com> + * partial-stab.h: Consistently guard against pst being NULL. 2001-05-29 Alexandre Oliva <aoliva@redhat.com> diff --git a/gdb/partial-stab.h b/gdb/partial-stab.h index 5dadf44..fcfb2ef 100644 --- a/gdb/partial-stab.h +++ b/gdb/partial-stab.h @@ -600,11 +600,10 @@ switch (CUR_SYMBOL_TYPE) the bounds created by N_SO symbols. If that's the case use the address of this function as the low bound for the partial symbol table. */ - if (pst - && (textlow_not_set - || (pst && CUR_SYMBOL_VALUE < pst->textlow - && CUR_SYMBOL_VALUE - != ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile))))) + if (textlow_not_set + || (pst && CUR_SYMBOL_VALUE < pst->textlow + && CUR_SYMBOL_VALUE + != ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile)))) { pst->textlow = CUR_SYMBOL_VALUE; textlow_not_set = 0; |