diff options
author | Mark Kettenis <kettenis@gnu.org> | 2005-01-12 20:52:18 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2005-01-12 20:52:18 +0000 |
commit | 42a6e6a0ae5197d22b260eb611c9da92d2e8828d (patch) | |
tree | f8dc73beccdd9feaa8ce6c0b1fab4efe40f8c5c3 /gdb/solib.h | |
parent | fbd1b305fd9d99a2f66d5394063c8d0ed379179f (diff) | |
download | gdb-42a6e6a0ae5197d22b260eb611c9da92d2e8828d.zip gdb-42a6e6a0ae5197d22b260eb611c9da92d2e8828d.tar.gz gdb-42a6e6a0ae5197d22b260eb611c9da92d2e8828d.tar.bz2 |
* solib.h Update copyright year.
(struct so_list): Forward declaration.
(solib_read_symbols): New prototype.
* solib.c (solib_read_symbols): New function.
(solib_add): Call solib_read_symbols to read in symbols.
(update_solib_list): Call observer_notify_solib_loaded.
Diffstat (limited to 'gdb/solib.h')
-rw-r--r-- | gdb/solib.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/solib.h b/gdb/solib.h index cb4ba2d..503e3c2 100644 --- a/gdb/solib.h +++ b/gdb/solib.h @@ -1,5 +1,6 @@ /* Shared library declarations for GDB, the GNU Debugger. - Copyright 1992, 1993, 1995, 1998, 1999, 2000, 2001, 2003 + + Copyright 1992, 1993, 1995, 1998, 1999, 2000, 2001, 2003, 2005 Free Software Foundation, Inc. This file is part of GDB. @@ -23,6 +24,7 @@ #define SOLIB_H /* Forward decl's for prototypes */ +struct so_list; struct target_ops; /* Called when we free all symtabs, to free the shared library information @@ -38,6 +40,7 @@ extern void clear_solib (void); solib_add (filename, from_tty, targ, readsyms) extern void solib_add (char *, int, struct target_ops *, int); +extern int solib_read_symbols (struct so_list *, int); /* Function to be called when the inferior starts up, to discover the names of shared libraries that are dynamically linked, the base addresses to |