aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-sim.h
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-09-17 17:27:43 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-09-17 17:27:43 +0000
commit40b92220c5c3a8027c655d7ad4e8e3bce9cf90e8 (patch)
tree62c808d8acf9fd4f1efd43a5ceec02d376f6f179 /gdb/remote-sim.h
parent26a08d1529467903757394361c84f59ebd5ce0b4 (diff)
downloadgdb-40b92220c5c3a8027c655d7ad4e8e3bce9cf90e8.zip
gdb-40b92220c5c3a8027c655d7ad4e8e3bce9cf90e8.tar.gz
gdb-40b92220c5c3a8027c655d7ad4e8e3bce9cf90e8.tar.bz2
* remote-sim.h: New file.
* remote-sim.c: Add remote debug feature. Rename stuff to distinguish interface to simulator from gdb-specific stuff. Other changes. start-sanitize-v9 * remote-sp64sim.c: Renamed to remote-sim.c. Use sr_get_debug instead of our own sim_verbose/simif_snoop. Use gnutarget in call to bfd_openr. Rename simif_* to gdbsim_*. * config/sparc/sp64sim.mt: Change remote-sp64sim.c to remote-sim.c. end-sanitize-v9
Diffstat (limited to 'gdb/remote-sim.h')
-rw-r--r--gdb/remote-sim.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/remote-sim.h b/gdb/remote-sim.h
index 840457c..bdad3fd 100644
--- a/gdb/remote-sim.h
+++ b/gdb/remote-sim.h
@@ -31,7 +31,10 @@ extern int sim_verbose;
/* Initialize the simulator. This function is called when the simulator
is selected from the command line. ARGS is passed from the command line
and can be used to select whatever run time options the simulator provides.
- ARGS is the raw character string and must be parsed by the simulator. */
+ ARGS is the raw character string and must be parsed by the simulator.
+
+ Returns 0 for success, non-zero for failure (FIXME: how do we say what
+ kind of failure it was?). */
int sim_open PARAMS ((char *name));