* configure.ac (--enable-targets): New configure option.
[platform/upstream/binutils.git] / gdb / configure.tgt
1 # 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 <http://savannah.gnu.org/projects/simulavr/>
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*-*-openbsd*)
134         # Target: OpenBSD/hppa
135         gdb_target_obs="hppa-tdep.o hppabsd-tdep.o \
136                         corelow.o solib.o solib-svr4.o"
137         ;;
138 hppa*-*-*)
139         # Target: HP PA-RISC
140         gdb_target_obs="hppa-tdep.o"
141         ;;
142
143 i[34567]86-*-freebsd* | i[34567]86-*-kfreebsd*-gnu)
144         # Target: FreeBSD/i386
145         gdb_target_obs="i386-tdep.o i387-tdep.o i386bsd-tdep.o i386fbsd-tdep.o \
146                         bsd-uthread.o corelow.o solib.o solib-svr4.o"
147         ;;
148 i[34567]86-*-netbsd* | i[34567]86-*-knetbsd*-gnu)
149         # Target: NetBSD/i386
150         gdb_target_obs="i386-tdep.o i387-tdep.o i386bsd-tdep.o i386nbsd-tdep.o \
151                         nbsd-tdep.o corelow.o solib.o solib-svr4.o"
152         ;;
153 i[34567]86-*-openbsd*)
154         # Target: OpenBSD/i386
155         gdb_target_obs="i386-tdep.o i387-tdep.o i386bsd-tdep.o i386obsd-tdep.o \
156                         bsd-uthread.o corelow.o solib.o solib-svr4.o"
157         ;;
158 i[34567]86-*-nto*)
159         # Target: Intel 386 running qnx6.
160         gdb_target_obs="i386-tdep.o i387-tdep.o corelow.o solib.o solib-svr4.o \
161                         i386-nto-tdep.o nto-tdep.o"
162         ;;
163 i[34567]86-*-solaris2.1[0-9]*)
164         # Target: Solaris x86_64
165         gdb_target_obs="i386-tdep.o i387-tdep.o amd64-tdep.o amd64-sol2-tdep.o \
166                         i386-sol2-tdep.o sol2-tdep.o \
167                         corelow.o solib.o solib-svr4.o"
168         ;;
169 i[34567]86-*-solaris*)
170         # Target: Solaris x86
171         gdb_target_obs="i386-tdep.o i387-tdep.o i386-sol2-tdep.o sol2-tdep.o \
172                         corelow.o solib.o solib-svr4.o"
173         ;;
174 i[34567]86-*-linux*)
175         # Target: Intel 386 running GNU/Linux
176         gdb_target_obs="i386-tdep.o i386-linux-tdep.o glibc-tdep.o i387-tdep.o \
177                         solib.o solib-svr4.o symfile-mem.o corelow.o"
178         build_gdbserver=yes
179         ;;
180 i[34567]86-*-gnu*)
181         # Target: Intel 386 running the GNU Hurd
182         gdb_target_obs="i386-tdep.o i387-tdep.o i386gnu-tdep.o \
183                         solib.o solib-svr4.o"
184         ;;
185 i[34567]86-*-cygwin*)
186         # Target: Intel 386 running win32
187         gdb_target_obs="i386-tdep.o i386-cygwin-tdep.o i387-tdep.o \
188                         solib-target.o corelow.o"
189         build_gdbserver=yes
190         ;;
191 i[34567]86-*-mingw32*)
192         # Target: Intel 386 running win32
193         gdb_target_obs="i386-tdep.o i386-cygwin-tdep.o i387-tdep.o \
194                         solib-target.o corelow.o"
195         build_gdbserver=yes
196         ;;
197 i[34567]86-*-*)
198         # Target: i386
199         gdb_target_obs="i386-tdep.o i387-tdep.o"
200         ;;
201
202 ia64-*-linux*)
203         # Target: Intel IA-64 running GNU/Linux
204         gdb_target_obs="ia64-tdep.o ia64-linux-tdep.o \
205                         solib.o solib-svr4.o symfile-mem.o"
206         build_gdbserver=yes
207         ;;
208 ia64*-*-*)
209         # Target: Intel IA-64
210         gdb_target_obs="ia64-tdep.o"
211         ;;
212
213 iq2000-*-*)
214         gdb_target_obs="iq2000-tdep.o"
215         gdb_sim=../sim/iq2000/libsim.a
216         ;;
217
218 m32c-*-*)
219         # Target: Renesas M32C family
220         gdb_target_obs="m32c-tdep.o prologue-value.o"
221         # There may also be a SID / CGEN simulator for this,
222         # but we do have DJ Delorie's mini-sim.
223         gdb_sim=../sim/m32c/libsim.a
224         ;;
225
226 m32r*-*-linux*)
227         # Target: Renesas M32R running GNU/Linux
228         gdb_target_obs="m32r-tdep.o m32r-linux-tdep.o remote-m32r-sdi.o \
229                         glibc-tdep.o solib.o solib-svr4.o symfile-mem.o"
230         gdb_sim=../sim/m32r/libsim.a
231         build_gdbserver=yes
232         ;;
233 m32r*-*-*)
234         # Target: Renesas m32r processor
235         gdb_target_obs="m32r-tdep.o monitor.o m32r-rom.o dsrec.o \
236                         remote-m32r-sdi.o"
237         gdb_sim=../sim/m32r/libsim.a
238         ;;
239
240 m68hc11*-*-*|m6811*-*-*)
241         # Target: Motorola 68HC11 processor
242         gdb_target_obs="m68hc11-tdep.o"
243         gdb_sim=../sim/m68hc11/libsim.a
244         ;;
245
246 m68*-*-aout* | m68*-*-coff* | m68*-*-elf* | m68*-*-rtems* | m68*-*-uclinux* | \
247 fido-*-elf*)
248         # Target: Motorola m68k embedded (e.g. bug monitors)
249         gdb_target_obs="m68k-tdep.o monitor.o dbug-rom.o dsrec.o"
250         ;;
251 m68*-*-linux*)
252         # Target: Motorola m68k with a.out and ELF
253         gdb_target_obs="m68k-tdep.o m68klinux-tdep.o solib.o solib-svr4.o \
254                         glibc-tdep.o symfile-mem.o"
255         build_gdbserver=yes
256         ;;
257 m68*-*-netbsd* | m68*-*-knetbsd*-gnu)
258         # Target: NetBSD/m68k
259         gdb_target_obs="m68k-tdep.o m68kbsd-tdep.o \
260                         corelow.o solib.o solib-svr4.o"
261         ;;
262 m68*-*-openbsd*)
263         # Target: OpenBSD/m68k
264         gdb_target_obs="m68k-tdep.o m68kbsd-tdep.o \
265                         corelow.o solib.o solib-svr4.o"
266         ;;
267
268 m88*-*-openbsd*)
269         # Target: OpenBSD/m88k
270         gdb_target_obs="m88k-tdep.o corelow.o"
271         ;;
272
273 mep-*-*)
274         # Target: Toshiba Media Processor (MEP)
275         gdb_target_obs="mep-tdep.o prologue-value.o"
276         # No sim needed. Target uses SID.
277         ;;
278
279 mips*-sgi-irix5*)
280         # Target: MIPS SGI running Irix 5
281         gdb_target_obs="mips-tdep.o mips-irix-tdep.o solib.o solib-irix.o"
282         ;;
283 mips*-sgi-irix6*)
284         # Target: MIPS SGI running Irix 6.x
285         gdb_target_obs="mips-tdep.o mips-irix-tdep.o solib.o solib-irix.o"
286         ;;
287 mips*-*-linux*)
288         # Target: Linux/MIPS
289         gdb_target_obs="mips-tdep.o mips-linux-tdep.o \
290                         corelow.o solib.o solib-svr4.o symfile-mem.o"
291         gdb_sim=../sim/mips/libsim.a
292         build_gdbserver=yes
293         ;;
294 mips*-*-netbsd* | mips*-*-knetbsd*-gnu)
295         # Target: MIPS running NetBSD
296         gdb_target_obs="mips-tdep.o mipsnbsd-tdep.o \
297                         corelow.o solib.o solib-svr4.o nbsd-tdep.o"
298         gdb_sim=../sim/mips/libsim.a
299         ;;
300 mips64*-*-openbsd*)
301         # Target: OpenBSD/mips64
302         gdb_target_obs="mips-tdep.o mips64obsd-tdep.o \
303                         corelow.o solib.o solib-svr4.o"
304         ;;
305 mips*-*-*)
306         # Target: MIPS
307         gdb_target_obs="mips-tdep.o"
308         gdb_sim=../sim/mips/libsim.a
309         ;;
310
311 mn10300-*-*)
312         # Target: Matsushita mn10300
313         gdb_target_obs="mn10300-tdep.o"
314         gdb_sim=../sim/mn10300/libsim.a
315         ;;
316
317 mt-*-*)
318         # Target: Morpho Technologies ms1 processor
319         gdb_target_obs="mt-tdep.o"
320         ;;
321
322 powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu)
323         # Target: NetBSD/powerpc
324         gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppcnbsd-tdep.o \
325                         corelow.o solib.o solib-svr4.o"
326         gdb_sim=../sim/ppc/libsim.a
327         ;;
328 powerpc-*-openbsd*)
329         # Target: OpenBSD/powerpc
330         gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppcobsd-tdep.o \
331                         corelow.o solib.o solib-svr4.o"
332         ;;
333 powerpc-*-aix* | rs6000-*-*)
334         # Target: PowerPC running AIX
335         gdb_target_obs="rs6000-tdep.o rs6000-aix-tdep.o xcoffread.o \
336                         ppc-sysv-tdep.o solib.o solib-svr4.o"
337         ;;
338 powerpc-*-linux* | powerpc64-*-linux*)
339         # Target: PowerPC running Linux
340         gdb_target_obs="rs6000-tdep.o ppc-linux-tdep.o ppc-sysv-tdep.o \
341                         solib.o solib-svr4.o corelow.o symfile-mem.o"
342         gdb_sim=../sim/ppc/libsim.a
343         build_gdbserver=yes
344         ;;
345 powerpc*-*-*)
346         # Target: PowerPC running eabi
347         gdb_target_obs="rs6000-tdep.o monitor.o dsrec.o ppcbug-rom.o \
348                         dink32-rom.o ppc-sysv-tdep.o solib.o solib-svr4.o"
349         if test -f ../sim/ppc/Makefile; then
350           gdb_sim=../sim/ppc/libsim.a
351         fi
352         ;;
353
354 s390*-*-*)
355         # Target: S390 running Linux
356         gdb_target_obs="s390-tdep.o solib.o solib-svr4.o"
357         build_gdbserver=yes
358         ;;
359
360 score-*-*)
361         # Target: S+core embedded system
362         gdb_target_obs="score-tdep.o"
363         ;;
364
365 # FIXME should that be sh*-*-linux*, perhaps?
366 sh-*-linux*)
367         # Target: GNU/Linux Super-H
368         gdb_target_obs="sh-tdep.o sh64-tdep.o sh-linux-tdep.o monitor.o \
369                         dsrec.o solib.o solib-svr4.o symfile-mem.o"
370         gdb_sim=../sim/sh/libsim.a
371         build_gdbserver=yes
372         ;;
373 sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu)
374         # Target: NetBSD/sh
375         gdb_target_obs="sh-tdep.o shnbsd-tdep.o corelow.o solib.o solib-svr4.o"
376         gdb_sim=../sim/sh/libsim.a
377         ;;
378 sh*-*-openbsd*)
379         # Target: OpenBSD/sh
380         gdb_target_obs="sh-tdep.o sh64-tdep.o shnbsd-tdep.o \
381                         corelow.o solib.o solib-svr4.o"
382         ;;
383 sh64-*-elf*)
384         # Target: Renesas/Super-H 64 bit with simulator
385         gdb_target_obs="sh-tdep.o sh64-tdep.o"
386         gdb_sim=../sim/sh64/libsim.a
387         ;;
388 sh*)
389         # Target: Embedded Renesas Super-H with ICE and simulator
390         gdb_target_obs="sh-tdep.o sh64-tdep.o monitor.o dsrec.o"
391         gdb_sim=../sim/sh/libsim.a
392         ;;
393
394 sparc-*-linux*)
395         # Target: GNU/Linux SPARC
396         gdb_target_obs="sparc-tdep.o sparc-sol2-tdep.o sol2-tdep.o \
397                         sparc-linux-tdep.o solib.o solib-svr4.o symfile-mem.o"
398         ;;
399 sparc64-*-linux*)
400         # Target: GNU/Linux UltraSPARC
401         gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o sol2-tdep.o \
402                         sparc64-linux-tdep.o sparc-tdep.o sparc-sol2-tdep.o \
403                         sparc-linux-tdep.o solib.o solib-svr4.o"
404         ;;
405 sparc*-*-freebsd* | sparc*-*-kfreebsd*-gnu)
406         # Target: FreeBSD/sparc64
407         gdb_target_obs="sparc-tdep.o sparc64-tdep.o sparc64fbsd-tdep.o \
408                         corelow.o solib.o solib-svr4.o"
409         ;;
410 sparc-*-netbsd* | sparc-*-knetbsd*-gnu)
411         # Target: NetBSD/sparc
412         gdb_target_obs="sparc-tdep.o sparcnbsd-tdep.o nbsd-tdep.o \
413                         corelow.o solib.o solib-svr4.o"
414         ;;
415 sparc64-*-netbsd* | sparc64-*-knetbsd*-gnu)
416         # Target: NetBSD/sparc64
417         gdb_target_obs="sparc64-tdep.o sparc64nbsd-tdep.o sparc-tdep.o \
418                         sparcnbsd-tdep.o nbsd-tdep.o \
419                         corelow.o solib.o solib-svr4.o"
420         ;;
421 sparc-*-openbsd*)
422         # Target: OpenBSD/sparc
423         gdb_target_obs="sparc-tdep.o sparcnbsd-tdep.o sparcobsd-tdep.o \
424                         nbsd-tdep.o obsd-tdep.o bsd-uthread.o \
425                         corelow.o solib.o solib-svr4.o"
426         ;;
427 sparc64-*-openbsd*)
428         # Target: OpenBSD/sparc64
429         gdb_target_obs="sparc64-tdep.o sparc64nbsd-tdep.o sparc64obsd-tdep.o \
430                         sparc-tdep.o sparcnbsd-tdep.o sparcobsd-tdep.o \
431                         nbsd-tdep.o obsd-tdep.o bsd-uthread.o \
432                         corelow.o solib.o solib-svr4.o"
433         ;;
434 sparc-*-solaris2.[0-6] | sparc-*-solaris2.[0-6].*)
435         # Target: Solaris SPARC
436         gdb_target_obs="sparc-tdep.o sparc-sol2-tdep.o sol2-tdep.o \
437                         solib.o solib-svr4.o"
438         ;;
439 sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*)
440         # Target: Solaris UltraSPARC
441         gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o sparc-tdep.o \
442                         sparc-sol2-tdep.o sol2-tdep.o solib.o solib-svr4.o"
443         ;;
444 sparc-*-rtems*)
445         # Target: SPARC embedded with simulator
446         gdb_target_obs="sparc-tdep.o"
447         gdb_sim=../sim/erc32/libsim.a
448         ;;
449 sparc-*-*)
450         # Target: SPARC
451         gdb_target_obs="sparc-tdep.o"
452         ;;
453 sparc64-*-*)
454         # Target: UltraSPARC
455         gdb_target_obs="sparc-tdep.o sparc64-tdep.o"
456         ;;
457
458 spu*-*-*)
459         # Target: Cell BE SPU
460         gdb_target_obs="spu-tdep.o"
461         build_gdbserver=yes
462         ;;
463
464 xstormy16-*-*)
465         # Target: Sanyo Xstormy16a processor
466         gdb_target_obs="xstormy16-tdep.o"
467         # No simulator libraries are needed -- target uses SID.
468         ;;
469
470 v850*-*-elf)
471         # Target: NEC V850 processor
472         gdb_target_obs="v850-tdep.o"
473         gdb_sim=../sim/v850/libsim.a
474         ;;
475
476 vax-*-netbsd* | vax-*-knetbsd*-gnu)
477         # Target: NetBSD/vax
478         gdb_target_obs="vax-tdep.o vaxnbsd-tdep.o \
479                         corelow.o solib.o solib-svr4.o"
480         ;;
481 vax-*-openbsd*)
482         # Target: OpenBSD/vax
483         gdb_target_obs="vax-tdep.o vaxobsd-tdep.o corelow.o"
484         ;;
485 vax-*-*)
486         # Target: VAX running 4.2BSD or Ultrix
487         gdb_target_obs="vax-tdep.o"
488         ;;
489
490 x86_64-*-linux*)
491         # Target: GNU/Linux x86-64
492         gdb_target_obs="amd64-tdep.o amd64-linux-tdep.o i386-tdep.o \
493                         i387-tdep.o i386-linux-tdep.o glibc-tdep.o \
494                         solib.o solib-svr4.o corelow.o symfile-mem.o"
495         build_gdbserver=yes
496         ;;
497 x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu)
498         # Target: FreeBSD/amd64
499         gdb_target_obs="amd64-tdep.o amd64fbsd-tdep.o i386-tdep.o \
500                         i387-tdep.o i386bsd-tdep.o i386fbsd-tdep.o \
501                         bsd-uthread.o corelow.o solib.o solib-svr4.o"
502         ;;
503 x86_64-*-netbsd* | x86_64-*-knetbsd*-gnu)
504         # Target: NetBSD/amd64
505         gdb_target_obs="amd64-tdep.o amd64nbsd-tdep.o i386-tdep.o i387-tdep.o \
506                         nbsd-tdep.o corelow.o solib.o solib-svr4.o"
507         ;;
508 x86_64-*-openbsd*)
509         # Target: OpenBSD/amd64
510         gdb_target_obs="amd64-tdep.o amd64obsd-tdep.o i386-tdep.o \
511                         i387-tdep.o i386bsd-tdep.o i386obsd-tdep.o \
512                         bsd-uthread.o corelow.o solib.o solib-svr4.o"
513         ;;
514
515 xtensa*)
516         # Target: Tensilica Xtensa processors
517         gdb_target_obs="xtensa-tdep.o xtensa-config.o"
518         ;;
519
520 esac
521
522 # map target onto default OS ABI
523
524 case "${targ}" in
525 *-*-freebsd*)   gdb_osabi=GDB_OSABI_FREEBSD_ELF ;;
526 *-*-linux*)     gdb_osabi=GDB_OSABI_LINUX ;;
527 *-*-nto*)       gdb_osabi=GDB_OSABI_QNXNTO ;;
528 m68*-*-openbsd* | m88*-*-openbsd* | vax-*-openbsd*) ;;
529 *-*-openbsd*)   gdb_osabi=GDB_OSABI_OPENBSD_ELF ;;
530 *-*-solaris*)   gdb_osabi=GDB_OSABI_SOLARIS ;;
531 *-*-*-gnu*)     ;; # prevent non-GNU kernels to match the Hurd rule below
532 *-*-gnu*)       gdb_osabi=GDB_OSABI_HURD ;;
533 esac