OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-7.1/] [gdb/] [gdbserver/] [configure.srv] - Blame information for rev 231

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 227 jeremybenn
# Mappings from configuration triplets to gdbserver build options.
2
# This is invoked from the autoconf-generated configure script, to
3
# produce the appropriate Makefile substitutions.
4
 
5
# This file sets the following shell variables:
6
#   srv_regobj          The register protocol appropriate for this target.
7
#   srv_tgtobj          Any other target-specific modules appropriate
8
#                       for this target.
9
#   srv_hostio_err      The object implementing the hostio_last_error
10
#                       target method.
11
#   srv_xmlfiles        All XML files which should be available for
12
#                       gdbserver in this configuration.
13
#
14
# In addition, on GNU/Linux the following shell variables will be set:
15
#   srv_linux_regsets   Set to "yes" if ptrace(PTRACE_GETREGS) and friends
16
#                       may be available on this platform;  unset otherwise.
17
#                       They will only be used if  defines
18
#                       PTRACE_GETREGS.
19
#   srv_linux_usrregs   Set to "yes" if we can get at registers via
20
#                       PTRACE_PEEKUSR / PTRACE_POKEUSR.
21
 
22
# Default hostio_last_error implementation
23
srv_hostio_err_objs="hostio-errno.o"
24
 
25
# Input is taken from the "${target}" variable.
26
 
27
case "${target}" in
28
  arm*-*-linux*)        srv_regobj="reg-arm.o arm-with-iwmmxt.o"
29
                        srv_regobj="${srv_regobj} arm-with-vfpv2.o"
30
                        srv_regobj="${srv_regobj} arm-with-vfpv3.o"
31
                        srv_regobj="${srv_regobj} arm-with-neon.o"
32
                        srv_tgtobj="linux-low.o linux-arm-low.o"
33
                        srv_xmlfiles="arm-with-iwmmxt.xml"
34
                        srv_xmlfiles="${srv_xmlfiles} arm-with-vfpv2.xml"
35
                        srv_xmlfiles="${srv_xmlfiles} arm-with-vfpv3.xml"
36
                        srv_xmlfiles="${srv_xmlfiles} arm-with-neon.xml"
37
                        srv_xmlfiles="${srv_xmlfiles} arm-core.xml"
38
                        srv_xmlfiles="${srv_xmlfiles} xscale-iwmmxt.xml"
39
                        srv_xmlfiles="${srv_xmlfiles} arm-vfpv2.xml"
40
                        srv_xmlfiles="${srv_xmlfiles} arm-vfpv3.xml"
41
                        srv_linux_usrregs=yes
42
                        srv_linux_regsets=yes
43
                        srv_linux_thread_db=yes
44
                        ;;
45
  arm*-*-mingw32ce*)    srv_regobj=reg-arm.o
46
                        srv_tgtobj="win32-low.o win32-arm-low.o"
47
                        srv_tgtobj="${srv_tgtobj} wincecompat.o"
48
                        # hostio_last_error implementation is in win32-low.c
49
                        srv_hostio_err_objs=""
50
                        srv_mingw=yes
51
                        srv_mingwce=yes
52
                        ;;
53
  crisv32-*-linux*)     srv_regobj=reg-crisv32.o
54
                        srv_tgtobj="linux-low.o linux-crisv32-low.o"
55
                        srv_linux_regsets=yes
56
                        srv_linux_thread_db=yes
57
                        ;;
58
  cris-*-linux*)        srv_regobj=reg-cris.o
59
                        srv_tgtobj="linux-low.o linux-cris-low.o"
60
                        srv_linux_usrregs=yes
61
                        srv_linux_thread_db=yes
62
                        ;;
63
  i[34567]86-*-cygwin*) srv_regobj=reg-i386.o
64
                        srv_tgtobj="i386-low.o win32-low.o win32-i386-low.o"
65
                        ;;
66
  i[34567]86-*-linux*)  srv_regobj=reg-i386-linux.o
67
                        if test "$gdb_cv_i386_is_x86_64" = yes ; then
68
                            srv_regobj="reg-x86-64-linux.o $srv_regobj"
69
                        fi
70
                        srv_tgtobj="linux-low.o linux-x86-low.o i386-low.o i387-fp.o"
71
                        srv_linux_usrregs=yes
72
                        srv_linux_regsets=yes
73
                        srv_linux_thread_db=yes
74
                        ;;
75
  i[34567]86-*-mingw32ce*)
76
                        srv_regobj=reg-i386.o
77
                        srv_tgtobj="i386-low.o win32-low.o win32-i386-low.o"
78
                        srv_tgtobj="${srv_tgtobj} wincecompat.o"
79
                        # hostio_last_error implementation is in win32-low.c
80
                        srv_hostio_err_objs=""
81
                        srv_mingw=yes
82
                        srv_mingwce=yes
83
                        ;;
84
  i[34567]86-*-mingw*)  srv_regobj=reg-i386.o
85
                        srv_tgtobj="i386-low.o win32-low.o win32-i386-low.o"
86
                        srv_mingw=yes
87
                        ;;
88
  i[34567]86-*-nto*)    srv_regobj=reg-i386.o
89
                        srv_tgtobj="nto-low.o nto-x86-low.o"
90
                        srv_qnx="yes"
91
                        ;;
92
  ia64-*-linux*)        srv_regobj=reg-ia64.o
93
                        srv_tgtobj="linux-low.o linux-ia64-low.o"
94
                        srv_linux_usrregs=yes
95
                        ;;
96
  m32r*-*-linux*)       srv_regobj=reg-m32r.o
97
                        srv_tgtobj="linux-low.o linux-m32r-low.o"
98
                        srv_linux_usrregs=yes
99
                        srv_linux_thread_db=yes
100
                        ;;
101
  m68*-*-linux*)        if test "$gdb_cv_m68k_is_coldfire" = yes; then
102
                          srv_regobj=reg-cf.o
103
                        else
104
                          src_regobj=reg-m68k.o
105
                        fi
106
                        srv_tgtobj="linux-low.o linux-m68k-low.o"
107
                        srv_linux_usrregs=yes
108
                        srv_linux_regsets=yes
109
                        srv_linux_thread_db=yes
110
                        ;;
111
  m68*-*-uclinux*)      if test "$gdb_cv_m68k_is_coldfire" = yes; then
112
                          srv_regobj=reg-cf.o
113
                        else
114
                          src_regobj=reg-m68k.o
115
                        fi
116
                        srv_tgtobj="linux-low.o linux-m68k-low.o"
117
                        srv_linux_usrregs=yes
118
                        srv_linux_regsets=yes
119
                        srv_linux_thread_db=yes
120
                        ;;
121
  mips*-*-linux*)       srv_regobj="mips-linux.o mips64-linux.o"
122
                        srv_tgtobj="linux-low.o linux-mips-low.o"
123
                        srv_xmlfiles="mips-linux.xml"
124
                        srv_xmlfiles="${srv_xmlfiles} mips-cpu.xml"
125
                        srv_xmlfiles="${srv_xmlfiles} mips-cp0.xml"
126
                        srv_xmlfiles="${srv_xmlfiles} mips-fpu.xml"
127
                        srv_xmlfiles="${srv_xmlfiles} mips64-linux.xml"
128
                        srv_xmlfiles="${srv_xmlfiles} mips64-cpu.xml"
129
                        srv_xmlfiles="${srv_xmlfiles} mips64-cp0.xml"
130
                        srv_xmlfiles="${srv_xmlfiles} mips64-fpu.xml"
131
                        srv_linux_regsets=yes
132
                        srv_linux_usrregs=yes
133
                        srv_linux_thread_db=yes
134
                        ;;
135
  powerpc*-*-linux*)    srv_regobj="powerpc-32l.o"
136
                        srv_regobj="${srv_regobj} powerpc-altivec32l.o"
137
                        srv_regobj="${srv_regobj} powerpc-cell32l.o"
138
                        srv_regobj="${srv_regobj} powerpc-vsx32l.o"
139
                        srv_regobj="${srv_regobj} powerpc-isa205-32l.o"
140
                        srv_regobj="${srv_regobj} powerpc-isa205-altivec32l.o"
141
                        srv_regobj="${srv_regobj} powerpc-isa205-vsx32l.o"
142
                        srv_regobj="${srv_regobj} powerpc-e500l.o"
143
                        srv_regobj="${srv_regobj} powerpc-64l.o"
144
                        srv_regobj="${srv_regobj} powerpc-altivec64l.o"
145
                        srv_regobj="${srv_regobj} powerpc-cell64l.o"
146
                        srv_regobj="${srv_regobj} powerpc-vsx64l.o"
147
                        srv_regobj="${srv_regobj} powerpc-isa205-64l.o"
148
                        srv_regobj="${srv_regobj} powerpc-isa205-altivec64l.o"
149
                        srv_regobj="${srv_regobj} powerpc-isa205-vsx64l.o"
150
                        srv_tgtobj="linux-low.o linux-ppc-low.o"
151
                        srv_xmlfiles="rs6000/powerpc-32l.xml"
152
                        srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-altivec32l.xml"
153
                        srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-cell32l.xml"
154
                        srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-vsx32l.xml"
155
                        srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-isa205-32l.xml"
156
                        srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-isa205-altivec32l.xml"
157
                        srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-isa205-vsx32l.xml"
158
                        srv_xmlfiles="${srv_xmlfiles} rs6000/power-altivec.xml"
159
                        srv_xmlfiles="${srv_xmlfiles} rs6000/power-vsx.xml"
160
                        srv_xmlfiles="${srv_xmlfiles} rs6000/power-core.xml"
161
                        srv_xmlfiles="${srv_xmlfiles} rs6000/power-linux.xml"
162
                        srv_xmlfiles="${srv_xmlfiles} rs6000/power-fpu.xml"
163
                        srv_xmlfiles="${srv_xmlfiles} rs6000/power-fpu-isa205.xml"
164
                        srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-e500l.xml"
165
                        srv_xmlfiles="${srv_xmlfiles} rs6000/power-spe.xml"
166
                        srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-64l.xml"
167
                        srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-altivec64l.xml"
168
                        srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-cell64l.xml"
169
                        srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-vsx64l.xml"
170
                        srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-isa205-64l.xml"
171
                        srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-isa205-altivec64l.xml"
172
                        srv_xmlfiles="${srv_xmlfiles} rs6000/powerpc-isa205-vsx64l.xml"
173
                        srv_xmlfiles="${srv_xmlfiles} rs6000/power64-core.xml"
174
                        srv_xmlfiles="${srv_xmlfiles} rs6000/power64-linux.xml"
175
                        srv_linux_usrregs=yes
176
                        srv_linux_regsets=yes
177
                        srv_linux_thread_db=yes
178
                        ;;
179
  s390*-*-linux*)       srv_regobj="s390-linux32.o"
180
                        srv_regobj="${srv_regobj} s390-linux64.o"
181
                        srv_regobj="${srv_regobj} s390x-linux64.o"
182
                        srv_tgtobj="linux-low.o linux-s390-low.o"
183
                        srv_xmlfiles="s390-linux32.xml"
184
                        srv_xmlfiles="${srv_xmlfiles} s390-linux64.xml"
185
                        srv_xmlfiles="${srv_xmlfiles} s390x-linux64.xml"
186
                        srv_xmlfiles="${srv_xmlfiles} s390-core32.xml"
187
                        srv_xmlfiles="${srv_xmlfiles} s390-core64.xml"
188
                        srv_xmlfiles="${srv_xmlfiles} s390x-core64.xml"
189
                        srv_xmlfiles="${srv_xmlfiles} s390-acr.xml"
190
                        srv_xmlfiles="${srv_xmlfiles} s390-fpr.xml"
191
                        srv_linux_usrregs=yes
192
                        srv_linux_regsets=yes
193
                        srv_linux_thread_db=yes
194
                        ;;
195
  sh*-*-linux*)         srv_regobj=reg-sh.o
196
                        srv_tgtobj="linux-low.o linux-sh-low.o"
197
                        srv_linux_usrregs=yes
198
                        srv_linux_regsets=yes
199
                        srv_linux_thread_db=yes
200
                        ;;
201
  sparc*-*-linux*)      srv_regobj=reg-sparc64.o
202
                        srv_tgtobj="linux-low.o linux-sparc-low.o"
203
                        srv_linux_regsets=yes
204
                        srv_linux_thread_db=yes
205
                        ;;
206
  spu*-*-*)             srv_regobj=reg-spu.o
207
                        srv_tgtobj="spu-low.o"
208
                        ;;
209
  x86_64-*-linux*)      srv_regobj="reg-x86-64-linux.o reg-i386-linux.o"
210
                        srv_tgtobj="linux-low.o linux-x86-low.o i386-low.o i387-fp.o"
211
                        srv_linux_usrregs=yes # This is for i386 progs.
212
                        srv_linux_regsets=yes
213
                        srv_linux_thread_db=yes
214
                        ;;
215
  xscale*-*-linux*)     srv_regobj=reg-arm.o
216
                        srv_tgtobj="linux-low.o linux-arm-low.o"
217
                        srv_linux_usrregs=yes
218
                        srv_linux_thread_db=yes
219
                        ;;
220
  xtensa*-*-linux*)     srv_regobj=reg-xtensa.o
221
                        srv_tgtobj="linux-low.o linux-xtensa-low.o"
222
                        srv_linux_regsets=yes
223
                        ;;
224
  *)                    echo "Error: target not supported by gdbserver."
225
                        exit 1
226
                        ;;
227
esac

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.