OSDN Git Service

* vax-nat.c: New file.
[pf3gnuchains/pf3gnuchains3x.git] / gdb / configure.host
1 # Mapping of configurations into GDB host definitions.  This is
2 # invoked from the autoconf generated configure script.
3
4 # This file sets the following shell variables:
5 #  gdb_host_cpu                 generic name of host's CPU
6 #  gdb_host                     name of GDB host definition to use
7 #  gdb_host_float_format        host's float floatformat, or 0
8 #  gdb_host_double_format       host's double floatformat, or 0
9 #  gdb_host_long_double_format  host's long double floatformat, or 0
10
11 # Map host cpu into the config cpu subdirectory name.
12 # The default is $host_cpu.
13
14 case "${host_cpu}" in
15
16 alpha*)                 gdb_host_cpu=alpha ;;
17 arm*)                   gdb_host_cpu=arm ;;
18 hppa*)                  gdb_host_cpu=pa ;;
19 i[34567]86*)            gdb_host_cpu=i386 ;;
20 m68*)                   gdb_host_cpu=m68k ;;
21 m88*)                   gdb_host_cpu=m88k ;;
22 mips*)                  gdb_host_cpu=mips ;;
23 powerpc*)               gdb_host_cpu=powerpc ;;
24 sparcv9 | sparc64)      gdb_host_cpu=sparc ;;
25 s390*)                  gdb_host_cpu=s390 ;;
26 sh*)                    gdb_host_cpu=sh ;;
27 x86_64*)                gdb_host_cpu=i386 ;;
28 xscale*)                gdb_host_cpu=arm ;;
29 m32r*)                  gdb_host_cpu=m32r ;;
30 *)                      gdb_host_cpu=$host_cpu ;;
31
32 esac
33
34 # map host info into gdb names.
35
36 case "${host}" in
37
38 alpha*-*-osf1*)         gdb_host=alpha-osf1 ;;
39 alpha*-*-osf2*)         gdb_host=alpha-osf2 ;;
40 alpha*-*-osf[3456789]*) gdb_host=alpha-osf3 ;;
41 alpha*-*-linux*)        gdb_host=alpha-linux ;;
42 alpha*-*-freebsd*)      gdb_host=fbsd ;;
43 alpha*-*-netbsd*)       gdb_host=nbsd ;;
44 alpha*-*-openbsd*)      gdb_host=nbsd ;;
45
46 arm*-*-linux*)          gdb_host=linux ;;
47 arm*-*-netbsdelf*)      gdb_host=nbsdelf ;;
48 arm*-*-netbsd*)         gdb_host=nbsdaout ;;
49
50 hppa*-*-hiux*)          gdb_host=hppahpux ;;
51 hppa*-*-hpux10.20)      gdb_host=hpux1020 ;;
52 hppa*64*-*-hpux11*)     gdb_host=hpux11w ;;
53 hppa*-*-hpux11*)        gdb_host=hpux11 ;;
54 hppa*-*-hpux*)          gdb_host=hppahpux ;;
55 hppa*-*-linux*)         gdb_host=linux ;;
56 hppa*-*-openbsd*)       gdb_host=obsd ;;
57
58 i[34567]86-ncr-*)       gdb_host=ncr3000 ;;
59 i[34567]86-*-dgux*)     gdb_host=i386v4 ;;
60 i[34567]86-*-freebsd* | i[34567]86-*-kfreebsd*-gnu)
61                         gdb_host=fbsd ;;
62 i[34567]86-*-netbsdelf* | i[34567]86-*-knetbsd*-gnu)
63                         gdb_host=nbsdelf ;;
64 i[34567]86-*-freebsd*)  gdb_host=fbsd ;;
65 i[34567]86-*-netbsd*)   gdb_host=nbsdaout ;;
66 i[34567]86-*-go32*)     gdb_host=go32 ;;
67 i[34567]86-*-msdosdjgpp*) gdb_host=go32 ;;
68 i[34567]86-*-linux*)    gdb_host=linux ;;
69 i[34567]86-*-lynxos*)   gdb_host=i386lynx ;;
70 i[34567]86-*-gnu*)      gdb_host=i386gnu ;;
71 i[3456]86-*-nto*)       gdb_host=nto ;;
72 i[34567]86-*-openbsd[0-2].* | i[34567]86-*-openbsd3.[0-3])
73                         gdb_host=obsdaout ;;
74 i[34567]86-*-openbsd*)  gdb_host=obsd ;;
75 i[34567]86-*-sco3.2v5*) gdb_host=i386sco5 ;;
76 i[34567]86-*-sco3.2v4*) gdb_host=i386sco4 ;;
77 i[34567]86-*-sco*)      gdb_host=i386sco ;;
78 i[34567]86-*-solaris*)  gdb_host=i386sol2 ;;
79 i[34567]86-*-sysv4.2*)  gdb_host=i386v42mp ;;
80 i[34567]86-*-sysv4*)    gdb_host=i386v4 ;;
81 i[34567]86-*-sysv5*)    gdb_host=i386v42mp ;;
82 i[34567]86-*-unixware2*)        gdb_host=i386v42mp ;;
83 i[34567]86-*-unixware*) gdb_host=i386v4 ;;
84 i[34567]86-*-sysv*)     gdb_host=i386v ;;
85 i[34567]86-*-isc*)      gdb_host=i386v ;;
86 i[34567]86-*-cygwin*)   gdb_host=cygwin ;;
87
88 ia64-*-aix*)            gdb_host=aix ;;
89 ia64-*-linux*)          gdb_host=linux ;;
90
91 m68*-*-linux*)          gdb_host=linux ;;
92 m68*-*-netbsdelf*)      gdb_host=nbsdelf ;;
93 m68*-*-netbsd*)         gdb_host=nbsdaout ;;
94 m68*-*-openbsd*)        gdb_host=obsd ;;
95
96 m88*-*-openbsd*)        gdb_host=obsd ;;
97
98 mips-sgi-irix5*)        gdb_host=irix5 ;;
99 mips-sgi-irix6*)        gdb_host=irix6 ;;
100 mips*-*-linux*)         gdb_host=linux ;;
101 mips*-*-netbsd*)        gdb_host=nbsd ;;
102
103 ns32k-*-netbsd*)        gdb_host=nbsdaout ;;
104
105 powerpc-*-aix3*)        gdb_host=aix ;;
106 powerpc-*-aix4.[0-2]*)  gdb_host=aix ;;
107 powerpc-*-aix4.3.[0-1]*)        gdb_host=aix ;;
108 powerpc-*-aix*)         gdb_host=aix432 ;;
109 powerpc-*-linux*)       gdb_host=linux ;;
110 powerpc-*-netbsd*)      gdb_host=nbsd ;;
111 powerpc-*-openbsd*)     gdb_host=obsd ;;
112
113 powerpc64-*-linux*)     gdb_host=ppc64-linux ;;
114
115 rs6000-*-lynxos*)       gdb_host=rs6000lynx ;;
116 rs6000-*-aix4*)         gdb_host=aix4 ;;
117 rs6000-*-*)             gdb_host=rs6000 ;;
118
119 s390*-*-*)              gdb_host=s390 ;;
120
121 sh*-*-netbsdelf*)       gdb_host=nbsd ;;
122
123 sparc64-*-freebsd*)     gdb_host=fbsd ;;
124 sparc-*-linux*)         gdb_host=linux ;;
125 sparc64-*-linux*)       gdb_host=linux64 ;;
126 sparc-*-netbsdelf*)     gdb_host=nbsdelf ;;
127 sparc-*-netbsdaout*)    gdb_host=nbsdaout ;;
128 sparc-*-netbsd*)        gdb_host=nbsdaout ;;
129 sparc64-*-netbsd*)      gdb_host=nbsd64 ;;
130 sparc-*-openbsd*)       gdb_host=nbsdelf ;;
131 sparc64-*-openbsd*)     gdb_host=nbsd64 ;;
132 sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*)
133                         gdb_host=sol2
134                         ;;
135
136 vax-*-bsd*)             gdb_host=vax ;;
137 vax-*-netbsdelf*)       gdb_host=nbsdelf ;;
138 vax-*-netbsd*)          gdb_host=nbsdaout ;;
139 vax-*-openbsd*)         gdb_host=obsd ;;
140 vax-*-ultrix*)          gdb_host=vax ;;
141
142 x86_64-*-linux*)        gdb_host=linux64 ;;
143 x86_64-*-freebsd*)      gdb_host=fbsd64 ;;
144 x86_64-*-netbsd*)       gdb_host=nbsd64 ;;
145 x86_64-*-openbsd*)      gdb_host=obsd64 ;;
146
147 m32r*-*-linux*)          gdb_host=linux ;;
148
149 esac
150
151
152
153 # Map the host/cpu onto the floatformat correspondong to C's "float",
154 # "double" and "long double" types.
155
156 case "${host}" in
157 i[34567]86-*-*)
158         gdb_host_float_format="&floatformat_ieee_single_little"
159         gdb_host_double_format="&floatformat_ieee_double_little"
160         gdb_host_long_double_format="&floatformat_i387_ext"
161         ;;
162 hppa*-*-linux*)
163         gdb_host_float_format="&floatformat_ieee_single_big"
164         gdb_host_double_format="&floatformat_ieee_double_big"
165         gdb_host_long_double_format="&floatformat_ieee_double_big"
166         ;;
167 *)
168         gdb_host_float_format=0
169         gdb_host_double_format=0
170         gdb_host_long_double_format=0
171         ;;
172 esac