mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-16 12:24:19 +08:00
2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
From: innadadadavida@yahoo.com: * partial-stab.h (switch): Check that pst is not null before dereferencing it.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
|
||||||
|
|
||||||
|
From: innadadadavida@yahoo.com:
|
||||||
|
* partial-stab.h (switch): Check that pst is not null
|
||||||
|
before dereferencing it.
|
||||||
|
|
||||||
2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
|
2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
|
||||||
|
|
||||||
From Andrew Cagney <cagney@b1.cygnus.com>:
|
From Andrew Cagney <cagney@b1.cygnus.com>:
|
||||||
|
@ -600,7 +600,7 @@ switch (CUR_SYMBOL_TYPE)
|
|||||||
use the address of this function as the low bound for
|
use the address of this function as the low bound for
|
||||||
the partial symbol table. */
|
the partial symbol table. */
|
||||||
if (textlow_not_set
|
if (textlow_not_set
|
||||||
|| (CUR_SYMBOL_VALUE < pst->textlow
|
|| (pst && CUR_SYMBOL_VALUE < pst->textlow
|
||||||
&& CUR_SYMBOL_VALUE
|
&& CUR_SYMBOL_VALUE
|
||||||
!= ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile))))
|
!= ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile))))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user