aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.h
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.h
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.h')
-rw-r--r--gdb/target.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/target.h b/gdb/target.h
index af1135e..e937d39 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -817,7 +817,8 @@ struct target_ops
/* Add/change textual notes about the trace run, returning 1 if
successful, 0 otherwise. */
- int (*to_set_trace_notes) (char *user, char *notes, char* stopnotes);
+ int (*to_set_trace_notes) (const char *user, const char *notes,
+ const char *stopnotes);
/* Return the processor core that thread PTID was last seen on.
This information is updated only when: