constify to_disconnect
authorTom Tromey <tromey@redhat.com>
Fri, 6 Jun 2014 19:26:53 +0000 (13:26 -0600)
committerTom Tromey <tromey@redhat.com>
Mon, 16 Jun 2014 16:29:17 +0000 (10:29 -0600)
commitfee354eeef0b5bb9b1b799e2ce313fc805b2af1a
treedff86f4f8779dc5d787c9dd24a802ef66b0ce46c
parenta30bf1f15c51b82a0134713bc44175cda296d3ae
constify to_disconnect

This constifies an parameter of to_disconnect and updates
target_disconnect as well.

2014-06-16  Tom Tromey  <tromey@redhat.com>

* target.h (struct target_ops) <to_disconnect>: Make parameter
const.
(target_disconnect): Update.
* target.c (target_disconnect): Make "args" const.
* target-delegates.c: Rebuild.
* remote.c (remote_disconnect): Update.
* record.h (record_disconnect): Update.
* record.c (record_disconnect): Update.
* inf-child.c (inf_child_disconnect): Update.
gdb/ChangeLog
gdb/inf-child.c
gdb/record.c
gdb/record.h
gdb/remote.c
gdb/target-delegates.c
gdb/target.c
gdb/target.h