summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>1999-02-21 19:58:36 +0000
committerjdp <jdp@FreeBSD.org>1999-02-21 19:58:36 +0000
commitb34bb6d5a43fd970b58d57a292fcdd89b65cb195 (patch)
tree9ce894cbbc42a0d5d8abaf844399e017fb851544
parent4cf3fa20255a0a064f562ecfe5e451959a2ac878 (diff)
downloadFreeBSD-src-b34bb6d5a43fd970b58d57a292fcdd89b65cb195.zip
FreeBSD-src-b34bb6d5a43fd970b58d57a292fcdd89b65cb195.tar.gz
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.
-rw-r--r--contrib/gdb/gdb/solib.c2
1 files changed, 1 insertions, 1 deletions
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;
OpenPOWER on IntegriCloud