]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
ChangeLog:
authorUlrich Weigand <uweigand@de.ibm.com>
Fri, 24 Nov 2006 20:11:07 +0000 (20:11 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Fri, 24 Nov 2006 20:11:07 +0000 (20:11 +0000)
* 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.

gdb/ChangeLog
gdb/configure
gdb/configure.ac
gdb/configure.tgt
gdb/gdbserver/ChangeLog
gdb/gdbserver/Makefile.in
gdb/gdbserver/configure.srv

index cdc36a841d63d921c9c346dc350333198f917d0f..487a27e6454243c07e9e640ffa15b88503377279 100644 (file)
@@ -1,3 +1,10 @@
+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.
index 5aa226fad83021506644458cc7c299d6b157528e..0d331c33a33ce7df5bdbb46f1d06fd72a60852e5 100755 (executable)
@@ -22646,8 +22646,8 @@ subdirs="$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
   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
index b80f7bd68ab8001ae146eb0ae4f2936ffd3759a3..4deb4f5b43c14af83337cdbfc52c488e9488fbb5 100644 (file)
@@ -1481,8 +1481,8 @@ if test "x$enable_multi_ice" = 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)
index 8c4ccb551f88df3b8c9220bd9eaef64439673279..dd2e719e4c3fbe71d8b2dbb2d5610d78121f37c0 100644 (file)
@@ -210,7 +210,9 @@ sparc-*-rtems*)             gdb_target=embed ;;
 sparc-*-*)             gdb_target=sparc ;;
 sparc64-*-*)           gdb_target=sparc64 ;;
 
-spu*-*-*)              gdb_target=spu ;;
+spu*-*-*)              gdb_target=spu
+                       build_gdbserver=yes
+                       ;;
 
 xstormy16-*-*)          gdb_target=xstormy16 ;;
 
index e31c0244ae958dd6d91bc447d4d7659ddaa98eb9..b57c06686254a04a235812f5a87a3f7b7e129f7b 100644 (file)
@@ -1,3 +1,10 @@
+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>
index f443a2880267cd0ee6dfb2c5142a41f5c124b43c..9748c95c625d2d2aa15dc484bc319dcf398039cb 100644 (file)
@@ -205,7 +205,7 @@ clean:
        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
@@ -289,6 +289,8 @@ linux-x86-64-low.o: linux-x86-64-low.c $(linux_low_h) $(server_h) \
 
 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
@@ -331,6 +333,9 @@ reg-s390x.c : $(srcdir)/../regformats/reg-s390x.dat $(regdat_sh)
 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
index 3287955ed820e036fa752c674350b8848d22f17c..5a4792cece23421e6bdfdb184c42204cb79be70d 100644 (file)
@@ -101,6 +101,9 @@ case "${target}" in
                        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