* configure.tgt: Enable gdbserver for SPU target.
* configure.ac: Build gdbserver when gdb_native is yes.
* configure: Regenerate.
* regformats/reg-spu.dat: New file.
gdbserver/ChangeLog:
* configure.srv: Add target "spu*-*-*".
* Makefile.in (clean): Remove reg-spu.c.
(reg-spu.c, reg-spu.o, spu-low.o): Add dependencies.
* spu-low.c: New file.
+2006-11-24 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * configure.tgt: Enable gdbserver for SPU target.
+ * configure.ac: Build gdbserver when gdb_native is yes.
+ * configure: Regenerate.
+ * regformats/reg-spu.dat: New file.
+
2006-11-24 Ulrich Weigand <uweigand@de.ibm.com>
* findvar.c (address_from_register): New function.
fi
-# We only build gdbserver automatically if host and target are the same.
-if test "x$target" = "x$host"; then
+# We only build gdbserver automatically in a native configuration.
+if test "$gdb_native" = "yes"; then
echo "$as_me:$LINENO: checking whether gdbserver is supported on this host" >&5
echo $ECHO_N "checking whether gdbserver is supported on this host... $ECHO_C" >&6
if test "x$build_gdbserver" = xyes; then
AC_CONFIG_SUBDIRS(multi-ice)
fi
-# We only build gdbserver automatically if host and target are the same.
-if test "x$target" = "x$host"; then
+# We only build gdbserver automatically in a native configuration.
+if test "$gdb_native" = "yes"; then
AC_MSG_CHECKING(whether gdbserver is supported on this host)
if test "x$build_gdbserver" = xyes; then
AC_MSG_RESULT(yes)
sparc-*-*) gdb_target=sparc ;;
sparc64-*-*) gdb_target=sparc64 ;;
-spu*-*-*) gdb_target=spu ;;
+spu*-*-*) gdb_target=spu
+ build_gdbserver=yes
+ ;;
xstormy16-*-*) gdb_target=xstormy16 ;;
+2006-11-24 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * configure.srv: Add target "spu*-*-*".
+ * Makefile.in (clean): Remove reg-spu.c.
+ (reg-spu.c, reg-spu.o, spu-low.o): Add dependencies.
+ * spu-low.c: New file.
+
2006-11-21 Daniel Jacobowitz <dan@codesourcery.com>
Checked in by Joel Brobecker <brobecker@adacore.com>
rm -f version.c
rm -f gdbserver gdbreplay core make.log
rm -f reg-arm.c reg-i386.c reg-ia64.c reg-m32r.c reg-m68k.c reg-mips.c
- rm -f reg-ppc.c reg-sh.c reg-x86-64.c reg-i386-linux.c
+ rm -f reg-ppc.c reg-sh.c reg-spu.c reg-x86-64.c reg-i386-linux.c
rm -f reg-cris.c reg-crisv32.c reg-x86-64-linux.c
maintainer-clean realclean distclean: clean
win32-i386-low.o: win32-i386-low.c $(server_h) $(regdef_h) $(regcache_h)
+spu-low.o: spu-low.c $(server_h)
+
reg-arm.o : reg-arm.c $(regdef_h)
reg-arm.c : $(srcdir)/../regformats/reg-arm.dat $(regdat_sh)
sh $(regdat_sh) $(srcdir)/../regformats/reg-arm.dat reg-arm.c
reg-sh.o : reg-sh.c $(regdef_h)
reg-sh.c : $(srcdir)/../regformats/reg-sh.dat $(regdat_sh)
sh $(regdat_sh) $(srcdir)/../regformats/reg-sh.dat reg-sh.c
+reg-spu.o : reg-spu.c $(regdef_h)
+reg-spu.c : $(srcdir)/../regformats/reg-spu.dat $(regdat_sh)
+ sh $(regdat_sh) $(srcdir)/../regformats/reg-spu.dat reg-spu.c
reg-x86-64.o : reg-x86-64.c $(regdef_h)
reg-x86-64.c : $(srcdir)/../regformats/reg-x86-64.dat $(regdat_sh)
sh $(regdat_sh) $(srcdir)/../regformats/reg-x86-64.dat reg-x86-64.c
srv_linux_usrregs=yes
srv_linux_thread_db=yes
;;
+ spu*-*-*) srv_regobj=reg-spu.o
+ srv_tgtobj="spu-low.o"
+ ;;
x86_64-*-linux*) srv_regobj=reg-x86-64-linux.o
srv_tgtobj="linux-low.o linux-x86-64-low.o i387-fp.o"
srv_linux_regsets=yes