mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-18 12:24:38 +08:00
2002-09-10 Michael Snyder <msnyder@redhat.com>
* buildsym.c (finish_block): Protect against null pointer.
This commit is contained in:
parent
9d84ac84ef
commit
c0219d4272
@ -1,3 +1,7 @@
|
||||
2002-09-10 Michael Snyder <msnyder@redhat.com>
|
||||
|
||||
* buildsym.c (finish_block): Protect against null pointer.
|
||||
|
||||
2002-09-10 Andrew Cagney <cagney@redhat.com>
|
||||
|
||||
* infcmd.c (default_print_registers_info): Send all output to
|
||||
|
@ -422,7 +422,9 @@ finish_block (struct symbol *symbol, struct pending **listhead,
|
||||
start of this scope that don't have superblocks yet. */
|
||||
|
||||
opblock = NULL;
|
||||
for (pblock = pending_blocks; pblock != old_blocks; pblock = pblock->next)
|
||||
for (pblock = pending_blocks;
|
||||
pblock && pblock != old_blocks;
|
||||
pblock = pblock->next)
|
||||
{
|
||||
if (BLOCK_SUPERBLOCK (pblock->block) == NULL)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user