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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-7.1/] [gdb/] [configure.tgt] - 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 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_obs       target-specific object files to use
6
#  gdb_sim              simulator library for target
7
#  gdb_osabi            default OS ABI to use with target
8
#  build_gdbserver      set to "yes" if gdbserver supports target
9
 
10
# NOTE: Every file added to a gdb_target_obs variable for any target here
11
#       must also be added to either ALL_TARGET_OBS or ALL_64_TARGET_OBS
12
#       in Makefile.in!
13
 
14
case $targ in
15
 d10v-*-* | \
16
 hppa*-*-hiux* | \
17
 i[34567]86-ncr-* | \
18
 i[34567]86-*-lynxos* | \
19
 m68*-cisco*-* | \
20
 m68*-tandem-* | \
21
 m68*-*-os68k* | \
22
 mips*-*-pe | \
23
 rs6000-*-lynxos* | \
24
 sh*-*-pe | \
25
 null)
26
    echo "*** Configuration $targ is obsolete." >&2
27
    echo "*** Support has been REMOVED." >&2
28
    exit 1
29
    ;;
30
esac
31
 
32
# map target info into gdb names.
33
 
34
case "${targ}" in
35
 
36
alpha*-*-osf*)
37
        # Target: Little-endian Alpha running OSF/1
38
        gdb_target_obs="alpha-tdep.o alpha-osf1-tdep.o alpha-mdebug-tdep.o"
39
        ;;
40
alpha*-*-linux*)
41
        # Target: Little-endian Alpha running Linux
42
        gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alpha-linux-tdep.o \
43
                        solib.o solib-svr4.o"
44
        ;;
45
alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu)
46
        # Target: FreeBSD/alpha
47
        gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alphabsd-tdep.o \
48
                        alphafbsd-tdep.o corelow.o solib.o solib-svr4.o"
49
        ;;
50
alpha*-*-netbsd* | alpha*-*-knetbsd*-gnu)
51
        # Target: NetBSD/alpha
52
        gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alphabsd-tdep.o \
53
                        alphanbsd-tdep.o nbsd-tdep.o corelow.o solib.o \
54
                        solib-svr4.o"
55
        ;;
56
alpha*-*-openbsd*)
57
        # Target: OpenBSD/alpha
58
        gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alphabsd-tdep.o \
59
                        alphanbsd-tdep.o alphaobsd-tdep.o nbsd-tdep.o \
60
                        obsd-tdep.o corelow.o solib.o solib-svr4.o"
61
        ;;
62
alpha*-*-*)
63
        # Target: Alpha
64
        gdb_target_obs="alpha-tdep.o"
65
        ;;
66
 
67
am33_2.0*-*-linux*)
68
        # Target: Matsushita mn10300 (AM33) running Linux
69
        gdb_target_obs="mn10300-tdep.o mn10300-linux-tdep.o corelow.o \
70
                        solib.o solib-svr4.o"
71
        ;;
72
 
73
arm*-wince-pe | arm*-*-mingw32ce*)
74
        # Target: ARM based machine running Windows CE (win32)
75
        gdb_target_obs="arm-tdep.o arm-wince-tdep.o corelow.o \
76
                        solib.o solib-target.o"
77
        build_gdbserver=yes
78
        ;;
79
arm*-*-linux*)
80
        # Target: ARM based machine running GNU/Linux
81
        gdb_target_obs="arm-tdep.o arm-linux-tdep.o glibc-tdep.o \
82
                        solib.o solib-svr4.o symfile-mem.o corelow.o linux-tdep.o"
83
        build_gdbserver=yes
84
        ;;
85
arm*-*-netbsd* | arm*-*-knetbsd*-gnu)
86
        # Target: NetBSD/arm
87
        gdb_target_obs="arm-tdep.o armnbsd-tdep.o solib.o solib-svr4.o"
88
        ;;
89
arm*-*-openbsd*)
90
        # Target: OpenBSD/arm
91
        gdb_target_obs="arm-tdep.o armbsd-tdep.o armobsd-tdep.o obsd-tdep.o \
92
                        corelow.o solib.o solib-svr4.o"
93
        ;;
94
arm*-*-* | thumb*-*-* | strongarm*-*-* | xscale-*-*)
95
        # Target: ARM embedded system
96
        gdb_target_obs="arm-tdep.o"
97
        gdb_sim=../sim/arm/libsim.a
98
        ;;
99
 
100
avr-*-*)
101
        # Target: AVR
102
        gdb_target_obs="avr-tdep.o"
103
        gdb_sim=../sim/avr/libsim.a
104
        ;;
105
 
106
cris*)
107
        # Target: CRIS
108
        gdb_target_obs="cris-tdep.o corelow.o solib.o solib-svr4.o"
109
        ;;
110
 
111
frv-*-*)
112
        # Target: Fujitsu FRV processor
113
        gdb_target_obs="frv-tdep.o frv-linux-tdep.o \
114
                        solib.o solib-frv.o corelow.o"
115
        gdb_sim=../sim/frv/libsim.a
116
        ;;
117
 
118
moxie-*-elf)
119
        gdb_target_obs="moxie-tdep.o"
120
        gdb_sim=../sim/moxie/libsim.a
121
        ;;
122
 
123
h8300-*-*)
124
        # Target: H8300 with HMS monitor and H8 simulator
125
        gdb_target_obs="h8300-tdep.o monitor.o dsrec.o"
126
        gdb_sim=../sim/h8300/libsim.a
127
        ;;
128
 
129
hppa*-*-hpux*)
130
        # Target: HP PA-RISC running hpux
131
        gdb_target_obs="hppa-tdep.o hppa-hpux-tdep.o corelow.o \
132
                        solib.o solib-som.o solib-pa64.o"
133
        ;;
134
hppa*-*-linux*)
135
        # Target: HP PA-RISC running Linux
136
        gdb_target_obs="hppa-tdep.o hppa-linux-tdep.o glibc-tdep.o \
137
                        solib.o solib-svr4.o symfile-mem.o"
138
        ;;
139
hppa*-*-netbsd*)
140
        # Target: NetBSD/hppa
141
        gdb_target_obs="hppa-tdep.o hppabsd-tdep.o hppanbsd-tdep.o \
142
                        corelow.o solib.o solib-svr4.o"
143
        ;;
144
hppa*-*-openbsd*)
145
        # Target: OpenBSD/hppa
146
        gdb_target_obs="hppa-tdep.o hppabsd-tdep.o hppaobsd-tdep.o \
147
                        corelow.o solib.o solib-svr4.o"
148
        ;;
149
hppa*-*-*)
150
        # Target: HP PA-RISC
151
        gdb_target_obs="hppa-tdep.o"
152
        ;;
153
 
154
i[34567]86-*-darwin*)
155
        # Target: Darwin/i386
156
        gdb_target_obs="i386-tdep.o i387-tdep.o \
157
                        i386-darwin-tdep.o solib.o solib-darwin.o"
158
        if test "x$enable_64_bit_bfd" = "xyes"; then
159
            # Target: GNU/Linux x86-64
160
            gdb_target_obs="amd64-tdep.o amd64-darwin-tdep.o ${gdb_target_obs}"
161
        fi
162
        ;;
163
i[34567]86-*-dicos*)
164
        # Target: DICOS/i386
165
        gdb_target_obs="i386-tdep.o i387-tdep.o \
166
                        dicos-tdep.o i386-dicos-tdep.o \
167
                        corelow.o solib.o solib-target.o"
168
        ;;
169
i[34567]86-*-freebsd* | i[34567]86-*-kfreebsd*-gnu)
170
        # Target: FreeBSD/i386
171
        gdb_target_obs="i386-tdep.o i387-tdep.o i386bsd-tdep.o i386fbsd-tdep.o \
172
                        bsd-uthread.o corelow.o solib.o solib-svr4.o"
173
        ;;
174
i[34567]86-*-netbsd* | i[34567]86-*-knetbsd*-gnu)
175
        # Target: NetBSD/i386
176
        gdb_target_obs="i386-tdep.o i387-tdep.o i386bsd-tdep.o i386nbsd-tdep.o \
177
                        nbsd-tdep.o corelow.o solib.o solib-svr4.o"
178
        ;;
179
i[34567]86-*-openbsd*)
180
        # Target: OpenBSD/i386
181
        gdb_target_obs="i386-tdep.o i387-tdep.o i386bsd-tdep.o i386obsd-tdep.o \
182
                        bsd-uthread.o corelow.o solib.o solib-svr4.o"
183
        ;;
184
i[34567]86-*-nto*)
185
        # Target: Intel 386 running qnx6.
186
        gdb_target_obs="i386-tdep.o i387-tdep.o corelow.o solib.o solib-svr4.o \
187
                        i386-nto-tdep.o nto-tdep.o"
188
        build_gdbserver=yes
189
        ;;
190
i[34567]86-*-solaris2.1[0-9]* | x86_64-*-solaris2.1[0-9]*)
191
        # Target: Solaris x86_64
192
        gdb_target_obs="i386-tdep.o i387-tdep.o amd64-tdep.o amd64-sol2-tdep.o \
193
                        i386-sol2-tdep.o sol2-tdep.o \
194
                        corelow.o solib.o solib-svr4.o"
195
        ;;
196
i[34567]86-*-solaris*)
197
        # Target: Solaris x86
198
        gdb_target_obs="i386-tdep.o i387-tdep.o i386-sol2-tdep.o sol2-tdep.o \
199
                        corelow.o solib.o solib-svr4.o"
200
        ;;
201
i[34567]86-*-linux*)
202
        # Target: Intel 386 running GNU/Linux
203
        gdb_target_obs="i386-tdep.o i386-linux-tdep.o glibc-tdep.o i387-tdep.o \
204
                        solib.o solib-svr4.o symfile-mem.o corelow.o \
205
                        linux-tdep.o linux-record.o"
206
        if test "x$enable_64_bit_bfd" = "xyes"; then
207
            # Target: GNU/Linux x86-64
208
            gdb_target_obs="amd64-tdep.o amd64-linux-tdep.o ${gdb_target_obs}"
209
        fi
210
        build_gdbserver=yes
211
        ;;
212
i[34567]86-*-gnu*)
213
        # Target: Intel 386 running the GNU Hurd
214
        gdb_target_obs="i386-tdep.o i387-tdep.o i386gnu-tdep.o \
215
                        solib.o solib-svr4.o"
216
        ;;
217
i[34567]86-*-cygwin*)
218
        # Target: Intel 386 running win32
219
        gdb_target_obs="i386-tdep.o i386-cygwin-tdep.o i387-tdep.o \
220
                        solib-target.o corelow.o windows-tdep.o"
221
        build_gdbserver=yes
222
        ;;
223
i[34567]86-*-mingw32*)
224
        # Target: Intel 386 running win32
225
        gdb_target_obs="i386-tdep.o i386-cygwin-tdep.o i387-tdep.o \
226
                        solib-target.o corelow.o windows-tdep.o"
227
        build_gdbserver=yes
228
        ;;
229
i[34567]86-*-*)
230
        # Target: i386
231
        gdb_target_obs="i386-tdep.o i387-tdep.o"
232
        ;;
233
 
234
ia64-*-linux*)
235
        # Target: Intel IA-64 running GNU/Linux
236
        gdb_target_obs="ia64-tdep.o ia64-linux-tdep.o \
237
                        solib.o solib-svr4.o symfile-mem.o"
238
        build_gdbserver=yes
239
        ;;
240
ia64*-*-*)
241
        # Target: Intel IA-64
242
        gdb_target_obs="ia64-tdep.o"
243
        ;;
244
 
245
iq2000-*-*)
246
        gdb_target_obs="iq2000-tdep.o"
247
        gdb_sim=../sim/iq2000/libsim.a
248
        ;;
249
 
250
lm32-*-*)
251
        gdb_target_obs="lm32-tdep.o"
252
        gdb_sim=../sim/lm32/libsim.a
253
        ;;
254
 
255
m32c-*-*)
256
        # Target: Renesas M32C family
257
        gdb_target_obs="m32c-tdep.o prologue-value.o"
258
        # There may also be a SID / CGEN simulator for this,
259
        # but we do have DJ Delorie's mini-sim.
260
        gdb_sim=../sim/m32c/libsim.a
261
        ;;
262
 
263
m32r*-*-linux*)
264
        # Target: Renesas M32R running GNU/Linux
265
        gdb_target_obs="m32r-tdep.o m32r-linux-tdep.o remote-m32r-sdi.o \
266
                        glibc-tdep.o solib.o solib-svr4.o symfile-mem.o"
267
        gdb_sim=../sim/m32r/libsim.a
268
        build_gdbserver=yes
269
        ;;
270
m32r*-*-*)
271
        # Target: Renesas m32r processor
272
        gdb_target_obs="m32r-tdep.o monitor.o m32r-rom.o dsrec.o \
273
                        remote-m32r-sdi.o"
274
        gdb_sim=../sim/m32r/libsim.a
275
        ;;
276
 
277
m68hc11*-*-*|m6811*-*-*)
278
        # Target: Motorola 68HC11 processor
279
        gdb_target_obs="m68hc11-tdep.o"
280
        gdb_sim=../sim/m68hc11/libsim.a
281
        ;;
282
 
283
m68*-*-aout* | m68*-*-coff* | m68*-*-elf* | m68*-*-rtems* | m68*-*-uclinux* | \
284
fido-*-elf*)
285
        # Target: Motorola m68k embedded (e.g. bug monitors)
286
        gdb_target_obs="m68k-tdep.o monitor.o dbug-rom.o dsrec.o"
287
        ;;
288
m68*-*-linux*)
289
        # Target: Motorola m68k with a.out and ELF
290
        gdb_target_obs="m68k-tdep.o m68klinux-tdep.o solib.o solib-svr4.o \
291
                        glibc-tdep.o symfile-mem.o"
292
        build_gdbserver=yes
293
        ;;
294
m68*-*-netbsd* | m68*-*-knetbsd*-gnu)
295
        # Target: NetBSD/m68k
296
        gdb_target_obs="m68k-tdep.o m68kbsd-tdep.o \
297
                        corelow.o solib.o solib-svr4.o"
298
        ;;
299
m68*-*-openbsd*)
300
        # Target: OpenBSD/m68k
301
        gdb_target_obs="m68k-tdep.o m68kbsd-tdep.o \
302
                        corelow.o solib.o solib-svr4.o"
303
        ;;
304
 
305
m88*-*-openbsd*)
306
        # Target: OpenBSD/m88k
307
        gdb_target_obs="m88k-tdep.o corelow.o"
308
        ;;
309
 
310
mep-*-*)
311
        # Target: Toshiba Media Processor (MEP)
312
        gdb_target_obs="mep-tdep.o prologue-value.o"
313
        # No sim needed. Target uses SID.
314
        ;;
315
 
316
microblaze*-linux-*)
317
        # Target: Xilinx MicroBlaze running Linux
318
        gdb_target_obs="microblaze-tdep.o microblaze-linux-tdep.o microblaze-rom.o \
319
                        monitor.o dsrec.o solib.o solib-svr4.o corelow.o \
320
                        symfile-mem.o"
321
        gdb_sim=../sim/microblaze/libsim.a
322
        ;;
323
microblaze*-xilinx-*)
324
        # Target: Xilinx MicroBlaze running standalone
325
        gdb_target_obs="microblaze-tdep.o microblaze-rom.o monitor.o dsrec.o"
326
        gdb_sim=../sim/microblaze/libsim.a
327
        ;;
328
 
329
mips*-sgi-irix5*)
330
        # Target: MIPS SGI running Irix 5
331
        gdb_target_obs="mips-tdep.o mips-irix-tdep.o solib.o solib-irix.o"
332
        ;;
333
mips*-sgi-irix6*)
334
        # Target: MIPS SGI running Irix 6.x
335
        gdb_target_obs="mips-tdep.o mips-irix-tdep.o solib.o solib-irix.o"
336
        ;;
337
mips*-*-linux*)
338
        # Target: Linux/MIPS
339
        gdb_target_obs="mips-tdep.o mips-linux-tdep.o glibc-tdep.o \
340
                        corelow.o solib.o solib-svr4.o symfile-mem.o"
341
        gdb_sim=../sim/mips/libsim.a
342
        build_gdbserver=yes
343
        ;;
344
mips*-*-netbsd* | mips*-*-knetbsd*-gnu)
345
        # Target: MIPS running NetBSD
346
        gdb_target_obs="mips-tdep.o mipsnbsd-tdep.o \
347
                        corelow.o solib.o solib-svr4.o nbsd-tdep.o"
348
        gdb_sim=../sim/mips/libsim.a
349
        ;;
350
mips64*-*-openbsd*)
351
        # Target: OpenBSD/mips64
352
        gdb_target_obs="mips-tdep.o mips64obsd-tdep.o \
353
                        corelow.o solib.o solib-svr4.o"
354
        ;;
355
mips*-*-*)
356
        # Target: MIPS
357
        gdb_target_obs="mips-tdep.o"
358
        gdb_sim=../sim/mips/libsim.a
359
        ;;
360
 
361
mn10300-*-*)
362
        # Target: Matsushita mn10300
363
        gdb_target_obs="mn10300-tdep.o"
364
        gdb_sim=../sim/mn10300/libsim.a
365
        ;;
366
 
367
mt-*-*)
368
        # Target: Morpho Technologies ms1 processor
369
        gdb_target_obs="mt-tdep.o"
370
        ;;
371
 
372
or32-*-*)
373
        # Target: OpenCores OpenRISC 1000 architecture 32-bit implementation
374
        gdb_target_obs="or32-tdep.o"
375
        gdb_sim=../sim/or32/libsim.a
376
        ;;
377
 
378
powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu)
379
        # Target: NetBSD/powerpc
380
        gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppcnbsd-tdep.o \
381
                        corelow.o solib.o solib-svr4.o"
382
        gdb_sim=../sim/ppc/libsim.a
383
        ;;
384
powerpc-*-openbsd*)
385
        # Target: OpenBSD/powerpc
386
        gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppcobsd-tdep.o \
387
                        corelow.o solib.o solib-svr4.o"
388
        ;;
389
powerpc-*-aix* | rs6000-*-*)
390
        # Target: PowerPC running AIX
391
        gdb_target_obs="rs6000-tdep.o rs6000-aix-tdep.o xcoffread.o \
392
                        ppc-sysv-tdep.o solib.o solib-svr4.o"
393
        ;;
394
powerpc-*-linux* | powerpc64-*-linux*)
395
        # Target: PowerPC running Linux
396
        gdb_target_obs="rs6000-tdep.o ppc-linux-tdep.o ppc-sysv-tdep.o \
397
                        solib.o solib-svr4.o solib-spu.o spu-multiarch.o \
398
                        corelow.o symfile-mem.o linux-tdep.o"
399
        gdb_sim=../sim/ppc/libsim.a
400
        build_gdbserver=yes
401
        ;;
402
powerpc*-*-*)
403
        # Target: PowerPC running eabi
404
        gdb_target_obs="rs6000-tdep.o monitor.o dsrec.o ppcbug-rom.o \
405
                        dink32-rom.o ppc-sysv-tdep.o solib.o solib-svr4.o"
406
        if test -f ../sim/ppc/Makefile; then
407
          gdb_sim=../sim/ppc/libsim.a
408
        fi
409
        ;;
410
 
411
s390*-*-*)
412
        # Target: S390 running Linux
413
        gdb_target_obs="s390-tdep.o solib.o solib-svr4.o linux-tdep.o"
414
        build_gdbserver=yes
415
        ;;
416
 
417
rx-*-elf)
418
        # Target: Renesas RX
419
        gdb_target_obs="rx-tdep.o"
420
        gdb_sim=../sim/rx/libsim.a
421
        ;;
422
 
423
score-*-*)
424
        # Target: S+core embedded system
425
        gdb_target_obs="score-tdep.o corelow.o"
426
        if test -f ../sim/score/Makefile; then
427
          gdb_sim=../sim/score/libsim.a
428
        fi
429
        build_gdbserver=yes
430
        ;;
431
 
432
sh*-*-linux*)
433
        # Target: GNU/Linux Super-H
434
        gdb_target_obs="sh-tdep.o sh64-tdep.o sh-linux-tdep.o monitor.o \
435
                        dsrec.o solib.o solib-svr4.o symfile-mem.o \
436
                        glibc-tdep.o corelow.o"
437
        gdb_sim=../sim/sh/libsim.a
438
        build_gdbserver=yes
439
        ;;
440
sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu)
441
        # Target: NetBSD/sh
442
        gdb_target_obs="sh-tdep.o shnbsd-tdep.o corelow.o solib.o solib-svr4.o"
443
        gdb_sim=../sim/sh/libsim.a
444
        ;;
445
sh*-*-openbsd*)
446
        # Target: OpenBSD/sh
447
        gdb_target_obs="sh-tdep.o sh64-tdep.o shnbsd-tdep.o \
448
                        corelow.o solib.o solib-svr4.o"
449
        ;;
450
sh64-*-elf*)
451
        # Target: Renesas/Super-H 64 bit with simulator
452
        gdb_target_obs="sh-tdep.o sh64-tdep.o"
453
        gdb_sim=../sim/sh64/libsim.a
454
        ;;
455
sh*)
456
        # Target: Embedded Renesas Super-H with ICE and simulator
457
        gdb_target_obs="sh-tdep.o sh64-tdep.o monitor.o dsrec.o"
458
        gdb_sim=../sim/sh/libsim.a
459
        ;;
460
 
461
sparc-*-linux*)
462
        # Target: GNU/Linux SPARC
463
        gdb_target_obs="sparc-tdep.o sparc-sol2-tdep.o sol2-tdep.o \
464
                        sparc-linux-tdep.o solib.o solib-svr4.o symfile-mem.o"
465
        if test "x$enable_64_bit_bfd" = "xyes"; then
466
            # Target: GNU/Linux UltraSPARC
467
            gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o \
468
                            sparc64-linux-tdep.o ${gdb_target_obs}"
469
        fi
470
        ;;
471
sparc64-*-linux*)
472
        # Target: GNU/Linux UltraSPARC
473
        gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o sol2-tdep.o \
474
                        sparc64-linux-tdep.o sparc-tdep.o sparc-sol2-tdep.o \
475
                        sparc-linux-tdep.o solib.o solib-svr4.o"
476
        build_gdbserver=yes
477
        ;;
478
sparc*-*-freebsd* | sparc*-*-kfreebsd*-gnu)
479
        # Target: FreeBSD/sparc64
480
        gdb_target_obs="sparc-tdep.o sparc64-tdep.o sparc64fbsd-tdep.o \
481
                        corelow.o solib.o solib-svr4.o"
482
        ;;
483
sparc-*-netbsd* | sparc-*-knetbsd*-gnu)
484
        # Target: NetBSD/sparc
485
        gdb_target_obs="sparc-tdep.o sparcnbsd-tdep.o nbsd-tdep.o \
486
                        corelow.o solib.o solib-svr4.o"
487
        ;;
488
sparc64-*-netbsd* | sparc64-*-knetbsd*-gnu)
489
        # Target: NetBSD/sparc64
490
        gdb_target_obs="sparc64-tdep.o sparc64nbsd-tdep.o sparc-tdep.o \
491
                        sparcnbsd-tdep.o nbsd-tdep.o \
492
                        corelow.o solib.o solib-svr4.o"
493
        ;;
494
sparc-*-openbsd*)
495
        # Target: OpenBSD/sparc
496
        gdb_target_obs="sparc-tdep.o sparcnbsd-tdep.o sparcobsd-tdep.o \
497
                        nbsd-tdep.o obsd-tdep.o bsd-uthread.o \
498
                        corelow.o solib.o solib-svr4.o"
499
        ;;
500
sparc64-*-openbsd*)
501
        # Target: OpenBSD/sparc64
502
        gdb_target_obs="sparc64-tdep.o sparc64nbsd-tdep.o sparc64obsd-tdep.o \
503
                        sparc-tdep.o sparcnbsd-tdep.o sparcobsd-tdep.o \
504
                        nbsd-tdep.o obsd-tdep.o bsd-uthread.o \
505
                        corelow.o solib.o solib-svr4.o"
506
        ;;
507
sparc-*-solaris2.[0-6] | sparc-*-solaris2.[0-6].*)
508
        # Target: Solaris SPARC
509
        gdb_target_obs="sparc-tdep.o sparc-sol2-tdep.o sol2-tdep.o \
510
                        solib.o solib-svr4.o"
511
        ;;
512
sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*)
513
        # Target: Solaris UltraSPARC
514
        gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o sparc-tdep.o \
515
                        sparc-sol2-tdep.o sol2-tdep.o solib.o solib-svr4.o"
516
        ;;
517
sparc-*-rtems*)
518
        # Target: SPARC embedded with simulator
519
        gdb_target_obs="sparc-tdep.o"
520
        gdb_sim=../sim/erc32/libsim.a
521
        ;;
522
sparc-*-*)
523
        # Target: SPARC
524
        gdb_target_obs="sparc-tdep.o"
525
        ;;
526
sparc64-*-*)
527
        # Target: UltraSPARC
528
        gdb_target_obs="sparc-tdep.o sparc64-tdep.o"
529
        ;;
530
 
531
spu*-*-*)
532
        # Target: Cell BE SPU
533
        gdb_target_obs="spu-tdep.o"
534
        build_gdbserver=yes
535
        ;;
536
 
537
xstormy16-*-*)
538
        # Target: Sanyo Xstormy16a processor
539
        gdb_target_obs="xstormy16-tdep.o"
540
        # No simulator libraries are needed -- target uses SID.
541
        ;;
542
 
543
v850*-*-elf)
544
        # Target: NEC V850 processor
545
        gdb_target_obs="v850-tdep.o"
546
        gdb_sim=../sim/v850/libsim.a
547
        ;;
548
 
549
vax-*-netbsd* | vax-*-knetbsd*-gnu)
550
        # Target: NetBSD/vax
551
        gdb_target_obs="vax-tdep.o vaxnbsd-tdep.o \
552
                        corelow.o solib.o solib-svr4.o"
553
        ;;
554
vax-*-openbsd*)
555
        # Target: OpenBSD/vax
556
        gdb_target_obs="vax-tdep.o vaxobsd-tdep.o corelow.o"
557
        ;;
558
vax-*-*)
559
        # Target: VAX running 4.2BSD or Ultrix
560
        gdb_target_obs="vax-tdep.o"
561
        ;;
562
 
563
x86_64-*-darwin*)
564
        # Target: Darwin/x86-64
565
        gdb_target_obs="amd64-tdep.o i386-tdep.o i387-tdep.o \
566
                        i386-darwin-tdep.o amd64-darwin-tdep.o \
567
                        solib.o solib-darwin.o"
568
        ;;
569
 
570
x86_64-*-dicos*)
571
        # Target: DICOS/x86-64
572
        gdb_target_obs="amd64-tdep.o i386-tdep.o i387-tdep.o \
573
                        dicos-tdep.o i386-dicos-tdep.o amd64-dicos-tdep.o \
574
                        corelow.o solib.o solib-target.o"
575
        ;;
576
x86_64-*-linux*)
577
        # Target: GNU/Linux x86-64
578
        gdb_target_obs="amd64-tdep.o amd64-linux-tdep.o i386-tdep.o \
579
                        i387-tdep.o i386-linux-tdep.o glibc-tdep.o \
580
                        solib.o solib-svr4.o corelow.o symfile-mem.o linux-tdep.o \
581
                        linux-record.o"
582
        build_gdbserver=yes
583
        ;;
584
x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu)
585
        # Target: FreeBSD/amd64
586
        gdb_target_obs="amd64-tdep.o amd64fbsd-tdep.o i386-tdep.o \
587
                        i387-tdep.o i386bsd-tdep.o i386fbsd-tdep.o \
588
                        bsd-uthread.o corelow.o solib.o solib-svr4.o"
589
        ;;
590
x86_64-*-mingw*)
591
        # Target: MingW/amd64
592
        gdb_target_obs="amd64-tdep.o amd64-windows-tdep.o \
593
                        i386-tdep.o i386-cygwin-tdep.o i387-tdep.o \
594
                        solib-target.o windows-tdep.o"
595
        ;;
596
x86_64-*-netbsd* | x86_64-*-knetbsd*-gnu)
597
        # Target: NetBSD/amd64
598
        gdb_target_obs="amd64-tdep.o amd64nbsd-tdep.o i386-tdep.o i387-tdep.o \
599
                        nbsd-tdep.o corelow.o solib.o solib-svr4.o"
600
        ;;
601
x86_64-*-openbsd*)
602
        # Target: OpenBSD/amd64
603
        gdb_target_obs="amd64-tdep.o amd64obsd-tdep.o i386-tdep.o \
604
                        i387-tdep.o i386bsd-tdep.o i386obsd-tdep.o \
605
                        bsd-uthread.o corelow.o solib.o solib-svr4.o"
606
        ;;
607
xtensa*-*-linux*)       gdb_target=linux
608
        # Target: GNU/Linux Xtensa
609
        gdb_target_obs="xtensa-tdep.o xtensa-config.o xtensa-linux-tdep.o \
610
                        solib.o solib-svr4.o corelow.o symfile-mem.o"
611
        build_gdbserver=yes
612
        ;;
613
xtensa*)
614
        # Target: Tensilica Xtensa processors
615
        gdb_target_obs="xtensa-tdep.o xtensa-config.o solib.o solib-svr4.o"
616
        ;;
617
 
618
esac
619
 
620
# map target onto default OS ABI
621
 
622
case "${targ}" in
623
*-*-freebsd*)   gdb_osabi=GDB_OSABI_FREEBSD_ELF ;;
624
*-*-linux*)     gdb_osabi=GDB_OSABI_LINUX ;;
625
*-*-nto*)       gdb_osabi=GDB_OSABI_QNXNTO ;;
626
m68*-*-openbsd* | m88*-*-openbsd* | vax-*-openbsd*) ;;
627
*-*-openbsd*)   gdb_osabi=GDB_OSABI_OPENBSD_ELF ;;
628
*-*-solaris*)   gdb_osabi=GDB_OSABI_SOLARIS ;;
629
*-*-*-gnu*)     ;; # prevent non-GNU kernels to match the Hurd rule below
630
*-*-gnu*)       gdb_osabi=GDB_OSABI_HURD ;;
631
*-*-mingw32ce*) gdb_osabi=GDB_OSABI_WINCE ;;
632
*-*-mingw* | *-*-cygwin*)
633
                gdb_osabi=GDB_OSABI_CYGWIN ;;
634
*-*-dicos*)     gdb_osabi=GDB_OSABI_DICOS ;;
635
esac

powered by: WebSVN 2.1.0

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