projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9639e1
)
* solib.c (solib_read_symbols): Stop if the file was not found.
author
Daniel Jacobowitz
<drow@false.org>
Mon, 9 Oct 2006 19:58:07 +0000
(19:58 +0000)
committer
Daniel Jacobowitz
<drow@false.org>
Mon, 9 Oct 2006 19:58:07 +0000
(19:58 +0000)
gdb/ChangeLog
patch
|
blob
|
history
gdb/solib.c
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index 81589e5eec481044b8a992e1d5c50a664b350581..ad3ff0b9bc82b2655690eac75b39d8bec77201f5 100644
(file)
--- 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 1368227c638740dfd81949939b480a83e5198fec..8dbc8e35779b3d94fa8e1998d00d54120959b79b 100644
(file)
--- 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,