aboutsummaryrefslogtreecommitdiff
path: root/gdb/tm-sunos.h
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1991-04-23 00:05:24 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1991-04-23 00:05:24 +0000
commitd0237a54e516a4e6aba631a63c689880fdf008eb (patch)
tree44eab2a099a2d71c8940965ec6acc449a19b740f /gdb/tm-sunos.h
parent192cbba9440ddf2171363ae74028d3f279c83b1c (diff)
downloadgdb-d0237a54e516a4e6aba631a63c689880fdf008eb.zip
gdb-d0237a54e516a4e6aba631a63c689880fdf008eb.tar.gz
gdb-d0237a54e516a4e6aba631a63c689880fdf008eb.tar.bz2
* 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.
Diffstat (limited to 'gdb/tm-sunos.h')
-rw-r--r--gdb/tm-sunos.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/tm-sunos.h b/gdb/tm-sunos.h
index f33e352..1de9b99 100644
--- a/gdb/tm-sunos.h
+++ b/gdb/tm-sunos.h
@@ -19,8 +19,13 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* This is for SunOS version 4, not for earlier versions. */
#define CLEAR_SOLIB clear_solib
+#define SOLIB_ADD(filename, from_tty) solib_add (filename, from_tty)
+#define SOLIB_XFER_MEMORY(memaddr, myaddr, len, write) solib_xfer_memory (memaddr, myaddr, len, write)
/* If we can't set a breakpoint, and it's in a shared library, just
disable it. */
#define DISABLE_UNSETTABLE_BREAK(addr) solib_address(addr)
extern int solib_address (); /* solib.c */
+extern int solib_xfer_memory ();
+extern void solib_add ();
+extern void clear_solib ();