Make common code handle target_terminal_* idempotency
[deliverable/binutils-gdb.git] / gdb / exec.c
index 371fccbd231e9e7045f93649ac11d785f037f2c4..f32589b384721979752b3a2f9d3c1f45499b1fd6 100644 (file)
@@ -38,8 +38,6 @@
 
 #include <fcntl.h>
 #include "readline/readline.h"
-#include <string.h>
-
 #include "gdbcore.h"
 
 #include <ctype.h>
@@ -76,7 +74,7 @@ show_write_files (struct ui_file *file, int from_tty,
 
 
 static void
-exec_open (char *args, int from_tty)
+exec_open (const char *args, int from_tty)
 {
   target_preopen (from_tty);
   exec_file_attach (args, from_tty);
This page took 0.094543 seconds and 4 git commands to generate.