This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch] Import a basic-sim.exp patch from dejagnu
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Sat, 7 Feb 2004 22:31:29 -0500
- Subject: [patch] Import a basic-sim.exp patch from dejagnu
This patch went in the DejaGNU CVS, and I'm importing it into src so that I
can fix a longstanding bug in simtesting - this and my next patch will fix
gdb.objc/basicclass.exp on simulator targets.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/dejagnu/ChangeLog,v
retrieving revision 1.88
diff -u -p -r1.88 ChangeLog
--- ChangeLog 19 Jan 2004 20:08:45 -0000 1.88
+++ ChangeLog 8 Feb 2004 03:29:40 -0000
@@ -1,3 +1,7 @@
+2004-02-08 Daniel Jacobowitz <drow@mvista.com>
+
+ * baseboards/basic-sim.exp: Set gdb,do_reload_on_run.
+
2003-11-17 Andrew Cagney <cagney@redhat.com>
* lib/framework.exp (clone_output): Write KFAIL messages to the
Index: baseboards/basic-sim.exp
===================================================================
RCS file: /cvs/src/src/dejagnu/baseboards/basic-sim.exp,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 basic-sim.exp
--- baseboards/basic-sim.exp 9 Nov 1999 01:28:42 -0000 1.1.1.1
+++ baseboards/basic-sim.exp 8 Feb 2004 03:29:40 -0000
@@ -49,3 +49,6 @@ proc setup_sim { subdir_name } {
}
set_board_info is_simulator 1;
+
+# Most simulators need the image reloaded and reinitialized to rerun.
+set_board_info gdb,do_reload_on_run 1