Tue Nov 5 10:21:02 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
[deliverable/binutils-gdb.git] / gdb / somsolib.h
CommitLineData
bb140953
JL
1/* HP SOM Shared library declarations for GDB, the GNU Debugger.
2 Copyright (C) 1992 Free Software Foundation, Inc.
3
4This file is part of GDB.
5
6This program is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 2 of the License, or
9(at your option) any later version.
10
11This program is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with this program; if not, write to the Free Software
6c9638b4 18Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
bb140953
JL
19
20Written by the Center for Software Science at the Univerity of Utah
21and by Cygnus Support. */
22
23#ifdef __STDC__ /* Forward decl's for prototypes */
24struct target_ops;
506af7a7
JL
25struct objfile;
26struct section_offsets;
bb140953
JL
27#endif
28
29/* Called to add symbols from a shared library to gdb's symbol table. */
30
31#define SOLIB_ADD(filename, from_tty, targ) \
32 som_solib_add (filename, from_tty, targ)
33
34extern void
35som_solib_add PARAMS ((char *, int, struct target_ops *));
36
b1bbe38b
JL
37extern CORE_ADDR
38som_solib_get_got_by_pc PARAMS ((CORE_ADDR));
39
506af7a7
JL
40extern int
41som_solib_section_offsets PARAMS ((struct objfile *, struct section_offsets *));
42
bb140953
JL
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
46 at a later time. */
47
48#define SOLIB_CREATE_INFERIOR_HOOK(PID) som_solib_create_inferior_hook()
49
50extern void
51som_solib_create_inferior_hook PARAMS((void));
This page took 0.126939 seconds and 4 git commands to generate.