Handle correctly passing a bad interpreter name to new-ui
[deliverable/binutils-gdb.git] / sim / common / sim-command.c
index 167135aebdf4a176d954bbb5c87118d0e5fdbfee..5736af2dd48b635024f4e30770cf521c28c73cd4 100644 (file)
@@ -1,6 +1,6 @@
 /* Miscellaneous simulator utilities.
 
-   Copyright (C) 2005-2012 Free Software Foundation, Inc.
+   Copyright (C) 2005-2016 Free Software Foundation, Inc.
    Contributed by Analog Devices, Inc.
 
    This file is part of simulators.
@@ -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.024815 seconds and 4 git commands to generate.