aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/configure.srv
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim@kugelworks.com>2009-11-17 17:58:15 +0000
committerMaxim Kuvyrkov <maxim@kugelworks.com>2009-11-17 17:58:15 +0000
commit9ac544cece0ff0ae2782d70049c8c8f0a3924bf7 (patch)
tree782d6066d96c00a6f95437799f9290ef0618b4b7 /gdb/gdbserver/configure.srv
parent86443c3e9445d0cce7138f913c8979972c1d7b9d (diff)
downloadgdb-9ac544cece0ff0ae2782d70049c8c8f0a3924bf7.zip
gdb-9ac544cece0ff0ae2782d70049c8c8f0a3924bf7.tar.gz
gdb-9ac544cece0ff0ae2782d70049c8c8f0a3924bf7.tar.bz2
2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
2009-11-17 Vladimir Prus <vladimir@codesourcery.com> * Makefile.in (reg-cf.o, reg-cf.c): New targets. * configure.ac: Check for __mcoldfire__ and set gdb_cv_m68k_is_coldfire. * configure.srv: Use gdb_cv_m68k_is_coldfire to select between reg-cf.o and reg-m68k.o. * configure: Regenerated. 2009-11-17 Nathan Sidwell <nathan@codesourcery.com> * regformats/reg-cf.dat: New file.
Diffstat (limited to 'gdb/gdbserver/configure.srv')
-rw-r--r--gdb/gdbserver/configure.srv12
1 files changed, 10 insertions, 2 deletions
diff --git a/gdb/gdbserver/configure.srv b/gdb/gdbserver/configure.srv
index ea746be..1814b0e 100644
--- a/gdb/gdbserver/configure.srv
+++ b/gdb/gdbserver/configure.srv
@@ -98,13 +98,21 @@ case "${target}" in
srv_linux_usrregs=yes
srv_linux_thread_db=yes
;;
- m68*-*-linux*) srv_regobj=reg-m68k.o
+ m68*-*-linux*) if test "$gdb_cv_m68k_is_coldfire" = yes; then
+ srv_regobj=reg-cf.o
+ else
+ src_regobj=reg-m68k.o
+ fi
srv_tgtobj="linux-low.o linux-m68k-low.o"
srv_linux_usrregs=yes
srv_linux_regsets=yes
srv_linux_thread_db=yes
;;
- m68*-*-uclinux*) srv_regobj=reg-m68k.o
+ m68*-*-uclinux*) if test "$gdb_cv_m68k_is_coldfire" = yes; then
+ srv_regobj=reg-cf.o
+ else
+ src_regobj=reg-m68k.o
+ fi
srv_tgtobj="linux-low.o linux-m68k-low.o"
srv_linux_usrregs=yes
srv_linux_regsets=yes