gdb/
authorDaniel Jacobowitz <drow@false.org>
Tue, 8 Aug 2006 18:57:25 +0000 (18:57 +0000)
committerDaniel Jacobowitz <drow@false.org>
Tue, 8 Aug 2006 18:57:25 +0000 (18:57 +0000)
* config/sparc/embed.mt: New file.
* configure.tgt (sparc-*-rtems*): Use embed.mt.
sim/
* configure.ac (sparc-*-rtems*|sparc-*-elf*): Enable erc32 simulator.
* Makefile.in (FLAGS_TO_PASS): Include libdir.
* configure: Regenerated.
sim/erc32/
* Makefile.in (func.o, help.o): Correct dependencies.
* Makefile.in (install-sis): Honor DESTDIR.

gdb/ChangeLog
gdb/config/sparc/embed.mt [new file with mode: 0644]
gdb/configure.tgt
sim/ChangeLog
sim/Makefile.in
sim/configure
sim/configure.ac
sim/erc32/ChangeLog
sim/erc32/Makefile.in

index 239b96c0e8b07dbdead5b3d5cc14b39d193f36a2..80297e0e6510e9ba5591396c8251292ece159f21 100644 (file)
@@ -1,3 +1,8 @@
+2006-08-08  Joel Sherrill <joel.sherrill@oarcorp.com>
+
+       * config/sparc/embed.mt: New file.
+       * configure.tgt (sparc-*-rtems*): Use embed.mt.
+
 2006-08-08  Daniel Jacobowitz  <dan@codesourcery.com>
 
        * Makefile.in (objfiles.o, symfile.o): Update.
diff --git a/gdb/config/sparc/embed.mt b/gdb/config/sparc/embed.mt
new file mode 100644 (file)
index 0000000..5d3039c
--- /dev/null
@@ -0,0 +1,5 @@
+# Target: SPARC embedded with simulator
+TDEPFILES= sparc-tdep.o
+
+SIM_OBS = remote-sim.o
+SIM = ../sim/erc32/libsim.a
index bbf24962025fb7f41494af825b17ad5682cf6b5d..0e1911df866044f9806de4c9b5e308e034e681ec 100644 (file)
@@ -204,6 +204,7 @@ sparc-*-solaris2.[0-6] | sparc-*-solaris2.[0-6].*)
 sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*)
                        gdb_target=sol2-64
                        ;;
+sparc-*-rtems*)                gdb_target=embed ;;
 sparc-*-*)             gdb_target=sparc ;;
 sparc64-*-*)           gdb_target=sparc64 ;;
 
index 7975de3f5d28e77f764448a43be58ea8c2defe1e..b68d793fd399429254da8b48742d3bad4e545f16 100644 (file)
@@ -1,3 +1,9 @@
+2006-08-08  Joel Sherrill <joel.sherrill@oarcorp.com>
+
+       * configure.ac (sparc-*-rtems*|sparc-*-elf*): Enable erc32 simulator.
+       * Makefile.in (FLAGS_TO_PASS): Include libdir.
+       * configure: Regenerated.
+
 2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
 
        * cris/configure: Regenerated.
index 396062069c03828652f4fadf4439e75654019cb9..28ed0a8b18f39563738c56d96403843b1d02c4db 100644 (file)
@@ -84,6 +84,7 @@ FLAGS_TO_PASS = \
        "exec_prefix=$(exec_prefix)" \
        "bindir=$(bindir)" \
        "mandir=$(mandir)" \
+       "libdir=$(libdir)" \
        "against=$(against)" \
        "AR=$(AR)" \
        "AR_FLAGS=$(AR_FLAGS)" \
index 8346c59d470fce4b2a6c6dcb6ee71a5197f2b79f..cc9a91512069f922abfb5484bfeb0c8f75620766 100755 (executable)
@@ -286,6 +286,7 @@ ac_subdirs_all="$ac_subdirs_all mips"
 ac_subdirs_all="$ac_subdirs_all mn10300"
 ac_subdirs_all="$ac_subdirs_all sh64"
 ac_subdirs_all="$ac_subdirs_all sh"
+ac_subdirs_all="$ac_subdirs_all erc32"
 ac_subdirs_all="$ac_subdirs_all ppc"
 ac_subdirs_all="$ac_subdirs_all v850"
 ac_subdirs_all="$ac_subdirs_all testsuite"
@@ -3522,6 +3523,14 @@ subdirs="$subdirs sh64"
 
 subdirs="$subdirs sh"
 
+          testsuite=yes
+          common=yes
+          ;;
+       sparc-*-rtems*|sparc-*-elf*)
+
+
+subdirs="$subdirs erc32"
+
           testsuite=yes
           common=yes
           ;;
index 205482bcc90d922e3397ffe88683a64d72c95170..b58206e9426d9db4ea93596164c64a99258b610a 100644 (file)
@@ -115,6 +115,11 @@ if test "${enable_sim}" != no; then
           testsuite=yes
           common=yes
           ;;
+       sparc-*-rtems*|sparc-*-elf*)
+          AC_CONFIG_SUBDIRS(erc32)
+          testsuite=yes
+          common=yes
+          ;;
        powerpc*-*-* )
            AC_CONFIG_SUBDIRS(ppc)
           common=yes
index e885bda5ba47135a22f6328ec9a9d4e955cf3653..7cb028f2b7820d387da7e94ad92da807decc7e70 100644 (file)
@@ -1,3 +1,11 @@
+2006-08-08  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * Makefile.in (func.o, help.o): Correct dependencies.
+
+2006-08-08  Joel Sherrill <joel.sherrill@oarcorp.com>
+
+       * Makefile.in (install-sis): Honor DESTDIR.
+
 2006-06-13  Richard Earnshaw  <rearnsha@arm.com>
 
        * configure: Regenerated.
index 845815a174ede3345fb519ecf8f8d80bbbe26147..bb4396b6ed35a05777256c2ef85e6ad43c9f9a58 100644 (file)
@@ -53,7 +53,7 @@ end.h: end
 # Copy the files into directories where they will be run.
 install-sis: installdirs
        n=`echo sis | sed '$(program_transform_name)'`; \
-       $(INSTALL_PROGRAM) sis$(EXEEXT) $(bindir)/$$n$(EXEEXT)
+       $(INSTALL_PROGRAM) sis$(EXEEXT) $(DESTDIR)$(bindir)/$$n$(EXEEXT)
 
 clean-sis:
        rm -f sis end end.h
@@ -69,7 +69,7 @@ configure:
 erc32.o: erc32.c sis.h end.h
 exec.o: exec.c sis.h end.h
 float.o: float.c sis.h end.h
-func.o: func.c
-help.o: help.c
+func.o: func.c sis.h end.h
+help.o: help.c sis.h end.h
 interf.o: interf.c sis.h end.h 
 sis.o: sis.c sis.h end.h