]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/config/powerpc/tm-linux.h
Copyright updates for 2007.
[thirdparty/binutils-gdb.git] / gdb / config / powerpc / tm-linux.h
1 /* Definitions to target GDB to GNU/Linux on PowerPC.
2
3 Copyright 1992, 1993, 2000, 2002, 2007 Free Software Foundation, Inc.
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"
25
26 /* We've multi-arched these. */
27 #undef SKIP_TRAMPOLINE_CODE
28
29 /* Make sure nexti gets the help it needs for debugging assembly code
30 without symbols */
31
32 extern int ppc_linux_in_sigtramp (CORE_ADDR pc, char *func_name);
33 #undef DEPRECATED_IN_SIGTRAMP
34 #define DEPRECATED_IN_SIGTRAMP(pc,func_name) ppc_linux_in_sigtramp (pc,func_name)
35
36 #if 0
37 #define CANNOT_FETCH_REGISTER(regno) ((regno) >= MQ_REGNUM)
38 #define CANNOT_STORE_REGISTER(regno) ((regno) >= MQ_REGNUM)
39 #endif
40
41 /* N_FUN symbols in shared libaries have 0 for their values and need
42 to be relocated. */
43 #define SOFUN_ADDRESS_MAYBE_MISSING
44
45 #endif /* #ifndef TM_LINUX_H */