]>
Commit | Line | Data |
---|---|---|
c906108c SS |
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 | ||
8 | # Map host cpu into the config cpu subdirectory name. | |
9 | # The default is $host_cpu. | |
10 | ||
11 | case "${host_cpu}" in | |
12 | ||
13 | alpha*) gdb_host_cpu=alpha ;; | |
f2ae7829 | 14 | arm*) gdb_host_cpu=arm ;; |
c906108c SS |
15 | hppa*) gdb_host_cpu=pa ;; |
16 | i[3456]86*) gdb_host_cpu=i386 ;; | |
17 | m68*) gdb_host_cpu=m68k ;; | |
2aa830e4 | 18 | mips*) gdb_host_cpu=mips ;; |
c906108c | 19 | powerpc*) gdb_host_cpu=powerpc ;; |
ea87b71b | 20 | sparcv9 | sparc64) gdb_host_cpu=sparc ;; |
4009c677 | 21 | s390*) gdb_host_cpu=s390 ;; |
13a38d45 | 22 | sh*) gdb_host_cpu=sh ;; |
abf22e64 | 23 | x86_64*) gdb_host_cpu=i386 ;; |
c906108c SS |
24 | *) gdb_host_cpu=$host_cpu ;; |
25 | ||
26 | esac | |
27 | ||
28 | # map host info into gdb names. | |
29 | ||
30 | case "${host}" in | |
31 | ||
c906108c SS |
32 | alpha*-*-osf1*) gdb_host=alpha-osf1 ;; |
33 | alpha*-*-osf2*) gdb_host=alpha-osf2 ;; | |
34 | alpha*-*-osf[3456789]*) gdb_host=alpha-osf3 ;; | |
35 | alpha*-*-linux*) gdb_host=alpha-linux ;; | |
59c94889 | 36 | alpha*-*-freebsd*) gdb_host=fbsd ;; |
da8ca43d | 37 | alpha*-*-netbsd*) gdb_host=nbsd ;; |
c906108c | 38 | |
f2ae7829 | 39 | arm*-*-linux*) gdb_host=linux ;; |
9eeef8ef JT |
40 | arm*-*-netbsdelf*) gdb_host=nbsdelf ;; |
41 | arm*-*-netbsd*) gdb_host=nbsdaout ;; | |
c906108c | 42 | |
56056df7 | 43 | # OBSOLETE hppa*-*-bsd*) gdb_host=hppabsd ;; |
c906108c SS |
44 | hppa*-*-hiux*) gdb_host=hppahpux ;; |
45 | hppa*-*-hpux10.20) gdb_host=hpux1020 ;; | |
5ec846f9 | 46 | hppa*64*-*-hpux11*) gdb_host=hpux11w ;; |
f2ae7829 | 47 | hppa*-*-hpux11*) gdb_host=hpux11 ;; |
c906108c | 48 | hppa*-*-hpux*) gdb_host=hppahpux ;; |
56056df7 | 49 | # OBSOLETE hppa*-*-osf*) gdb_host=hppaosf ;; |
c906108c SS |
50 | |
51 | i[3456]86-ncr-*) gdb_host=ncr3000 ;; | |
2fbce691 AC |
52 | # OBSOLETE i[3456]86-sequent-bsd*) gdb_host=symmetry ;; # dynix |
53 | # OBSOLETE i[3456]86-sequent-sysv4*) gdb_host=ptx4 ;; | |
54 | # OBSOLETE i[3456]86-sequent-sysv*) gdb_host=ptx ;; | |
c906108c | 55 | i[3456]86-*-bsd*) gdb_host=i386bsd ;; |
4d3f6bce | 56 | i[3456]86-*-dgux*) gdb_host=i386v4 ;; |
c906108c | 57 | i[3456]86-*-freebsd*) gdb_host=fbsd ;; |
ca04024d | 58 | i[3456]86-*-netbsdelf*) gdb_host=nbsdelf ;; |
9eeef8ef JT |
59 | i[3456]86-*-netbsdaout*) gdb_host=nbsdaout ;; |
60 | i[3456]86-*-netbsd*) gdb_host=nbsdaout ;; | |
c906108c | 61 | i[3456]86-*-go32*) gdb_host=go32 ;; |
f2ae7829 | 62 | i[3456]86-*-msdosdjgpp*) gdb_host=go32 ;; |
c906108c SS |
63 | i[3456]86-*-linux*) gdb_host=linux ;; |
64 | i[3456]86-*-lynxos*) gdb_host=i386lynx ;; | |
c906108c | 65 | i[3456]86-*-gnu*) gdb_host=i386gnu ;; |
eb7cedd9 | 66 | i[3456]86-*-openbsd*) gdb_host=obsd ;; |
c906108c SS |
67 | i[3456]86-*-sco3.2v5*) gdb_host=i386sco5 ;; |
68 | i[3456]86-*-sco3.2v4*) gdb_host=i386sco4 ;; | |
69 | i[3456]86-*-sco*) gdb_host=i386sco ;; | |
70 | i[3456]86-*-solaris*) gdb_host=i386sol2 ;; | |
c906108c SS |
71 | i[3456]86-*-sysv4.2*) gdb_host=i386v42mp ;; |
72 | i[3456]86-*-sysv4*) gdb_host=i386v4 ;; | |
73 | i[3456]86-*-sysv5*) gdb_host=i386v42mp ;; | |
74 | i[3456]86-*-unixware2*) gdb_host=i386v42mp ;; | |
75 | i[3456]86-*-unixware*) gdb_host=i386v4 ;; | |
76 | i[3456]86-*-sysv*) gdb_host=i386v ;; | |
f7a30bdf | 77 | i[3456]86-*-isc*) gdb_host=i386v ;; |
c906108c | 78 | i[3456]86-*-cygwin*) gdb_host=cygwin ;; |
eafb8301 | 79 | |
596c9d4b | 80 | ia64-*-aix*) gdb_host=aix ;; |
eafb8301 KB |
81 | ia64-*-linux*) gdb_host=linux ;; |
82 | ||
c906108c SS |
83 | m680[01]0-sun-sunos3*) gdb_host=sun2os3 ;; |
84 | m680[01]0-sun-sunos4*) gdb_host=sun2os4 ;; | |
c906108c | 85 | |
c906108c SS |
86 | m68*-att-*) gdb_host=3b1 ;; |
87 | m68*-bull*-sysv*) gdb_host=dpx2 ;; | |
c906108c SS |
88 | m68*-*-linux*) gdb_host=linux ;; |
89 | m68*-*-lynxos*) gdb_host=m68klynx ;; | |
9eeef8ef | 90 | m68*-*-netbsd*) gdb_host=nbsdaout ;; |
c906108c SS |
91 | m68*-*-sysv4*) gdb_host=m68kv4 ;; |
92 | m68*-motorola-*) gdb_host=delta68 ;; | |
c906108c SS |
93 | m68*-sun-sunos3*) gdb_host=sun3os3 ;; |
94 | m68*-sun-sunos4*) gdb_host=sun3os4 ;; | |
95 | m68*-sun-*) gdb_host=sun3os4 ;; | |
96 | ||
78c43945 | 97 | # OBSOLETE mips-dec-mach3*) gdb_host=mipsm3 ;; |
c906108c SS |
98 | mips-dec-*) gdb_host=decstation ;; |
99 | mips-little-*) gdb_host=littlemips ;; | |
100 | mips-sgi-irix3*) gdb_host=irix3 ;; | |
101 | mips-sgi-irix4*) gdb_host=irix4 ;; | |
102 | mips-sgi-irix5*) gdb_host=irix5 ;; | |
1d06468c | 103 | mips-sgi-irix6*) gdb_host=irix6 ;; |
c906108c | 104 | mips-sony-*) gdb_host=news-mips ;; |
2aa830e4 | 105 | mips*-*-linux*) gdb_host=linux ;; |
45888261 | 106 | mips*-*-netbsd*) gdb_host=nbsd ;; |
c906108c SS |
107 | mips-*-mach3*) gdb_host=mipsm3 ;; |
108 | mips-*-sysv4*) gdb_host=mipsv4 ;; | |
109 | mips-*-sysv*) gdb_host=riscos ;; | |
110 | mips-*-riscos*) gdb_host=riscos ;; | |
111 | ||
112 | none-*-*) gdb_host=none ;; | |
113 | ||
9eeef8ef | 114 | ns32k-*-netbsd*) gdb_host=nbsdaout ;; |
c906108c | 115 | |
c41669e0 KB |
116 | powerpc-*-aix3*) gdb_host=aix ;; |
117 | powerpc-*-aix4.[0-2]*) gdb_host=aix ;; | |
118 | powerpc-*-aix4.3.[0-1]*) gdb_host=aix ;; | |
119 | powerpc-*-aix*) gdb_host=aix432 ;; | |
c906108c | 120 | powerpc-*-linux*) gdb_host=linux ;; |
e42180d7 | 121 | powerpc-*-netbsd*) gdb_host=nbsd ;; |
c906108c | 122 | |
c906108c SS |
123 | rs6000-*-lynxos*) gdb_host=rs6000lynx ;; |
124 | rs6000-*-aix4*) gdb_host=aix4 ;; | |
125 | rs6000-*-*) gdb_host=rs6000 ;; | |
126 | ||
4009c677 AC |
127 | s390*-*-*) gdb_host=s390 ;; |
128 | ||
13a38d45 JT |
129 | sh*-*-netbsdelf*) gdb_host=nbsd ;; |
130 | ||
c906108c SS |
131 | sparc-*-linux*) gdb_host=linux ;; |
132 | sparc-*-lynxos*) gdb_host=sparclynx ;; | |
f2ae7829 | 133 | sparc-*-netbsdelf*) gdb_host=nbsdelf ;; |
9eeef8ef JT |
134 | sparc-*-netbsdaout*) gdb_host=nbsdaout ;; |
135 | sparc-*-netbsd*) gdb_host=nbsdaout ;; | |
c906108c SS |
136 | sparc-*-solaris2*) gdb_host=sun4sol2 ;; |
137 | sparc-*-sunos4*) gdb_host=sun4os4 ;; | |
138 | sparc-*-sunos5*) gdb_host=sun4sol2 ;; | |
139 | sparc-*-*) gdb_host=sun4os4 ;; | |
54394ac3 DB |
140 | sparc64-*-freebsd*|ultrasparc-*-freebsd*|sparcv9-*-freebsd*) |
141 | gdb_host=fbsd ;; | |
86168def | 142 | sparc64-*-linux*) gdb_host=linux ;; |
9ce5c36a | 143 | sparc64-*-netbsd*) gdb_host=nbsd64 ;; |
ea87b71b | 144 | sparcv9-*-* | sparc64-*-*) gdb_host=sun4sol2 ;; |
c906108c | 145 | |
c906108c SS |
146 | vax-*-bsd*) gdb_host=vaxbsd ;; |
147 | vax-*-ultrix2*) gdb_host=vaxult2 ;; | |
148 | vax-*-ultrix*) gdb_host=vaxult ;; | |
149 | ||
abf22e64 AJ |
150 | x86_64-*-linux*) gdb_host=x86-64linux ;; |
151 | ||
c906108c | 152 | esac |