Handle missing shared libraries during the examination of a core
authorPeter Schauer <Peter.Schauer@mytum.de>
Wed, 22 Apr 1998 20:17:44 +0000 (20:17 +0000)
committerPeter Schauer <Peter.Schauer@mytum.de>
Wed, 22 Apr 1998 20:17:44 +0000 (20:17 +0000)
commitb420cea7eb00a0cce5a1383ef9d743c281bd3d7a
tree3d2c5b20fe5c35529cc268a2f3d420871bf73f79
parentf3b96ecc601e313d87507a164d939e34845a6dd5
Handle missing shared libraries during the examination of a core
dump gracefully.
* solib.c (find_solib):  Use catch_errors around call to
solib_map_sections. Use warning instead of error if reading of
the shared library name fails.
(solib_map_sections):  Change return and argument types to make
it callable from catch_errors.
(symbol_add_stub):  Avoid GDB core dump if solib->abfd is NULL.
* irix5-nat.c, osfsolib.c (xfer_link_map_member, solib_map_sections,
symbol_add_stub):  Ditto.
gdb/ChangeLog
gdb/irix5-nat.c
gdb/osfsolib.c
gdb/solib.c