aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-02-22 08:52:21 +0000
committerAndrew Cagney <cagney@redhat.com>2000-02-22 08:52:21 +0000
commitbaa7ae6f10462c17d2472868e6b1c08d0ba880ae (patch)
tree65209fc2c67d9206338cce6e704dd9e13a383861 /include
parent1287d1cc37aca000234065fd0472a3a9846f4017 (diff)
downloadgdb-baa7ae6f10462c17d2472868e6b1c08d0ba880ae.zip
gdb-baa7ae6f10462c17d2472868e6b1c08d0ba880ae.tar.gz
gdb-baa7ae6f10462c17d2472868e6b1c08d0ba880ae.tar.bz2
When SIM_HAVE_ENVIRONMENT: use sim_set_trace() to enable tracing
instead of sim_trace() to run the program; include support for ``-o'' option (operating environment); when a signal occurs, only continue execution when operating environment mode. Update d10v.
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog5
-rw-r--r--include/remote-sim.h18
2 files changed, 20 insertions, 3 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index f377d21..bd9ba9a 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,8 @@
+Tue Feb 22 15:19:54 2000 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * remote-sim.h (sim_trace): Document return values.
+ (sim_set_trace): Declare. Deprecate.
+
2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
* dis-asm.h (struct disassemble_info): Change `length' param of
diff --git a/include/remote-sim.h b/include/remote-sim.h
index a8eb923..b32f93f 100644
--- a/include/remote-sim.h
+++ b/include/remote-sim.h
@@ -308,15 +308,27 @@ void sim_set_callbacks PARAMS ((struct host_callback_struct *));
void sim_size PARAMS ((int i));
-/* Run a simulation with tracing enabled.
+/* Single-step simulator with tracing enabled.
THIS PROCEDURE IS DEPRECIATED.
+ THIS PROCEDURE IS EVEN MORE DEPRECATED THAN SIM_SET_TRACE
GDB and NRUN do not use this interface.
- This procedure does not take a SIM_DESC argument as it is
- used before sim_open. */
+ This procedure returns: ``0'' indicating that the simulator should
+ be continued using sim_trace() calls; ``1'' indicating that the
+ simulation has finished. */
int sim_trace PARAMS ((SIM_DESC sd));
+/* Enable tracing.
+ THIS PROCEDURE IS DEPRECIATED.
+ GDB and NRUN do not use this interface.
+ This procedure returns: ``0'' indicating that the simulator should
+ be continued using sim_trace() calls; ``1'' indicating that the
+ simulation has finished. */
+
+void sim_set_trace PARAMS ((void));
+
+
/* Configure the size of the profile buffer.
THIS PROCEDURE IS DEPRECIATED.
GDB and NRUN do not use this interface.