aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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));