* configure.ac (i[34567]86-*): Check if we're targetting x86-64
[deliverable/binutils-gdb.git] / gdb / gdbserver / configure.srv
index 7aded2730a0c2a38a7f66d12868e8ba9a5cb38df..ea746be1a13d85339be9590b8641ad1146cf8ea4 100644 (file)
@@ -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
This page took 0.023296 seconds and 4 git commands to generate.