]>
Commit | Line | Data |
---|---|---|
92362027 AC |
1 | /* Definitions to target GDB to GNU/Linux on PowerPC. |
2 | ||
3 | Copyright 1992, 1993, 2000, 2002 Free Software Foundation, Inc. | |
c877c8e6 KB |
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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ | |
20 | ||
21 | #ifndef TM_LINUX_H | |
22 | #define TM_LINUX_H | |
23 | ||
24 | #include "powerpc/tm-ppc-eabi.h" | |
50c9bd31 KB |
25 | /* Avoid warning from redefinition in tm-sysv4.h (included from tm-linux.h) */ |
26 | #undef SKIP_TRAMPOLINE_CODE | |
4f2e4a4f | 27 | #include "config/tm-linux.h" |
c877c8e6 | 28 | |
bfe51b1e JB |
29 | /* We've multi-arched these. (Note that this completely undoes the |
30 | effect of config/tm-linux.h #including config/tm-sysv4.h.) */ | |
bfe51b1e JB |
31 | #undef SKIP_TRAMPOLINE_CODE |
32 | ||
c877c8e6 KB |
33 | /* Make sure nexti gets the help it needs for debugging assembly code |
34 | without symbols */ | |
35 | ||
c877c8e6 | 36 | extern int ppc_linux_in_sigtramp (CORE_ADDR pc, char *func_name); |
dbfe4626 AC |
37 | #undef DEPRECATED_IN_SIGTRAMP |
38 | #define DEPRECATED_IN_SIGTRAMP(pc,func_name) ppc_linux_in_sigtramp (pc,func_name) | |
c877c8e6 | 39 | |
9aa1e687 | 40 | #if 0 |
c877c8e6 KB |
41 | #define CANNOT_FETCH_REGISTER(regno) ((regno) >= MQ_REGNUM) |
42 | #define CANNOT_STORE_REGISTER(regno) ((regno) >= MQ_REGNUM) | |
9aa1e687 | 43 | #endif |
c877c8e6 | 44 | |
50c9bd31 KB |
45 | /* N_FUN symbols in shared libaries have 0 for their values and need |
46 | to be relocated. */ | |
47 | #define SOFUN_ADDRESS_MAYBE_MISSING | |
c877c8e6 KB |
48 | |
49 | #endif /* #ifndef TM_LINUX_H */ |