summaryrefslogtreecommitdiff
path: root/gdb/remote-sim.c
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1997-03-22 23:52:04 +0000
committerFred Fish <fnf@specifix.com>1997-03-22 23:52:04 +0000
commit12967062e49a2d6d15e5267a5752c977abb48403 (patch)
treeb8722b140d15604df4e023a5a631104de2ddb64e /gdb/remote-sim.c
parentff86eeb590ca82321a62acb7de92d52807623235 (diff)
downloadbinutils-gdb-12967062e49a2d6d15e5267a5752c977abb48403.tar.gz
* remote-sim.c (simulator_command): Add comment about dealing with
NULL or empty args. start-sanitize-tic80 * Makefile.in (tic80-tdep.o): Add target. * configure.tgt: Add tic80 case. * tic80-tdep.c: New file. * config/tic80/{tic80.mt, tm-tic80.h}: New files. end-sanitize-tic80
Diffstat (limited to 'gdb/remote-sim.c')
-rw-r--r--gdb/remote-sim.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c
index 930e4948670..339b39cc1a2 100644
--- a/gdb/remote-sim.c
+++ b/gdb/remote-sim.c
@@ -709,7 +709,8 @@ simulator_command (args, from_tty)
/* Note that if the simulator hasn't been opened, gdbsim_desc == NULL
which is correct (??? assuming of course one wishes to continue to
allow commands to be sent to unopened simulators, which isn't entirely
- unreasonable). */
+ unreasonable). Simulators should be prepared to deal with any
+ combination of NULL or empty args. */
sim_do_command (gdbsim_desc, args);
}