]>
Commit | Line | Data |
---|---|---|
35f5886e FF |
1 | /* Macro definitions for GDB on all SVR4 target systems. |
2 | Copyright (C) 1991, Free Software Foundation, Inc. | |
3 | Written by Fred Fish at Cygnus Support (fnf@cygint) | |
4 | ||
5 | This file is part of GDB. | |
6 | ||
7 | This program is free software; you can redistribute it and/or modify | |
8 | it under the terms of the GNU General Public License as published by | |
9 | the Free Software Foundation; either version 2 of the License, or | |
10 | (at your option) any later version. | |
11 | ||
12 | This program is distributed in the hope that it will be useful, | |
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | GNU General Public License for more details. | |
16 | ||
17 | You should have received a copy of the GNU General Public License | |
18 | along with this program; if not, write to the Free Software | |
19 | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ | |
20 | ||
f8b76e70 FF |
21 | /* Support for SVR4 shared libraries. */ |
22 | ||
23 | #define CLEAR_SOLIB clear_solib | |
24 | extern void clear_solib (); /* solib.c */ | |
25 | ||
26 | #define SOLIB_ADD(filename, from_tty, targ) solib_add (filename, from_tty, targ) | |
27 | extern void solib_add (); /* solib.c */ | |
28 | ||
29 | #define SOLIB_CREATE_INFERIOR_HOOK solib_create_inferior_hook | |
30 | extern void solib_create_inferior_hook(); /* solib.c */ | |
31 | ||
32 | /* If we can't set a breakpoint, and it's in a shared library, just | |
33 | disable it. */ | |
34 | ||
35 | #define DISABLE_UNSETTABLE_BREAK(addr) solib_address(addr) | |
36 | extern int solib_address (); /* solib.c */ | |
37 |