* Shared libaray/corefile changes from Peter Schauer:
authorJim Kingdon <jkingdon@engr.sgi.com>
Tue, 23 Apr 1991 00:05:24 +0000 (00:05 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Tue, 23 Apr 1991 00:05:24 +0000 (00:05 +0000)
commitd0237a54e516a4e6aba631a63c689880fdf008eb
tree44eab2a099a2d71c8940965ec6acc449a19b740f
parent192cbba9440ddf2171363ae74028d3f279c83b1c
* Shared libaray/corefile changes from Peter Schauer:
core.c (core_close): Call CLEAR_SOLIB.
(core_open): Remove comment about "should deal with shared lib".
(core_xfer_memory): If we can't xfer the usual way, try the
shared libraries.
solib.c (so_list): New fields so_bfd and so_sections{,_end}.
(find_solib): Use solib_map_sections to get ld_text.
(solib_map_sections, solib_xfer_memory): New functions.
(clear_solib): Free so_sections and close so_bfd.
tm-sunos.h: Add solib_xfer_memory, solib_add.
gdb/ChangeLog
gdb/core.c
gdb/solib.c
gdb/tm-sunos.h