From b34bb6d5a43fd970b58d57a292fcdd89b65cb195 Mon Sep 17 00:00:00 2001 From: jdp Date: Sun, 21 Feb 1999 19:58:36 +0000 Subject: 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. --- contrib/gdb/gdb/solib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/gdb') diff --git a/contrib/gdb/gdb/solib.c b/contrib/gdb/gdb/solib.c index b4d3e30..4fd3344 100644 --- a/contrib/gdb/gdb/solib.c +++ b/contrib/gdb/gdb/solib.c @@ -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; -- cgit v1.1