summaryrefslogtreecommitdiffstats
path: root/include/remote-sim.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@gnu.org>2000-02-22 08:52:20 +0000
committerAndrew Cagney <cagney@gnu.org>2000-02-22 08:52:20 +0000
commit9d68ec8b5ce867fc4400ed8f62c4b057fe3c2508 (patch)
treeecdfa6b91c5d734b9d0c7ec188e58f7c0218943e /include/remote-sim.h
parent62a022244b42034db78b16cddc6665f2a716bb6e (diff)
downloadcygnal-9d68ec8b5ce867fc4400ed8f62c4b057fe3c2508.tar.gz
cygnal-9d68ec8b5ce867fc4400ed8f62c4b057fe3c2508.tar.bz2
cygnal-9d68ec8b5ce867fc4400ed8f62c4b057fe3c2508.zip
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/remote-sim.h')
-rw-r--r--include/remote-sim.h18
1 files changed, 15 insertions, 3 deletions
diff --git a/include/remote-sim.h b/include/remote-sim.h
index a8eb92382..b32f93fdd 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.