Constify get_exec_file
[deliverable/binutils-gdb.git] / gdb / remote.c
index e7a8bb61860407d46cf5fd59b833e290c3c6ad4a..3c544502a85a5db4c6ea52fc2aa56f6c8fa8477e 100644 (file)
@@ -5792,7 +5792,7 @@ extended_remote_target::attach (const char *args, int from_tty)
 
   if (from_tty)
     {
-      char *exec_file = get_exec_file (0);
+      const char *exec_file = get_exec_file (0);
 
       if (exec_file)
        printf_unfiltered (_("Attaching to program: %s, %s\n"), exec_file,
This page took 0.026338 seconds and 4 git commands to generate.