gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git] / gdbserver / linux-s390-tdesc.h
CommitLineData
abd9baf9
MK
1/* Low level support for s390, shared between gdbserver and IPA.
2
b811d2c2 3 Copyright (C) 2016-2020 Free Software Foundation, Inc.
abd9baf9
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
1a5c2598
TT
20#ifndef GDBSERVER_LINUX_S390_TDESC_H
21#define GDBSERVER_LINUX_S390_TDESC_H
22
abd9baf9
MK
23/* Note: since IPA obviously knows what ABI it's running on (s390 vs s390x),
24 it's sufficient to pass only the register set here. This, together with
25 the ABI known at IPA compile time, maps to a tdesc. */
26
27enum s390_linux_tdesc {
28 S390_TDESC_32,
29 S390_TDESC_32V1,
30 S390_TDESC_32V2,
31 S390_TDESC_64,
32 S390_TDESC_64V1,
33 S390_TDESC_64V2,
34 S390_TDESC_TE,
35 S390_TDESC_VX,
36 S390_TDESC_TEVX,
ad339634 37 S390_TDESC_GS,
abd9baf9
MK
38};
39
40#ifdef __s390x__
41
42/* Defined in auto-generated file s390x-linux64.c. */
43void init_registers_s390x_linux64 (void);
44extern const struct target_desc *tdesc_s390x_linux64;
45
46/* Defined in auto-generated file s390x-linux64v1.c. */
47void init_registers_s390x_linux64v1 (void);
48extern const struct target_desc *tdesc_s390x_linux64v1;
49
50/* Defined in auto-generated file s390x-linux64v2.c. */
51void init_registers_s390x_linux64v2 (void);
52extern const struct target_desc *tdesc_s390x_linux64v2;
53
54/* Defined in auto-generated file s390x-te-linux64.c. */
55void init_registers_s390x_te_linux64 (void);
56extern const struct target_desc *tdesc_s390x_te_linux64;
57
58/* Defined in auto-generated file s390x-vx-linux64.c. */
59void init_registers_s390x_vx_linux64 (void);
60extern const struct target_desc *tdesc_s390x_vx_linux64;
61
62/* Defined in auto-generated file s390x-tevx-linux64.c. */
63void init_registers_s390x_tevx_linux64 (void);
64extern const struct target_desc *tdesc_s390x_tevx_linux64;
65
ad339634
AA
66/* Defined in auto-generated file s390x-gs-linux64.c. */
67void init_registers_s390x_gs_linux64 (void);
68extern const struct target_desc *tdesc_s390x_gs_linux64;
69
abd9baf9
MK
70#endif
71
72#if !defined __s390x__ || !defined IN_PROCESS_AGENT
73
74/* Defined in auto-generated file s390-linux32.c. */
75void init_registers_s390_linux32 (void);
76extern const struct target_desc *tdesc_s390_linux32;
77
78/* Defined in auto-generated file s390-linux32v1.c. */
79void init_registers_s390_linux32v1 (void);
80extern const struct target_desc *tdesc_s390_linux32v1;
81
82/* Defined in auto-generated file s390-linux32v2.c. */
83void init_registers_s390_linux32v2 (void);
84extern const struct target_desc *tdesc_s390_linux32v2;
85
86/* Defined in auto-generated file s390-linux64.c. */
87void init_registers_s390_linux64 (void);
88extern const struct target_desc *tdesc_s390_linux64;
89
90/* Defined in auto-generated file s390-linux64v1.c. */
91void init_registers_s390_linux64v1 (void);
92extern const struct target_desc *tdesc_s390_linux64v1;
93
94/* Defined in auto-generated file s390-linux64v2.c. */
95void init_registers_s390_linux64v2 (void);
96extern const struct target_desc *tdesc_s390_linux64v2;
97
98/* Defined in auto-generated file s390-te-linux64.c. */
99void init_registers_s390_te_linux64 (void);
100extern const struct target_desc *tdesc_s390_te_linux64;
101
102/* Defined in auto-generated file s390-vx-linux64.c. */
103void init_registers_s390_vx_linux64 (void);
104extern const struct target_desc *tdesc_s390_vx_linux64;
105
106/* Defined in auto-generated file s390-tevx-linux64.c. */
107void init_registers_s390_tevx_linux64 (void);
108extern const struct target_desc *tdesc_s390_tevx_linux64;
109
ad339634
AA
110/* Defined in auto-generated file s390-gs-linux64.c. */
111void init_registers_s390_gs_linux64 (void);
112extern const struct target_desc *tdesc_s390_gs_linux64;
113
abd9baf9 114#endif
1a5c2598
TT
115
116#endif /* GDBSERVER_LINUX_S390_TDESC_H */
This page took 0.346396 seconds and 4 git commands to generate.