constify to_rcmd
authorTom Tromey <tromey@redhat.com>
Fri, 6 Jun 2014 19:19:53 +0000 (13:19 -0600)
committerTom Tromey <tromey@redhat.com>
Mon, 16 Jun 2014 16:29:17 +0000 (10:29 -0600)
commita30bf1f15c51b82a0134713bc44175cda296d3ae
tree9e741116883ba6d993d4329fe7269ac724f0b313
parentf4c51f600ed2fcf9f29bdaae71aa767b9b1bc4ac
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.
gdb/ChangeLog
gdb/monitor.c
gdb/remote.c
gdb/target-delegates.c
gdb/target.c
gdb/target.h