Commit | Line | Data |
---|---|---|
92362027 AC |
1 | /* Target definitions for GDB for a s390 running GNU/Linux. |
2 | ||
3 | Copyright 2001, 2002 Free Software Foundation, Inc. | |
4 | ||
5769d3cd AC |
5 | Contributed by D.J. Barrow (djbarrow@de.ibm.com,barrow_dj@yahoo.com) |
6 | for IBM Deutschland Entwicklung GmbH, IBM Corporation. | |
7 | ||
8 | This file is part of GDB. | |
9 | ||
10 | This program is free software; you can redistribute it and/or modify | |
11 | it under the terms of the GNU General Public License as published by | |
12 | the Free Software Foundation; either version 2 of the License, or | |
13 | (at your option) any later version. | |
14 | ||
15 | This program is distributed in the hope that it will be useful, | |
16 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
17 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
18 | GNU General Public License for more details. | |
19 | ||
20 | You should have received a copy of the GNU General Public License | |
21 | along with this program; if not, write to the Free Software | |
22 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | |
23 | 02111-1307, USA. */ | |
24 | ||
25 | #ifndef TM_LINUX_H | |
26 | #define TM_LINUX_H | |
27 | #ifdef GDBSERVER | |
28 | #define S390_GNULINUX_TARGET | |
29 | #endif /* GDBSERVER */ | |
30 | #undef TARGET_ELF64 | |
31 | #define TARGET_ELF64 (gdbarch_tdep (current_gdbarch)->intreg_size==8) | |
32 | ||
33 | #include "config/tm-linux.h" | |
34 | ||
35 | /* Zap several macros defined in the above header so that multi-arch | |
36 | can safely re-define them. The ``correct fix'' involves | |
37 | eliminating either the above include or even this file. */ | |
38 | #undef SKIP_TRAMPOLINE_CODE | |
39 | ||
40 | #include "s390/tm-s390.h" | |
41 | ||
42 | ||
43 | ||
44 | #endif /* TM_LINUX_H */ |