Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@adacore.com>
To: gdb-patches@sourceware.org
Cc: Joel Brobecker <brobecker@adacore.com>
Subject: [RFC/commit] Add a sparc simulator with the sparc bareboard target.
Date: Thu, 23 Sep 2010 20:14:00 -0000	[thread overview]
Message-ID: <1285267549-8523-1-git-send-email-brobecker@adacore.com> (raw)

This is something that the RTEMS target already does. I think we should
do that for any bareboard sparc.  The simulator might not handle v8 or
v9, I'm not sure, since it is stored in the erc32 subdirectory.  But
at least v7 should work, and I am hoping that anyone interested in later
versions of sparc in the simulator should be able to enhance it so.

gdb/ChangeLog:

        * configure.tgt (sparc-*-*): Set gdb_sim to ../sim/erc32/libsim.a.

Any objection?

---
 gdb/configure.tgt |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/gdb/configure.tgt b/gdb/configure.tgt
index 80cfb49..65e764e 100644
--- a/gdb/configure.tgt
+++ b/gdb/configure.tgt
@@ -523,6 +523,7 @@ 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
-- 
1.7.1


             reply	other threads:[~2010-09-23 18:46 UTC|newest]

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

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=1285267549-8523-1-git-send-email-brobecker@adacore.com \
    --to=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    /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