[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Add a gdb flag to basic-sim
From: |
Daniel Jacobowitz |
Subject: |
Add a gdb flag to basic-sim |
Date: |
Sat, 7 Feb 2004 13:55:04 -0500 |
User-agent: |
Mutt/1.5.1i |
A GDB patch I'm planning to commit soon needs this to be useful. We have
tests that want to run the same program multiple times. For most of the GNU
simulators, if you don't reissue the "load" command, things won't be
adequately reinitialized. So we need to add the flag to the simulator
board descriptions, and then make GDB's testsuite/config/ handle it
properly.
OK?
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
2004-02-07 Daniel Jacobowitz <address@hidden>
* baseboards/basic-sim.exp: Set gdb,do_reload_on_run.
Index: basic-sim.exp
===================================================================
RCS file: /cvsroot/dejagnu/dejagnu/baseboards/basic-sim.exp,v
retrieving revision 1.3
diff -u -p -r1.3 basic-sim.exp
--- basic-sim.exp 23 Aug 2003 01:16:51 -0000 1.3
+++ basic-sim.exp 7 Feb 2004 18:52:12 -0000
@@ -68,3 +68,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
- Add a gdb flag to basic-sim,
Daniel Jacobowitz <=