aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2006-10-09 19:58:07 +0000
committerDaniel Jacobowitz <drow@false.org>2006-10-09 19:58:07 +0000
commit8bb752867cc0906c585051cbe0b0e766da0d910c (patch)
tree1a28ce287e3e928c5f391828ca5000c5a0b2fd5c /gdb
parentd9639e132982392ca2d53802e571db5afe274e61 (diff)
downloadbinutils-8bb752867cc0906c585051cbe0b0e766da0d910c.zip
binutils-8bb752867cc0906c585051cbe0b0e766da0d910c.tar.gz
binutils-8bb752867cc0906c585051cbe0b0e766da0d910c.tar.bz2
* solib.c (solib_read_symbols): Stop if the file was not found.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/solib.c5
2 files changed, 9 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 81589e5..ad3ff0b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * solib.c (solib_read_symbols): Stop if the file was not found.
+
2006-10-09 Paul Pluzhnikov <ppluzhnikov@charter.net>
PR c++/2116
diff --git a/gdb/solib.c b/gdb/solib.c
index 1368227..8dbc8e3 100644
--- a/gdb/solib.c
+++ b/gdb/solib.c
@@ -418,6 +418,11 @@ solib_read_symbols (struct so_list *so, int from_tty)
if (from_tty)
printf_unfiltered (_("Symbols already loaded for %s\n"), so->so_name);
}
+ else if (so->abfd == NULL)
+ {
+ if (from_tty)
+ printf_unfiltered (_("Symbol file not found for %s\n"), so->so_name);
+ }
else
{
if (catch_errors (symbol_add_stub, so,