From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28512 invoked by alias); 8 Aug 2006 18:57:49 -0000 Received: (qmail 28504 invoked by uid 22791); 8 Aug 2006 18:57:49 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Tue, 08 Aug 2006 18:57:46 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1GAWlr-00078E-T5; Tue, 08 Aug 2006 14:57:44 -0400 Date: Tue, 08 Aug 2006 18:57:00 -0000 From: Daniel Jacobowitz To: Joel Sherrill Cc: gdb-patches@sourceware.org Subject: Re: GDB 6.5 RTEMS patch Message-ID: <20060808185743.GF24779@nevyn.them.org> Mail-Followup-To: Joel Sherrill , gdb-patches@sourceware.org References: <44B6AFEF.6050903@oarcorp.com> <20060724202837.GE15759@nevyn.them.org> <44C53033.3070404@oarcorp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44C53033.3070404@oarcorp.com> User-Agent: Mutt/1.5.11+cvs20060403 X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-08/txt/msg00051.txt.bz2 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 * config/sparc/embed.mt: New file. * configure.tgt (sparc-*-rtems*): Use embed.mt. 2006-08-08 Joel Sherrill * configure.ac (sparc-*-rtems*|sparc-*-elf*): Enable erc32 simulator. * Makefile.in (FLAGS_TO_PASS): Include libdir. * configure: Regenerated. 2006-08-08 Daniel Jacobowitz * Makefile.in (func.o, help.o): Correct dependencies. 2006-08-08 Joel Sherrill * 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