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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [gdb/] [configure.tgt] - Blame information for rev 1768

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

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

powered by: WebSVN 2.1.0

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