* splay-tree.h (libi_uhostptr_t, libi_shostptr_t): Adjust types
[deliverable/binutils-gdb.git] / gdb / gdbserver / configure.srv
CommitLineData
7ea81414
DJ
1# Mappings from configuration triplets to gdbserver build options.
2# This is invoked from the autoconf-generated configure script, to
3# produce the appropriate Makefile substitutions.
4
5# This file sets the following shell variables:
6# srv_regobj The register protocol appropriate for this target.
7# srv_tgtobj Any other target-specific modules appropriate
8# for this target.
fb1e4ffc
DJ
9# srv_xmltarget The XML source file to use for target.xml, if any.
10# srv_xmlfiles Any other XML files which should be available for
11# gdbserver in this configuration.
7ea81414
DJ
12#
13# In addition, on GNU/Linux the following shell variables will be set:
14# srv_linux_regsets Set to "yes" if ptrace(PTRACE_GETREGS) and friends
15# may be available on this platform; unset otherwise.
58caa3dc
DJ
16# They will only be used if <sys/ptrace.h> defines
17# PTRACE_GETREGS.
18# srv_linux_usrregs Set to "yes" if we can get at registers via
19# PTRACE_PEEKUSR / PTRACE_POKEUSR.
7ea81414
DJ
20
21# Input is taken from the "${target}" variable.
22
23case "${target}" in
fb1e4ffc 24 arm*-*-linux*) srv_tgtobj="linux-low.o linux-arm-low.o"
58caa3dc 25 srv_linux_usrregs=yes
fb1e4ffc 26 srv_linux_regsets=yes
0d62e5e8 27 srv_linux_thread_db=yes
fb1e4ffc
DJ
28 if test $gdb_cv_arm_iwmmxt = yes; then
29 srv_regobj=arm-with-iwmmxt.o
30 srv_xmltarget=arm-with-iwmmxt.xml
31 srv_xmlfiles="arm-core.xml xscale-iwmmxt.xml"
32 else
33 srv_regobj=reg-arm.o
34 fi
7ea81414 35 ;;
d99f33d8
PA
36 arm*-*-mingw32ce*) srv_regobj=reg-arm.o
37 srv_tgtobj="win32-low.o win32-arm-low.o"
38 srv_tgtobj="${srv_tgtobj} wincecompat.o"
39 srv_mingw=yes
40 srv_mingwce=yes
41 ;;
45b134e5
OF
42 crisv32-*-linux*) srv_regobj=reg-crisv32.o
43 srv_tgtobj="linux-low.o linux-crisv32-low.o"
44 srv_linux_regsets=yes
45 srv_linux_thread_db=yes
46 ;;
47 cris-*-linux*) srv_regobj=reg-cris.o
48 srv_tgtobj="linux-low.o linux-cris-low.o"
49 srv_linux_usrregs=yes
50 srv_linux_thread_db=yes
51 ;;
b80864fb 52 i[34567]86-*-cygwin*) srv_regobj=reg-i386.o
68070c10 53 srv_tgtobj="win32-low.o win32-i386-low.o"
b80864fb 54 ;;
1581182a 55 i[34567]86-*-linux*) srv_regobj=reg-i386-linux.o
58caa3dc
DJ
56 srv_tgtobj="linux-low.o linux-i386-low.o i387-fp.o"
57 srv_linux_usrregs=yes
58 srv_linux_regsets=yes
0d62e5e8 59 srv_linux_thread_db=yes
7ea81414 60 ;;
b80864fb 61 i[34567]86-*-mingw*) srv_regobj=reg-i386.o
68070c10 62 srv_tgtobj="win32-low.o win32-i386-low.o"
b80864fb
DJ
63 srv_mingw=yes
64 ;;
7ea81414
DJ
65 ia64-*-linux*) srv_regobj=reg-ia64.o
66 srv_tgtobj="linux-low.o linux-ia64-low.o"
58caa3dc 67 srv_linux_usrregs=yes
7ea81414 68 ;;
7cfbc4a0
KI
69 m32r*-*-linux*) srv_regobj=reg-m32r.o
70 srv_tgtobj="linux-low.o linux-m32r-low.o"
71 srv_linux_usrregs=yes
72 srv_linux_thread_db=yes
73 ;;
7ea81414
DJ
74 m68*-*-linux*) srv_regobj=reg-m68k.o
75 srv_tgtobj="linux-low.o linux-m68k-low.o"
58caa3dc 76 srv_linux_usrregs=yes
db1d3e1b
AS
77 srv_linux_regsets=yes
78 srv_linux_thread_db=yes
7ea81414 79 ;;
52fb6437
NS
80 m68*-*-uclinux*) srv_regobj=reg-m68k.o
81 srv_tgtobj="linux-low.o linux-m68k-low.o"
82 srv_linux_usrregs=yes
83 srv_linux_regsets=yes
84 srv_linux_thread_db=yes
85 ;;
117ce543
DJ
86 mips*64*-*-linux*) srv_regobj=mips64-linux.o
87 srv_xmltarget=mips64-linux.xml
88 srv_xmlfiles="mips64-cpu.xml mips64-cp0.xml mips64-fpu.xml"
186947f7
DJ
89 srv_tgtobj="linux-low.o linux-mips-low.o"
90 srv_linux_regsets=yes
91 srv_linux_usrregs=yes
92 srv_linux_thread_db=yes
93 ;;
117ce543
DJ
94 mips*-*-linux*) srv_regobj=mips-linux.o
95 srv_xmltarget=mips-linux.xml
96 srv_xmlfiles="mips-cpu.xml mips-cp0.xml mips-fpu.xml"
7ea81414 97 srv_tgtobj="linux-low.o linux-mips-low.o"
186947f7 98 srv_linux_regsets=yes
58caa3dc 99 srv_linux_usrregs=yes
0d62e5e8 100 srv_linux_thread_db=yes
7ea81414 101 ;;
eee84df1
DJ
102 powerpc64-*-linux*) srv_regobj=reg-ppc64.o
103 srv_tgtobj="linux-low.o linux-ppc64-low.o"
104 srv_linux_usrregs=yes
e9d25b98 105 srv_linux_regsets=yes
eee84df1
DJ
106 srv_linux_thread_db=yes
107 ;;
108 powerpc-*-linux*) srv_regobj=reg-ppc.o
7ea81414 109 srv_tgtobj="linux-low.o linux-ppc-low.o"
58caa3dc 110 srv_linux_usrregs=yes
e9d25b98 111 srv_linux_regsets=yes
0d62e5e8 112 srv_linux_thread_db=yes
7ea81414 113 ;;
265f716b
DJ
114 s390-*-linux*) srv_regobj=reg-s390.o
115 srv_tgtobj="linux-low.o linux-s390-low.o"
116 srv_linux_usrregs=yes
b7149293
UW
117 srv_linux_regsets=yes
118 srv_linux_thread_db=yes
265f716b
DJ
119 ;;
120 s390x-*-linux*) srv_regobj=reg-s390x.o
121 srv_tgtobj="linux-low.o linux-s390-low.o"
122 srv_linux_usrregs=yes
b7149293
UW
123 srv_linux_regsets=yes
124 srv_linux_thread_db=yes
265f716b 125 ;;
7ea81414
DJ
126 sh*-*-linux*) srv_regobj=reg-sh.o
127 srv_tgtobj="linux-low.o linux-sh-low.o"
58caa3dc 128 srv_linux_usrregs=yes
0d62e5e8 129 srv_linux_thread_db=yes
58caa3dc 130 ;;
a13e2c95
UW
131 spu*-*-*) srv_regobj=reg-spu.o
132 srv_tgtobj="spu-low.o"
133 ;;
8695c747 134 x86_64-*-linux*) srv_regobj=reg-x86-64-linux.o
58caa3dc
DJ
135 srv_tgtobj="linux-low.o linux-x86-64-low.o i387-fp.o"
136 srv_linux_regsets=yes
011a70c2 137 srv_linux_thread_db=yes
7ea81414 138 ;;
7f313d07
BC
139 xscale*-*-linux*) srv_regobj=reg-arm.o
140 srv_tgtobj="linux-low.o linux-arm-low.o"
141 srv_linux_usrregs=yes
142 srv_linux_thread_db=yes
143 ;;
7ea81414
DJ
144 *) echo "Error: target not supported by gdbserver."
145 exit 1
146 ;;
147esac
This page took 0.399906 seconds and 4 git commands to generate.