]>
Commit | Line | Data |
---|---|---|
c906108c | 1 | /* Native definitions for GDB on DECstations, Sony News. and MIPS Riscos systems |
b6ba6518 KB |
2 | Copyright 1986, 1987, 1989, 1992, 1995, 1996, 2000 |
3 | Free Software Foundation, Inc. | |
c906108c SS |
4 | Contributed by Per Bothner([email protected]) at U.Wisconsin |
5 | and by Alessandro Forin([email protected]) at CMU | |
6 | ||
c5aa993b | 7 | This file is part of GDB. |
c906108c | 8 | |
c5aa993b JM |
9 | This program is free software; you can redistribute it and/or modify |
10 | it under the terms of the GNU General Public License as published by | |
11 | the Free Software Foundation; either version 2 of the License, or | |
12 | (at your option) any later version. | |
c906108c | 13 | |
c5aa993b JM |
14 | This program is distributed in the hope that it will be useful, |
15 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
17 | GNU General Public License for more details. | |
c906108c | 18 | |
c5aa993b JM |
19 | You should have received a copy of the GNU General Public License |
20 | along with this program; if not, write to the Free Software | |
21 | Foundation, Inc., 59 Temple Place - Suite 330, | |
22 | Boston, MA 02111-1307, USA. */ | |
c906108c SS |
23 | |
24 | /* Override copies of {fetch,store}_inferior_registers in infptrace.c. */ | |
25 | #define FETCH_INFERIOR_REGISTERS | |
26 | ||
27 | /* Figure out where the longjmp will land. We expect that we have just entered | |
28 | longjmp and haven't yet setup the stack frame, so the args are still in the | |
29 | argument regs. a0 (CALL_ARG0) points at the jmp_buf structure from which we | |
30 | extract the pc (JB_PC) that we will land at. The pc is copied into ADDR. | |
31 | This routine returns true on success */ | |
32 | ||
33 | #define GET_LONGJMP_TARGET(ADDR) get_longjmp_target(ADDR) | |
a14ed312 | 34 | extern int get_longjmp_target (CORE_ADDR *); |