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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gdb-7.2/] [gdb/] [configure.tgt] - Blame information for rev 330

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

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

powered by: WebSVN 2.1.0

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