aboutsummaryrefslogtreecommitdiff
path: root/include/gdb/remote-sim.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gdb/remote-sim.h')
-rw-r--r--include/gdb/remote-sim.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gdb/remote-sim.h b/include/gdb/remote-sim.h
index 03f87f5..c335d4f 100644
--- a/include/gdb/remote-sim.h
+++ b/include/gdb/remote-sim.h
@@ -273,7 +273,7 @@ void sim_stop_reason (SIM_DESC sd, enum sim_stop *reason, int *sigrc);
Simulators should be prepared to deal with any combination of NULL
or empty CMD. */
-void sim_do_command (SIM_DESC sd, char *cmd);
+void sim_do_command (SIM_DESC sd, const char *cmd);
/* Complete a command based on the available sim commands. Returns an
array of possible matches. */