mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-25 02:53:48 +08:00
* 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.
This commit is contained in:
parent
503ebb2c1d
commit
ca623f82a4
@ -1,3 +1,9 @@
|
||||
2013-05-14 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* 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.
|
||||
|
||||
2013-05-14 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* go32-nat.c (go32_terminal_info): Make 'args' const.
|
||||
|
@ -11126,7 +11126,8 @@ remote_set_trace_buffer_size (LONGEST val)
|
||||
}
|
||||
|
||||
static int
|
||||
remote_set_trace_notes (char *user, char *notes, char *stop_notes)
|
||||
remote_set_trace_notes (const char *user, const char *notes,
|
||||
const char *stop_notes)
|
||||
{
|
||||
struct remote_state *rs = get_remote_state ();
|
||||
char *reply;
|
||||
|
@ -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 *))
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user