Mention PR gdb/17096 in ChangeLog
[deliverable/binutils-gdb.git] / gdb / remote-sim.c
index 061469030206b9367c6e2efc6379f5cb1ebcbb0b..4097372489be2e72a719bef5463324ed068fcae3 100644 (file)
@@ -22,6 +22,7 @@
 
 #include "defs.h"
 #include "inferior.h"
+#include "infrun.h"
 #include "value.h"
 #include <string.h>
 #include <ctype.h>
@@ -72,7 +73,8 @@ static void gdb_os_error (host_callback *, const char *, ...)
 
 static void gdbsim_kill (struct target_ops *);
 
-static void gdbsim_load (struct target_ops *self, char *prog, int fromtty);
+static void gdbsim_load (struct target_ops *self, const char *prog,
+                        int fromtty);
 
 static void gdbsim_open (char *args, int from_tty);
 
@@ -561,10 +563,10 @@ gdbsim_kill (struct target_ops *ops)
    GDB's symbol tables to match.  */
 
 static void
-gdbsim_load (struct target_ops *self, char *args, int fromtty)
+gdbsim_load (struct target_ops *self, const char *args, int fromtty)
 {
   char **argv;
-  char *prog;
+  const char *prog;
   struct sim_inferior_data *sim_data
     = get_sim_inferior_data (current_inferior (), SIM_INSTANCE_NEEDED);
 
This page took 0.026019 seconds and 4 git commands to generate.