aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/target.c')
-rw-r--r--gdb/target.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/target.c b/gdb/target.c
index bd5711f..24d2985 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -836,7 +836,7 @@ update_current_target (void)
(int (*) (int, LONGEST *))
return_zero);
de_fault (to_save_trace_data,
- (int (*) (char *))
+ (int (*) (const char *))
tcomplain);
de_fault (to_upload_tracepoints,
(int (*) (struct uploaded_tp **))