]>
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 ;; | |
18 | m88*) gdb_host_cpu=m88k ;; | |
2aa830e4 | 19 | mips*) gdb_host_cpu=mips ;; |
c906108c SS |
20 | powerpc*) gdb_host_cpu=powerpc ;; |
21 | sparc64) gdb_host_cpu=sparc ;; | |
4009c677 | 22 | s390*) gdb_host_cpu=s390 ;; |
c906108c SS |
23 | *) gdb_host_cpu=$host_cpu ;; |
24 | ||
25 | esac | |
26 | ||
27 | # map host info into gdb names. | |
28 | ||
29 | case "${host}" in | |
30 | ||
4a1968f4 | 31 | # OBSOLETE a29k-*-*) gdb_host=ultra3 ;; |
c906108c SS |
32 | |
33 | alpha*-*-osf1*) gdb_host=alpha-osf1 ;; | |
34 | alpha*-*-osf2*) gdb_host=alpha-osf2 ;; | |
35 | alpha*-*-osf[3456789]*) gdb_host=alpha-osf3 ;; | |
36 | alpha*-*-linux*) gdb_host=alpha-linux ;; | |
59c94889 | 37 | alpha*-*-freebsd*) gdb_host=fbsd ;; |
c906108c | 38 | |
f2ae7829 KB |
39 | arm*-*-linux*) gdb_host=linux ;; |
40 | arm*-*-*) gdb_host=arm ;; | |
c906108c | 41 | |
c906108c SS |
42 | hppa*-*-bsd*) gdb_host=hppabsd ;; |
43 | hppa*-*-hiux*) gdb_host=hppahpux ;; | |
44 | hppa*-*-hpux10.20) gdb_host=hpux1020 ;; | |
5ec846f9 | 45 | hppa*64*-*-hpux11*) gdb_host=hpux11w ;; |
f2ae7829 | 46 | hppa*-*-hpux11*) gdb_host=hpux11 ;; |
c906108c SS |
47 | hppa*-*-hpux*) gdb_host=hppahpux ;; |
48 | hppa*-*-osf*) gdb_host=hppaosf ;; | |
49 | ||
50 | i[3456]86-ncr-*) gdb_host=ncr3000 ;; | |
51 | i[3456]86-sequent-bsd*) gdb_host=symmetry ;; # dynix | |
52 | i[3456]86-sequent-sysv4*) gdb_host=ptx4 ;; | |
53 | i[3456]86-sequent-sysv*) gdb_host=ptx ;; | |
54 | i[3456]86-*-aix*) gdb_host=i386aix ;; | |
55 | i[3456]86-*-bsd*) gdb_host=i386bsd ;; | |
56 | i[3456]86-*-dgux*) gdb_host=i386dgux ;; | |
57 | i[3456]86-*-freebsd*) gdb_host=fbsd ;; | |
ca04024d C |
58 | i[3456]86-*-netbsdelf*) gdb_host=nbsdelf ;; |
59 | i[3456]86-*-netbsdaout*) gdb_host=nbsd ;; | |
c906108c SS |
60 | i[3456]86-*-netbsd*) gdb_host=nbsd ;; |
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 ;; | |
65 | i[3456]86-*-mach3*) gdb_host=i386m3 ;; | |
66 | i[3456]86-*-mach*) gdb_host=i386mach ;; | |
67 | i[3456]86-*-gnu*) gdb_host=i386gnu ;; | |
68 | i[3456]86-*-osf1mk*) gdb_host=i386mk ;; | |
69 | i[3456]86-*-sco3.2v5*) gdb_host=i386sco5 ;; | |
70 | i[3456]86-*-sco3.2v4*) gdb_host=i386sco4 ;; | |
71 | i[3456]86-*-sco*) gdb_host=i386sco ;; | |
72 | i[3456]86-*-solaris*) gdb_host=i386sol2 ;; | |
24f89b68 | 73 | # OBSOLETE i[3456]86-*-sunos*) gdb_host=sun386 ;; |
c906108c SS |
74 | i[3456]86-*-sysv3.2*) gdb_host=i386v32 ;; |
75 | i[3456]86-*-sysv32*) gdb_host=i386v32 ;; | |
76 | i[3456]86-*-sysv4.2*) gdb_host=i386v42mp ;; | |
77 | i[3456]86-*-sysv4*) gdb_host=i386v4 ;; | |
78 | i[3456]86-*-sysv5*) gdb_host=i386v42mp ;; | |
79 | i[3456]86-*-unixware2*) gdb_host=i386v42mp ;; | |
80 | i[3456]86-*-unixware*) gdb_host=i386v4 ;; | |
81 | i[3456]86-*-sysv*) gdb_host=i386v ;; | |
82 | i[3456]86-*-isc*) gdb_host=i386v32 ;; | |
83 | i[3456]86-*-cygwin*) gdb_host=cygwin ;; | |
eafb8301 | 84 | |
596c9d4b | 85 | ia64-*-aix*) gdb_host=aix ;; |
eafb8301 KB |
86 | ia64-*-linux*) gdb_host=linux ;; |
87 | ||
c906108c SS |
88 | m680[01]0-sun-sunos3*) gdb_host=sun2os3 ;; |
89 | m680[01]0-sun-sunos4*) gdb_host=sun2os4 ;; | |
514e603d | 90 | # OBSOLETE m68030-sony-*) gdb_host=news1000 ;; |
c906108c | 91 | |
c906108c SS |
92 | m68*-apollo*-sysv*) gdb_host=apollo68v ;; |
93 | m68*-apollo*-bsd*) gdb_host=apollo68b ;; | |
94 | m68*-att-*) gdb_host=3b1 ;; | |
95 | m68*-bull*-sysv*) gdb_host=dpx2 ;; | |
96 | m68*-hp-bsd*) gdb_host=hp300bsd ;; | |
97 | m68*-hp-hpux*) gdb_host=hp300hpux ;; | |
514e603d | 98 | # OBSOLETE m68*-isi-*) gdb_host=isi ;; |
c906108c SS |
99 | m68*-*-linux*) gdb_host=linux ;; |
100 | m68*-*-lynxos*) gdb_host=m68klynx ;; | |
101 | m68*-*-netbsd*) gdb_host=nbsd ;; | |
102 | m68*-*-sysv4*) gdb_host=m68kv4 ;; | |
103 | m68*-motorola-*) gdb_host=delta68 ;; | |
514e603d | 104 | # OBSOLETE m68*-sony-*) gdb_host=news ;; |
c906108c SS |
105 | m68*-sun-sunos3*) gdb_host=sun3os3 ;; |
106 | m68*-sun-sunos4*) gdb_host=sun3os4 ;; | |
107 | m68*-sun-*) gdb_host=sun3os4 ;; | |
108 | ||
1b594327 | 109 | # OBSOLETE m88*-harris-cxux*) gdb_host=cxux ;; |
c906108c SS |
110 | m88*-motorola-sysv4*) gdb_host=delta88v4 ;; |
111 | m88*-motorola-sysv*) gdb_host=delta88 ;; | |
112 | m88*-*-*) gdb_host=m88k ;; | |
113 | ||
f2ae7829 | 114 | mips-dec-mach3*) gdb_host=mipsm3 ;; |
c906108c SS |
115 | mips-dec-*) gdb_host=decstation ;; |
116 | mips-little-*) gdb_host=littlemips ;; | |
117 | mips-sgi-irix3*) gdb_host=irix3 ;; | |
118 | mips-sgi-irix4*) gdb_host=irix4 ;; | |
119 | mips-sgi-irix5*) gdb_host=irix5 ;; | |
1d06468c | 120 | mips-sgi-irix6*) gdb_host=irix6 ;; |
c906108c | 121 | mips-sony-*) gdb_host=news-mips ;; |
2aa830e4 | 122 | mips*-*-linux*) gdb_host=linux ;; |
c906108c SS |
123 | mips-*-mach3*) gdb_host=mipsm3 ;; |
124 | mips-*-sysv4*) gdb_host=mipsv4 ;; | |
125 | mips-*-sysv*) gdb_host=riscos ;; | |
126 | mips-*-riscos*) gdb_host=riscos ;; | |
127 | ||
128 | none-*-*) gdb_host=none ;; | |
129 | ||
bb19ff3b | 130 | # OBSOLETE ns32k-*-mach3*) gdb_host=ns32km3 ;; |
c906108c | 131 | ns32k-*-netbsd*) gdb_host=nbsd ;; |
bb19ff3b AC |
132 | # OBSOLETE ns32k-umax-*) gdb_host=umax ;; |
133 | # OBSOLETE ns32k-utek-sysv*) gdb_host=merlin ;; | |
c906108c SS |
134 | |
135 | powerpc-*-aix*) gdb_host=aix ;; | |
1b2b2c16 AC |
136 | # OBSOLETE powerpcle-*-cygwin*) gdb_host=cygwin ;; |
137 | # OBSOLETE powerpcle-*-solaris*) gdb_host=solaris ;; | |
c906108c | 138 | powerpc-*-linux*) gdb_host=linux ;; |
e42180d7 | 139 | powerpc-*-netbsd*) gdb_host=nbsd ;; |
c906108c | 140 | |
c906108c SS |
141 | rs6000-*-lynxos*) gdb_host=rs6000lynx ;; |
142 | rs6000-*-aix4*) gdb_host=aix4 ;; | |
143 | rs6000-*-*) gdb_host=rs6000 ;; | |
144 | ||
4009c677 AC |
145 | s390*-*-*) gdb_host=s390 ;; |
146 | ||
c906108c SS |
147 | sparc-*-linux*) gdb_host=linux ;; |
148 | sparc-*-lynxos*) gdb_host=sparclynx ;; | |
f2ae7829 KB |
149 | sparc-*-netbsdelf*) gdb_host=nbsdelf ;; |
150 | sparc-*-netbsdaout*) gdb_host=nbsd ;; | |
c906108c SS |
151 | sparc-*-netbsd*) gdb_host=nbsd ;; |
152 | sparc-*-solaris2*) gdb_host=sun4sol2 ;; | |
153 | sparc-*-sunos4*) gdb_host=sun4os4 ;; | |
154 | sparc-*-sunos5*) gdb_host=sun4sol2 ;; | |
155 | sparc-*-*) gdb_host=sun4os4 ;; | |
86168def | 156 | sparc64-*-linux*) gdb_host=linux ;; |
c906108c SS |
157 | sparc64-*-*) gdb_host=sun4sol2 ;; |
158 | ||
159 | strongarm-*-*) gdb_host=arm ;; | |
7cf6486b | 160 | xscale-*-*) gdb_host=arm ;; |
c906108c | 161 | |
c906108c SS |
162 | vax-*-bsd*) gdb_host=vaxbsd ;; |
163 | vax-*-ultrix2*) gdb_host=vaxult2 ;; | |
164 | vax-*-ultrix*) gdb_host=vaxult ;; | |
165 | ||
166 | esac |