1 /* HP SOM Shared library declarations for GDB, the GNU Debugger.
2 Copyright (C) 1992 Free Software Foundation, Inc.
4 This file is part of GDB.
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20 Written by the Center for Software Science at the Univerity of Utah
21 and by Cygnus Support. */
23 #ifdef __STDC__ /* Forward decl's for prototypes */
26 struct section_offsets;
29 /* Called to add symbols from a shared library to gdb's symbol table. */
31 #define SOLIB_ADD(filename, from_tty, targ) \
32 som_solib_add (filename, from_tty, targ)
35 som_solib_add PARAMS ((char *, int, struct target_ops *));
38 som_solib_get_got_by_pc PARAMS ((CORE_ADDR));
41 som_solib_section_offsets PARAMS ((struct objfile *, struct section_offsets *));
43 /* Function to be called when the inferior starts up, to discover the names
44 of shared libraries that are dynamically linked, the base addresses to
45 which they are linked, and sufficient information to read in their symbols
48 #define SOLIB_CREATE_INFERIOR_HOOK(PID) som_solib_create_inferior_hook()
51 som_solib_create_inferior_hook PARAMS((void));