Fix bug: If gdb couldn't find the dynamic linker's "r_debug_state"

symbol, it aborted with "virtual memory exhausted."  Now it warns
about the problem and proceeds.
This commit is contained in:
jdp 1999-02-21 19:58:36 +00:00
parent 4cf3fa2025
commit b34bb6d5a4

View File

@ -444,7 +444,7 @@ bfd_lookup_symbol (abfd, symname)
bfd *abfd;
char *symname;
{
unsigned int storage_needed;
long storage_needed;
asymbol *sym;
asymbol **symbol_table;
unsigned int number_of_symbols;