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 | eac9da56eb8abe2d745092351b1c4f4662e06f40 (patch) | |
tree | 1a77e0c30bf5446f528827c14c429d67f008138f /gdb/solib.h | |
parent | d78a9d695532527be8a7067df9fe0d48df53483a (diff) | |
download | gdb-eac9da56eb8abe2d745092351b1c4f4662e06f40.tar.gz |
* 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 cb4ba2d382a..503e3c2f3a5 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 |