aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/configure.srv
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2009-11-03 09:33:18 +0000
committerNathan Sidwell <nathan@codesourcery.com>2009-11-03 09:33:18 +0000
commit8838b45ede3169a840916bbe0234f1f9f451c9b3 (patch)
tree751c59c90d6c5b5dc39dc551194ccf14c134a3ed /gdb/gdbserver/configure.srv
parentadcc1315490f7685a8cfbc8593cf746b465490e9 (diff)
downloadgdb-8838b45ede3169a840916bbe0234f1f9f451c9b3.zip
gdb-8838b45ede3169a840916bbe0234f1f9f451c9b3.tar.gz
gdb-8838b45ede3169a840916bbe0234f1f9f451c9b3.tar.bz2
* configure.ac (i[34567]86-*): Check if we're targetting x86-64
with an i686 compiler. * configure.srv (i[34567]86-*-linux*): Pull in x86-64 handling if needed. * configure: Rebuilt.
Diffstat (limited to 'gdb/gdbserver/configure.srv')
-rw-r--r--gdb/gdbserver/configure.srv3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/gdbserver/configure.srv b/gdb/gdbserver/configure.srv
index 7aded27..ea746be 100644
--- a/gdb/gdbserver/configure.srv
+++ b/gdb/gdbserver/configure.srv
@@ -64,6 +64,9 @@ case "${target}" in
srv_tgtobj="i386-low.o win32-low.o win32-i386-low.o"
;;
i[34567]86-*-linux*) srv_regobj=reg-i386-linux.o
+ if test "$gdb_cv_i386_is_x86_64" = yes ; then
+ srv_regobj="reg-x86-64-linux.o $srv_regobj"
+ fi
srv_tgtobj="linux-low.o linux-x86-low.o i386-low.o i387-fp.o"
srv_linux_usrregs=yes
srv_linux_regsets=yes