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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-6.8/] [gdb/] [configure.tgt] - Blame information for rev 866

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

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

powered by: WebSVN 2.1.0

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