Don't update target_dcache if it is not initialized
[deliverable/binutils-gdb.git] / gdb / inf-ttrace.c
index 36bf4cb722f6f4ee52cdd4dbc33a06d2e8d4721d..eb0adcb2298c3de25167375bb31561a8433ac7af 100644 (file)
@@ -31,7 +31,7 @@
 #include "target.h"
 
 #include "gdb_assert.h"
-#include "gdb_string.h"
+#include <string.h>
 #include <sys/mman.h>
 #include <sys/ttrace.h>
 #include <signal.h>
@@ -798,7 +798,7 @@ inf_ttrace_attach (struct target_ops *ops, char *args, int from_tty)
 }
 
 static void
-inf_ttrace_detach (struct target_ops *ops, char *args, int from_tty)
+inf_ttrace_detach (struct target_ops *ops, const char *args, int from_tty)
 {
   pid_t pid = ptid_get_pid (inferior_ptid);
   int sig = 0;
This page took 0.02444 seconds and 4 git commands to generate.