From eac9da56eb8abe2d745092351b1c4f4662e06f40 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Wed, 12 Jan 2005 20:52:18 +0000 Subject: * 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. --- gdb/solib.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gdb/solib.h') 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 -- cgit v1.2.1