sim: constify arg to sim_do_command
[deliverable/binutils-gdb.git] / sim / common / sim-command.c
index 7fa2b1faa5f46a68a65f6f56a95cc0017b3d63ba..86eac0322fd4b283c5eaa5f97b25e17a0c2a0321 100644 (file)
@@ -26,7 +26,7 @@
    which add custom options via sim_add_option_table().  */
 
 void
-sim_do_command (SIM_DESC sd, char *cmd)
+sim_do_command (SIM_DESC sd, const char *cmd)
 {
   if (sim_args_command (sd, cmd) != SIM_RC_OK)
     sim_io_eprintf (sd, "Unknown sim command: \"%s\".  Try \"sim help\".\n",
This page took 0.023362 seconds and 4 git commands to generate.