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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.3/] [gdb/] [configure.tgt] - Blame information for rev 1774

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

Line No. Rev Author Line
1 1181 sfurman
# Mappings from configurations to GDB target definitions.  This is
2
# invoked from the autoconf generated configure script.
3
 
4
# This file sets the following shell variables:
5
#  gdb_target_cpu       generic name of CPU
6
#  gdb_target           name of GDB target definition to use
7
 
8
# This file may also modify configdirs.
9
 
10
# Map target cpu into the config cpu subdirectory name.
11
# The default is $target_cpu.
12
 
13
case "${target_cpu}" in
14
 
15
alpha*)                 gdb_target_cpu=alpha ;;
16
arm*)                   gdb_target_cpu=arm ;;
17
avr*)                   gdb_target_cpu=avr ;;
18
hppa*)                  gdb_target_cpu=pa ;;
19
i[3456]86*)             gdb_target_cpu=i386 ;;
20
m68hc11*|m6811*)        gdb_target_cpu=m68hc11 ;;
21
m68*)                   gdb_target_cpu=m68k ;;
22
# OBSOLETE m88*)                        gdb_target_cpu=m88k ;;
23
mips*)                  gdb_target_cpu=mips ;;
24 1183 sfurman
or32*)                  gdb_target_cpu=or1k ;;
25 1181 sfurman
powerpc*)               gdb_target_cpu=powerpc ;;
26
sparc*)                 gdb_target_cpu=sparc ;;
27
thumb*)                 gdb_target_cpu=arm ;;
28
s390*)                  gdb_target_cpu=s390 ;;
29
sh*)                    gdb_target_cpu=sh ;;
30
strongarm*)             gdb_target_cpu=arm ;;
31
xscale*)                gdb_target_cpu=arm ;;
32
v850*)                  gdb_target_cpu=v850 ;;
33
x86_64*)                gdb_target_cpu=i386 ;;
34
*)                      gdb_target_cpu=$target_cpu ;;
35
 
36
esac
37
 
38
# map target info into gdb names.
39
 
40
case "${target}" in
41
 
42
alpha*-*-osf*)          gdb_target=alpha-osf1 ;;
43
alpha*-*-linux*)        gdb_target=alpha-linux ;;
44
alpha*-*-freebsd*)      gdb_target=fbsd ;;
45
alpha*-*-netbsd*)       gdb_target=nbsd ;;
46
alpha*-*-*)             gdb_target=alpha ;;
47
 
48
# OBSOLETE arc-*-*)             gdb_target=arc ;;
49
 
50
arm*-wince-pe)          gdb_target=wince ;;
51
arm*-*-linux*)          gdb_target=linux
52
                        build_gdbserver=yes
53
                        ;;
54
arm*-*-netbsd*)         gdb_target=nbsd
55
                        gdb_multi_arch=yes ;;
56
arm*-*-* | thumb*-*-* | strongarm*-*-*)
57
                        gdb_target=embed
58
                        configdirs="$configdirs rdi-share"
59
                        ;;
60
xscale-*-*)             gdb_target=embed
61
                        configdirs="$configdirs rdi-share"
62
                        ;;
63
 
64
avr-*-*)                gdb_target=avr
65
                        gdb_multi_arch=yes
66
                        ;;
67
 
68
cris*)                  gdb_target=cris ;;
69
 
70
d10v-*-*)               gdb_target=d10v ;;
71
# OBSOLETE d30v-*-*)            gdb_target=d30v ;;
72
 
73
h8300-*-*)              gdb_target=h8300 ;;
74
h8500-*-*)              gdb_target=h8500 ;;
75
 
76
 
77
# OBSOLETE fr30-*-elf*)         gdb_target=fr30 ;;
78
 
79
frv-*-*)                gdb_target=frv ;;
80
 
81
hppa*-*-bsd*)           gdb_target=hppabsd ;;
82
hppa*-*-pro*)           gdb_target=hppapro ;;
83
hppa*64*-*-hpux11*)     gdb_target=hppa64 ;;
84
hppa*-*-hpux*)          gdb_target=hppahpux ;;
85
hppa*-*-hiux*)          gdb_target=hppahpux ;;
86
hppa*-*-osf*)           gdb_target=hppaosf ;;
87
hppa*-*-*)              gdb_target=hppa ;;
88
 
89
i[3456]86-sequent-bsd*) gdb_target=symmetry ;;
90
i[3456]86-sequent-sysv4*) gdb_target=ptx4 ;;
91
i[3456]86-sequent-sysv*) gdb_target=ptx ;;
92
i[3456]86-ncr-*)        gdb_target=ncr3000 ;;
93
# OBSOLETE i[3456]86-*-aix*)    gdb_target=i386aix ;;
94
i[3456]86-*-bsd*)       gdb_target=i386bsd ;;
95
i[3456]86-*-freebsd*)   gdb_target=fbsd ;;
96
i[3456]86-*-netbsd*)    gdb_target=nbsd ;;
97
i[3456]86-*-openbsd*)   gdb_target=obsd ;;
98
# OBSOLETE i[3456]86-*-os9k)    gdb_target=i386os9k ;;
99
i[3456]86-*-go32*)      gdb_target=i386aout ;;
100
i[3456]86-*-msdosdjgpp*) gdb_target=go32 ;;
101
i[3456]86-*-lynxos*)    gdb_target=i386lynx ;;
102
i[3456]86-*-solaris*)   gdb_target=i386sol2 ;;
103
i[3456]86-*-sysv4.2*)   gdb_target=i386v42mp ;;
104
i[3456]86-*-sysv4*)     gdb_target=i386v4 ;;
105
i[3456]86-*-sysv5*)     gdb_target=i386v42mp ;;
106
i[3456]86-*-sco3.2v4*)  gdb_target=i386sco4 ;;
107
i[3456]86-*-sco3.2v5*)  gdb_target=i386sco5 ;;
108
i[3456]86-*-sco*)       gdb_target=i386v ;;
109
i[3456]86-*-sysv*)      gdb_target=i386v ;;
110
i[3456]86-*-linux*)     gdb_target=linux
111
                        build_gdbserver=yes
112
                        ;;
113
i[3456]86-*-isc*)       gdb_target=i386v ;;
114
# OBSOLETE i[3456]86-*-mach3*)  gdb_target=i386m3 ;;
115
i[3456]86-*-gnu*)       gdb_target=i386gnu ;;
116
i[3456]86-*-netware*)   gdb_target=i386nw
117
                configdirs="${configdirs} nlm" ;;
118
# OBSOLETE i[3456]86-*-osf1mk*) gdb_target=i386mk ;;
119
i[3456]86-*-cygwin*)    gdb_target=cygwin  ;;
120
i[3456]86-*-vxworks*)   gdb_target=vxworks ;;
121
i[3456]86-*-*)          gdb_target=embed ;;
122
 
123
# OBSOLETE i960-*-bout*)                gdb_target=vxworks960 ;;
124
# OBSOLETE i960-nindy-coff*)    gdb_target=nindy960 ;;
125
# OBSOLETE i960-*-coff*)                gdb_target=mon960 ;;
126
# OBSOLETE i960-nindy-elf*)     gdb_target=nindy960 ;;
127
# OBSOLETE i960-*-elf*)         gdb_target=mon960 ;;
128
# OBSOLETE i960-*-nindy*)               gdb_target=nindy960 ;;
129
# OBSOLETE i960-*-vxworks*)     gdb_target=vxworks960 ;;
130
 
131
ia64-*-aix*)            gdb_target=aix ;;
132
ia64-*-linux*)          gdb_target=linux
133
                        build_gdbserver=yes
134
                        ;;
135
ia64*-*-*)              gdb_target=ia64 ;;
136
 
137
m32r-*-elf*)            gdb_target=m32r ;;
138
 
139
m68hc11*-*-*|m6811*-*-*)        gdb_target=m68hc11 ;;
140
 
141
m68000-*-sunos3*)       gdb_target=sun2os3 ;;
142
m68000-*-sunos4*)       gdb_target=sun2os4 ;;
143
 
144
# OBSOLETE m68*-apollo*-bsd*)   gdb_target=apollo68b ;;
145
m68*-bull-sysv*)        gdb_target=dpx2 ;;
146
# OBSOLETE m68*-hp-bsd*)                gdb_target=hp300bsd ;;
147
# OBSOLETE m68*-hp-hpux*)               gdb_target=hp300hpux ;;
148
m68*-att-*)             gdb_target=3b1 ;;
149
m68*-cisco*-*)          gdb_target=cisco ;;
150
m68*-ericsson-*)        gdb_target=es1800 ;;
151
m68*-motorola-*)        gdb_target=delta68 ;;
152
m68*-netx-*)            gdb_target=vxworks68 ;;
153
m68*-tandem-*)          gdb_target=st2000 ;;
154
m68*-*-aout*)           gdb_target=monitor ;;
155
m68*-*-coff*)           gdb_target=monitor ;;
156
m68*-*-elf*)            gdb_target=monitor ;;
157
m68*-*-linux*)          gdb_target=linux
158
                        build_gdbserver=yes
159
                        ;;
160
m68*-*-lynxos*)         gdb_target=m68klynx ;;
161
m68*-*-netbsd*)         gdb_target=nbsdaout ;;
162
m68*-*-os68k*)          gdb_target=os68k ;;
163
m68*-*-sunos3*)         gdb_target=sun3os3 ;;
164
m68*-*-sunos4*)         gdb_target=sun3os4 ;;
165
m68*-*-sysv4*)          gdb_target=m68kv4 ;;
166
m68*-*-vxworks*)        gdb_target=vxworks68 ;;
167
 
168
# OBSOLETE m88*-motorola-sysv4*)        gdb_target=delta88v4 ;;
169
# OBSOLETE m88*-motorola-*)     gdb_target=delta88 ;;
170
# OBSOLETE m88*-*-*)            gdb_target=m88k ;;
171
 
172
mcore*-*-*)             gdb_target=mcore ;;
173
mips64*-big-*)          gdb_target=bigmips64 ;;
174
mips*-big-*)            gdb_target=bigmips ;;
175
mips*-dec-mach3*)       gdb_target=mach3 ;;
176
mips*-dec-*)            gdb_target=decstation ;;
177
mips*-*-pe)             gdb_target=wince ;;
178
mips64*el-*-ecoff*)     gdb_target=embedl64 ;;
179
mips64*-*-ecoff*)       gdb_target=embed64 ;;
180
mips64*vr4xxx*el-*-elf*)gdb_target=vr4xxxel ;;
181
mips64*vr4xxx*-*-elf*)  gdb_target=vr4xxx ;;
182
mips64*vr4300*el-*-elf*)        gdb_target=vr4300el ;;
183
mips64*vr4300*-*-elf*)  gdb_target=vr4300 ;;
184
mips64*vr4100*el-*-elf*)        gdb_target=vr4300el ;;
185
mips64*vr4100*-*-elf*)  gdb_target=vr4100 ;;
186
mips64*vr5000*el-*-elf*)        gdb_target=vr5000el ;;
187
mips64*vr5000*-*-elf*)  gdb_target=vr5000 ;;
188
mips*tx39*el*-elf*)     gdb_target=tx39l ;;
189
mips*tx39*-elf*)        gdb_target=tx39 ;;
190
mips64*el-*-elf*)       gdb_target=embedl64 ;;
191
mips64*-*-elf*)         gdb_target=embed64 ;;
192
mips*el-*-ecoff*)       gdb_target=embedl ;;
193
mips*-*-ecoff*)         gdb_target=embed ;;
194
mips*el-*-elf*)         gdb_target=embedl ;;
195
mips*-*-elf*)           gdb_target=embed ;;
196
mips*-little-*)         gdb_target=littlemips ;;
197
mips*-*-lnews*)         gdb_target=embedl ;;
198
mips*-sgi-irix5*)       gdb_target=irix5 ;;
199
mips*-sgi-irix6*)       gdb_target=irix6 ;;
200
mips*-sgi-*)            gdb_target=irix3 ;;
201
mips*-sony-*)           gdb_target=bigmips ;;
202
mips*-*-linux*)         gdb_target=linux
203
                        build_gdbserver=yes
204
                        ;;
205
mips*-*-netbsd*)        gdb_target=nbsd ;;
206
mips*-*-mach3*)         gdb_target=mipsm3 ;;
207
mips*-*-sysv4*)         gdb_target=mipsv4 ;;
208
mips*-*-sysv*)          gdb_target=bigmips ;;
209
mips*-*-riscos*)        gdb_target=bigmips ;;
210
mips*-*-vxworks*)       gdb_target=vxmips ;;
211
mips*-*-*)              gdb_target=embed ;;
212
 
213
mn10200-*-*)            gdb_target=mn10200 ;;
214
mn10300-*-*)            gdb_target=mn10300 ;;
215
 
216
none-*-*)               gdb_target=none ;;
217
 
218
ns32k-*-netbsd*)        gdb_target=nbsdaout ;;
219
 
220 1183 sfurman
or32*)                  gdb_target=or32 ;;
221
 
222 1181 sfurman
powerpc-*-netbsd*)      gdb_target=nbsd ;;
223
powerpc-*-aix*)         gdb_target=aix ;;
224
powerpc-*-linux*)       gdb_target=linux
225
                        build_gdbserver=yes
226
                        ;;
227
powerpc-*-vxworks*)     gdb_target=vxworks ;;
228
powerpc*-*-*)           if test -f ../sim/ppc/Makefile; then
229
                          gdb_target=ppc-sim
230
                        else
231
                          gdb_target=ppc-eabi
232
                        fi ;;
233
 
234
rs6000-*-lynxos*)       gdb_target=rs6000lynx ;;
235
rs6000-*-aix4*)         gdb_target=aix4 ;;
236
rs6000-*-*)             gdb_target=rs6000 ;;
237
 
238
s390-*-*)               gdb_target=s390
239
                        build_gdbserver=yes
240
                        ;;
241
s390x-*-*)              gdb_target=s390x
242
                        build_gdbserver=yes
243
                        ;;
244
 
245
sh*-*-pe)               gdb_target=wince ;;
246
sh-*-coff*)             gdb_target=embed ;;
247
sh-*-elf*)              gdb_target=embed ;;
248
sh-*-linux*)            gdb_target=linux
249
                        build_gdbserver=yes
250
                        ;;
251
sh*-*-netbsdelf*)       gdb_target=nbsd ;;
252
sh*)                    gdb_target=embed ;;
253
 
254
sparc-*-aout*)          gdb_target=sparc-em ;;
255
sparc-*-coff*)          gdb_target=sparc-em ;;
256
sparc-*-elf*)           gdb_target=sparc-em ;;
257
sparc-*-linux*)         gdb_target=linux ;;
258
sparc-*-lynxos*)        gdb_target=sparclynx ;;
259
sparc-*-netbsd*)        gdb_target=nbsd ;;
260
sparc-*-solaris2*)      gdb_target=sun4sol2 ;;
261
sparc-*-sunos4*)        gdb_target=sun4os4 ;;
262
sparc-*-sunos5*)        gdb_target=sun4sol2 ;;
263
sparc-*-vxworks*)       gdb_target=vxsparc ;;
264
sparc-*-*)              gdb_target=sun4os4 ;;
265
sparclet-*-*)           gdb_target=sparclet;;
266
sparclite-*-*)          gdb_target=sparclite ;;
267
sparc86x-*-*)           gdb_target=sparclite ;;
268
# It's not clear what the right solution for "v8plus" systems is yet.
269
# For now, stick with sparc-sun-solaris2 since that's what config.guess
270
# should return.  Work is still needed to get gdb to print the 64 bit
271
# regs (some of which are usable in v8plus) so sp64sol.mt hasn't been
272
# deleted though presumably it should be eventually.
273
#sparc64-*-solaris2*)   gdb_target=sp64sol2 ;;
274
sparc64-*-freebsd*|ultrasparc-*-freebsd*|sparcv9-*-freebsd*)
275
                        gdb_target=fbsd ;;
276
sparc64-*-linux*)       gdb_target=sp64linux ;;
277
sparc64-*-netbsd*)      gdb_target=nbsd64 ;;
278
sparcv9-*-* | sparc64-*-*) gdb_target=sp64 ;;
279
 
280
xstormy16-*-*)          gdb_target=xstormy16 ;;
281
 
282
vax-*-*)                gdb_target=vax ;;
283
 
284
# OBSOLETE fr30-*-*)            gdb_target=fr30
285
# OBSOLETE                      ;;
286
 
287
v850*-*-*)              gdb_target=v850
288
                        case ${gdb_host} in
289
                        cygwin*)
290
                                CONFIG_OBS="${CONFIG_OBS} v850ice.o" ;;
291
                        * ) ;;
292
                        esac
293
                        ;;
294
 
295
x86_64-*-linux*)        gdb_target=x86-64linux
296
                        build_gdbserver=yes
297
                        ;;
298
 
299
 
300
z8k-*-coff*)            gdb_target=z8k ;;
301
 
302
esac
303
 
304
 
305
# map GDB target onto multi-arch support
306
 
307
case "${gdb_target}" in
308
d10v)           gdb_multi_arch=yes ;;
309
m68hc11)        gdb_multi_arch=yes ;;
310
mn10300)        gdb_multi_arch=yes ;;
311
x86-64linux)    gdb_multi_arch=yes ;;
312
v850)           gdb_multi_arch=yes ;;
313
xstormy16)      gdb_multi_arch=yes ;;
314
mcore)          gdb_multi_arch=yes ;;
315
esac

powered by: WebSVN 2.1.0

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