aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-05-14 20:33:36 +0000
committerTom Tromey <tromey@redhat.com>2013-05-14 20:33:36 +0000
commitca623f82a4ce0c6428a3e42aa13667d65bd97c9e (patch)
treecb2850aab8497a97f054081986f1fae3966f1a62 /gdb/target.c
parent503ebb2c1de7f1710f8f9633feb60821f6aac552 (diff)
downloadgdb-ca623f82a4ce0c6428a3e42aa13667d65bd97c9e.zip
gdb-ca623f82a4ce0c6428a3e42aa13667d65bd97c9e.tar.gz
gdb-ca623f82a4ce0c6428a3e42aa13667d65bd97c9e.tar.bz2
* remote.c (remote_set_trace_notes): Make arguments const.
* target.c (update_current_target): Update cast. * target.h (to_set_trace_notes): Make arguments const.
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 1c0134f..8653dac 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -946,7 +946,7 @@ update_current_target (void)
(void (*) (LONGEST))
target_ignore);
de_fault (to_set_trace_notes,
- (int (*) (char *, char *, char *))
+ (int (*) (const char *, const char *, const char *))
return_zero);
de_fault (to_get_tib_address,
(int (*) (ptid_t, CORE_ADDR *))