Constify get_exec_file
[deliverable/binutils-gdb.git] / gdb / darwin-nat.c
index ecc7fc07f69a8a4ccc80cfa1a7db01c2b2a26e36..c3905d1a30eb4a87edbb02f2c1dd2986387134ff 100644 (file)
@@ -2045,7 +2045,7 @@ darwin_nat_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.024594 seconds and 4 git commands to generate.