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