Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@adacore.com>
To: Mark Kettenis <mark.kettenis@xs4all.nl>
Cc: gdb-patches@sourceware.org
Subject: Re: [RFC/commit] Add a sparc simulator with the sparc bareboard target.
Date: Wed, 29 Sep 2010 02:44:00 -0000	[thread overview]
Message-ID: <20100928214706.GJ3007@adacore.com> (raw)
In-Reply-To: <201009251815.o8PIFZS6001516@glazunov.sibelius.xs4all.nl>

[-- Attachment #1: Type: text/plain, Size: 319 bytes --]

> > gdb/ChangeLog:
> > 
> >         * configure.tgt (sparc-*-*): Set gdb_sim to ../sim/erc32/libsim.a.
> 
> In that case, the sparc-*-rtems* case can probably go.

Agreed. I was going to do that as a separate commit, but might as well
do it at the same time.  Attached is the patch that I checked in.

Thanks,
-- 
Joel

[-- Attachment #2: sparc-sim.diff --]
[-- Type: text/x-diff, Size: 1514 bytes --]

commit cee1d53fc709075e121ad52e12ccb02cf5a53aac
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Thu Sep 23 11:20:49 2010 -0700

    Add a sparc simulator with the sparc bareboard target.
    
    gdb/ChangeLog:
    
            * configure.tgt (sparc-*-*): Set gdb_sim to ../sim/erc32/libsim.a.
            (sparc-*-rtems*): Delete, now redundant with the sparc-*-* case.

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7cf8d90..e8b81e8 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
 2010-09-28  Joel Brobecker  <brobecker@adacore.com>
 
+	* configure.tgt (sparc-*-*): Set gdb_sim to ../sim/erc32/libsim.a.
+        (sparc-*-rtems*): Delete. Now redundant with sparc-*-*.
+
+2010-09-28  Joel Brobecker  <brobecker@adacore.com>
+
 	* NEWS: Announce Ravenscar Profile support.
 
 2010-09-28  Joel Brobecker  <brobecker@adacore.com>
diff --git a/gdb/configure.tgt b/gdb/configure.tgt
index 80cfb49..24a6bf9 100644
--- a/gdb/configure.tgt
+++ b/gdb/configure.tgt
@@ -514,15 +514,11 @@ sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*)
 	gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o sparc-tdep.o \
 			sparc-sol2-tdep.o sol2-tdep.o solib.o solib-svr4.o"
 	;;
-sparc-*-rtems*)
-	# Target: SPARC embedded with simulator
-	gdb_target_obs="sparc-tdep.o"
-	gdb_sim=../sim/erc32/libsim.a
-	;;
 sparc-*-*)
 	# Target: SPARC
 	gdb_target_obs="sparc-tdep.o ravenscar-thread.o \
 			ravenscar-sparc-thread.o"
+	gdb_sim=../sim/erc32/libsim.a
 	;;
 sparc64-*-*)
 	# Target: UltraSPARC

      reply	other threads:[~2010-09-28 21:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-23 20:14 Joel Brobecker
2010-09-27 17:28 ` Mark Kettenis
2010-09-29  2:44   ` Joel Brobecker [this message]

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=20100928214706.GJ3007@adacore.com \
    --to=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    --cc=mark.kettenis@xs4all.nl \
    /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