Correct shell compatibility issue detected with pkgsrc.
[deliverable/binutils-gdb.git] / gdb / gdbserver / linux-ppc-tdesc.h
CommitLineData
a2174ba4
MK
1/* Low level support for ppc, shared between gdbserver and IPA.
2
61baf725 3 Copyright (C) 2016-2017 Free Software Foundation, Inc.
a2174ba4
MK
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 3 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, see <http://www.gnu.org/licenses/>. */
19
20/* Note: since IPA obviously knows what ABI it's running on (32 vs 64),
21 it's sufficient to pass only the register set here. This, together with
22 the ABI known at IPA compile time, maps to a tdesc. */
23
24enum ppc_linux_tdesc {
25 PPC_TDESC_BASE,
26 PPC_TDESC_ALTIVEC,
27 PPC_TDESC_CELL,
28 PPC_TDESC_VSX,
29 PPC_TDESC_ISA205,
30 PPC_TDESC_ISA205_ALTIVEC,
31 PPC_TDESC_ISA205_VSX,
32 PPC_TDESC_E500,
33};
34
35#if !defined __powerpc64__ || !defined IN_PROCESS_AGENT
36
37/* Defined in auto-generated file powerpc-32l.c. */
38void init_registers_powerpc_32l (void);
39extern const struct target_desc *tdesc_powerpc_32l;
40
41/* Defined in auto-generated file powerpc-altivec32l.c. */
42void init_registers_powerpc_altivec32l (void);
43extern const struct target_desc *tdesc_powerpc_altivec32l;
44
45/* Defined in auto-generated file powerpc-cell32l.c. */
46void init_registers_powerpc_cell32l (void);
47extern const struct target_desc *tdesc_powerpc_cell32l;
48
49/* Defined in auto-generated file powerpc-vsx32l.c. */
50void init_registers_powerpc_vsx32l (void);
51extern const struct target_desc *tdesc_powerpc_vsx32l;
52
53/* Defined in auto-generated file powerpc-isa205-32l.c. */
54void init_registers_powerpc_isa205_32l (void);
55extern const struct target_desc *tdesc_powerpc_isa205_32l;
56
57/* Defined in auto-generated file powerpc-isa205-altivec32l.c. */
58void init_registers_powerpc_isa205_altivec32l (void);
59extern const struct target_desc *tdesc_powerpc_isa205_altivec32l;
60
61/* Defined in auto-generated file powerpc-isa205-vsx32l.c. */
62void init_registers_powerpc_isa205_vsx32l (void);
63extern const struct target_desc *tdesc_powerpc_isa205_vsx32l;
64
65/* Defined in auto-generated file powerpc-e500l.c. */
66void init_registers_powerpc_e500l (void);
67extern const struct target_desc *tdesc_powerpc_e500l;
68
69#endif
70
71#if defined __powerpc64__
72
73/* Defined in auto-generated file powerpc-64l.c. */
74void init_registers_powerpc_64l (void);
75extern const struct target_desc *tdesc_powerpc_64l;
76
77/* Defined in auto-generated file powerpc-altivec64l.c. */
78void init_registers_powerpc_altivec64l (void);
79extern const struct target_desc *tdesc_powerpc_altivec64l;
80
81/* Defined in auto-generated file powerpc-cell64l.c. */
82void init_registers_powerpc_cell64l (void);
83extern const struct target_desc *tdesc_powerpc_cell64l;
84
85/* Defined in auto-generated file powerpc-vsx64l.c. */
86void init_registers_powerpc_vsx64l (void);
87extern const struct target_desc *tdesc_powerpc_vsx64l;
88
89/* Defined in auto-generated file powerpc-isa205-64l.c. */
90void init_registers_powerpc_isa205_64l (void);
91extern const struct target_desc *tdesc_powerpc_isa205_64l;
92
93/* Defined in auto-generated file powerpc-isa205-altivec64l.c. */
94void init_registers_powerpc_isa205_altivec64l (void);
95extern const struct target_desc *tdesc_powerpc_isa205_altivec64l;
96
97/* Defined in auto-generated file powerpc-isa205-vsx64l.c. */
98void init_registers_powerpc_isa205_vsx64l (void);
99extern const struct target_desc *tdesc_powerpc_isa205_vsx64l;
100
101#endif
This page took 0.125355 seconds and 4 git commands to generate.