sim: constify arg to sim_do_command
[deliverable/binutils-gdb.git] / include / gdb / remote-sim.h
index 03f87f5a553613b9a6011be83946c6a1e18923f1..c335d4f81b0c2b79721f4ad0866a874ba5bbb627 100644 (file)
@@ -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.  */
This page took 0.02764 seconds and 4 git commands to generate.