Commit | Line | Data |
---|---|---|
dd3b648e RP |
1 | /* Copyright (C) 1990 Free Software Foundation, Inc. |
2 | ||
3 | This file is part of GDB. | |
4 | ||
5 | GDB is free software; you can redistribute it and/or modify | |
6 | it under the terms of the GNU General Public License as published by | |
7 | the Free Software Foundation; either version 1, or (at your option) | |
8 | any later version. | |
9 | ||
10 | GDB is distributed in the hope that it will be useful, | |
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 | |
16 | along with GDB; see the file COPYING. If not, write to | |
17 | the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |
18 | ||
19 | /* This is for SunOS version 4, not for earlier versions. */ | |
20 | ||
21 | #define CLEAR_SOLIB clear_solib | |
d0237a54 JK |
22 | #define SOLIB_ADD(filename, from_tty) solib_add (filename, from_tty) |
23 | #define SOLIB_XFER_MEMORY(memaddr, myaddr, len, write) solib_xfer_memory (memaddr, myaddr, len, write) | |
dd3b648e RP |
24 | |
25 | /* If we can't set a breakpoint, and it's in a shared library, just | |
26 | disable it. */ | |
27 | #define DISABLE_UNSETTABLE_BREAK(addr) solib_address(addr) | |
28 | extern int solib_address (); /* solib.c */ | |
d0237a54 JK |
29 | extern int solib_xfer_memory (); |
30 | extern void solib_add (); | |
31 | extern void clear_solib (); |