]>
Commit | Line | Data |
---|---|---|
bb140953 JL |
1 | /* HP SOM Shared library declarations for GDB, the GNU Debugger. |
2 | Copyright (C) 1992 Free Software Foundation, Inc. | |
3 | ||
4 | This file is part of GDB. | |
5 | ||
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. | |
10 | ||
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. | |
15 | ||
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., 675 Mass Ave, Cambridge, MA 02139, USA. | |
19 | ||
20 | Written by the Center for Software Science at the Univerity of Utah | |
21 | and by Cygnus Support. */ | |
22 | ||
23 | #ifdef __STDC__ /* Forward decl's for prototypes */ | |
24 | struct target_ops; | |
25 | #endif | |
26 | ||
27 | /* Called to add symbols from a shared library to gdb's symbol table. */ | |
28 | ||
29 | #define SOLIB_ADD(filename, from_tty, targ) \ | |
30 | som_solib_add (filename, from_tty, targ) | |
31 | ||
32 | extern void | |
33 | som_solib_add PARAMS ((char *, int, struct target_ops *)); | |
34 | ||
b1bbe38b JL |
35 | extern CORE_ADDR |
36 | som_solib_get_got_by_pc PARAMS ((CORE_ADDR)); | |
37 | ||
bb140953 JL |
38 | /* Function to be called when the inferior starts up, to discover the names |
39 | of shared libraries that are dynamically linked, the base addresses to | |
40 | which they are linked, and sufficient information to read in their symbols | |
41 | at a later time. */ | |
42 | ||
43 | #define SOLIB_CREATE_INFERIOR_HOOK(PID) som_solib_create_inferior_hook() | |
44 | ||
45 | extern void | |
46 | som_solib_create_inferior_hook PARAMS((void)); |