aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1997-05-20 01:57:43 +0000
committerAndrew Cagney <cagney@redhat.com>1997-05-20 01:57:43 +0000
commitff82f21409746d1f9491b9c4ab13e74686ca6652 (patch)
treee47ac3cfaad58a74606f879ef932418b2b04a91a /include
parent24aa2b57afc51bb0d47d8a3cfa470ad40a36cc6b (diff)
downloadgdb-ff82f21409746d1f9491b9c4ab13e74686ca6652.zip
gdb-ff82f21409746d1f9491b9c4ab13e74686ca6652.tar.gz
gdb-ff82f21409746d1f9491b9c4ab13e74686ca6652.tar.bz2
Part II of adding callback argument to sim_open(). Update all the
other simulators; remove SIM_DESC from depreciated function sim_set_callbacks().
Diffstat (limited to 'include')
-rw-r--r--include/remote-sim.h19
1 files changed, 11 insertions, 8 deletions
diff --git a/include/remote-sim.h b/include/remote-sim.h
index 45abd4b..fb13a24 100644
--- a/include/remote-sim.h
+++ b/include/remote-sim.h
@@ -162,19 +162,22 @@ int sim_stop PARAMS ((SIM_DESC sd));
void sim_do_command PARAMS ((SIM_DESC sd, char *cmd));
-/* Provide simulator with a standard host_callback_struct.
- If SD is NULL, the command is to be interpreted as refering to
- the global state, however the simulator defines that.
+/* NOTE: sim_set_callbacks () is depreciated.
+
+ Provide simulator with a default (global) host_callback_struct. */
+
+void sim_set_callbacks PARAMS ((struct host_callback_struct *));
+
- This function is depreciated. Callbacks are set as part of
- sim_open. */
+/* NOTE: sim_size() is depreciated.
-void sim_set_callbacks PARAMS ((SIM_DESC sd, struct host_callback_struct *));
+ sim_size() does not take a SIM_DESC argument as this function is
+ used before sim_open() has been called. */
+void sim_size PARAMS ((int i));
-/* NOTE: sim_size() and sim_trace() are going away */
-void sim_size PARAMS ((SIM_DESC sd, int i));
+/* NOTE: sim_trace() is depreciated. */
int sim_trace PARAMS ((SIM_DESC sd));