Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Joel Sherrill <joel.sherrill@oarcorp.com>
Cc: gdb-patches@sourceware.org
Subject: Re: GDB 6.5 RTEMS patch
Date: Tue, 08 Aug 2006 18:57:00 -0000	[thread overview]
Message-ID: <20060808185743.GF24779@nevyn.them.org> (raw)
In-Reply-To: <44C53033.3070404@oarcorp.com>

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


  reply	other threads:[~2006-08-08 18:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-13 20:41 Joel Sherrill
2006-07-24 20:28 ` Daniel Jacobowitz
2006-07-24 20:40   ` Joel Sherrill
2006-08-08 18:57     ` Daniel Jacobowitz [this message]
2006-08-14 15:43   ` Joel Sherrill
2006-10-09 19:11     ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060808185743.GF24779@nevyn.them.org \
    --to=drow@false.org \
    --cc=gdb-patches@sourceware.org \
    --cc=joel.sherrill@oarcorp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox