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" | |
c877c8e6 | 25 | |
982e9687 | 26 | /* We've multi-arched these. */ |
bfe51b1e JB |
27 | #undef SKIP_TRAMPOLINE_CODE |
28 | ||
c877c8e6 KB |
29 | /* Make sure nexti gets the help it needs for debugging assembly code |
30 | without symbols */ | |
31 | ||
c877c8e6 | 32 | extern int ppc_linux_in_sigtramp (CORE_ADDR pc, char *func_name); |
dbfe4626 AC |
33 | #undef DEPRECATED_IN_SIGTRAMP |
34 | #define DEPRECATED_IN_SIGTRAMP(pc,func_name) ppc_linux_in_sigtramp (pc,func_name) | |
c877c8e6 | 35 | |
9aa1e687 | 36 | #if 0 |
c877c8e6 KB |
37 | #define CANNOT_FETCH_REGISTER(regno) ((regno) >= MQ_REGNUM) |
38 | #define CANNOT_STORE_REGISTER(regno) ((regno) >= MQ_REGNUM) | |
9aa1e687 | 39 | #endif |
c877c8e6 | 40 | |
50c9bd31 KB |
41 | /* N_FUN symbols in shared libaries have 0 for their values and need |
42 | to be relocated. */ | |
43 | #define SOFUN_ADDRESS_MAYBE_MISSING | |
c877c8e6 KB |
44 | |
45 | #endif /* #ifndef TM_LINUX_H */ |