ODR warning for "enum string_repr_result"
[binutils-gdb.git] / gdb / inf-child.c
index cc00867787ac84dbe2bf1c6879e578ef3f6ed944..56ebd2a5549cadbb910446ba0b27b748328750be 100644 (file)
@@ -220,7 +220,7 @@ inf_child_target::can_attach ()
   return true;
 }
 
-char *
+const char *
 inf_child_target::pid_to_exec_file (int pid)
 {
   /* This target doesn't support translation of a process ID to the