[RFC/commit] Add a sparc simulator with the sparc bareboard target.

Joel Brobecker brobecker@adacore.com
Thu Sep 23 20:14:00 GMT 2010


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



More information about the Gdb-patches mailing list