This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]