This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GDB 6.5 RTEMS patch


On Mon, Jul 24, 2006 at 03:40:19PM -0500, Joel Sherrill wrote:
> But why wouldn't you want an explicit break?

*shrug* Doesn't really matter either way.

I checked in this version, with a few cleanups, including a parallel
build fix.

-- 
Daniel Jacobowitz
CodeSourcery

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  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-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.

Index: gdb/configure.tgt
===================================================================
RCS file: /cvs/src/src/gdb/configure.tgt,v
retrieving revision 1.176
diff -u -p -r1.176 configure.tgt
--- gdb/configure.tgt	23 Jul 2006 03:52:15 -0000	1.176
+++ gdb/configure.tgt	8 Aug 2006 18:31:09 -0000
@@ -204,6 +204,7 @@ sparc-*-solaris2.[0-6] | sparc-*-solaris
 sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*)
 			gdb_target=sol2-64
 			;;
+sparc-*-rtems*)		gdb_target=embed ;;
 sparc-*-*)		gdb_target=sparc ;;
 sparc64-*-*)		gdb_target=sparc64 ;;
 
Index: gdb/config/sparc/embed.mt
===================================================================
RCS file: gdb/config/sparc/embed.mt
diff -N gdb/config/sparc/embed.mt
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gdb/config/sparc/embed.mt	8 Aug 2006 18:31:09 -0000
@@ -0,0 +1,5 @@
+# Target: SPARC embedded with simulator
+TDEPFILES= sparc-tdep.o
+
+SIM_OBS = remote-sim.o
+SIM = ../sim/erc32/libsim.a
Index: sim/Makefile.in
===================================================================
RCS file: /cvs/src/src/sim/Makefile.in,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile.in
--- sim/Makefile.in	5 May 2006 17:11:19 -0000	1.7
+++ sim/Makefile.in	8 Aug 2006 18:31:10 -0000
@@ -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: sim/configure.ac
===================================================================
RCS file: /cvs/src/src/sim/configure.ac,v
retrieving revision 1.9
diff -u -p -r1.9 configure.ac
--- sim/configure.ac	5 May 2006 17:11:19 -0000	1.9
+++ sim/configure.ac	8 Aug 2006 18:31:10 -0000
@@ -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: sim/erc32/Makefile.in
===================================================================
RCS file: /cvs/src/src/sim/erc32/Makefile.in,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile.in
--- sim/erc32/Makefile.in	7 Mar 2000 15:32:49 -0000	1.2
+++ sim/erc32/Makefile.in	8 Aug 2006 18:31:11 -0000
@@ -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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]