mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-17 16:05:56 +08:00
constify to_rcmd
This makes the "command" parameter of the to_rcmd target method const. 2014-06-16 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_rcmd>: Make "command" const. * target.c (debug_to_rcmd, default_rcmd): Update. * target-delegates.c: Rebuild. * remote.c (remote_rcmd): Update. * monitor.c (monitor_rcmd): Update.
This commit is contained in:
@ -2282,7 +2282,7 @@ monitor_stop (struct target_ops *self, ptid_t ptid)
|
||||
ourseleves here cause of a nasty echo. */
|
||||
|
||||
static void
|
||||
monitor_rcmd (struct target_ops *self, char *command,
|
||||
monitor_rcmd (struct target_ops *self, const char *command,
|
||||
struct ui_file *outbuf)
|
||||
{
|
||||
char *p;
|
||||
|
Reference in New Issue
Block a user