forked from Imagelibrary/binutils-gdb
Constify two functions in linux-fork.c
gdb/ChangeLog 2017-09-27 Tom Tromey <tom@tromey.com> * linux-fork.c (delete_checkpoint_command) (detach_checkpoint_command): Constify.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2017-09-27 Tom Tromey <tom@tromey.com>
|
||||||
|
|
||||||
|
* linux-fork.c (delete_checkpoint_command)
|
||||||
|
(detach_checkpoint_command): Constify.
|
||||||
|
|
||||||
2017-09-27 Tom Tromey <tom@tromey.com>
|
2017-09-27 Tom Tromey <tom@tromey.com>
|
||||||
|
|
||||||
* cp-abi.c (set_cp_abi_cmd, show_cp_abi_cmd): Constify.
|
* cp-abi.c (set_cp_abi_cmd, show_cp_abi_cmd): Constify.
|
||||||
|
|||||||
@@ -503,7 +503,7 @@ out:
|
|||||||
/* Fork list <-> user interface. */
|
/* Fork list <-> user interface. */
|
||||||
|
|
||||||
static void
|
static void
|
||||||
delete_checkpoint_command (char *args, int from_tty)
|
delete_checkpoint_command (const char *args, int from_tty)
|
||||||
{
|
{
|
||||||
ptid_t ptid, pptid;
|
ptid_t ptid, pptid;
|
||||||
struct fork_info *fi;
|
struct fork_info *fi;
|
||||||
@@ -544,7 +544,7 @@ Please switch to another checkpoint before deleting the current one"));
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
detach_checkpoint_command (char *args, int from_tty)
|
detach_checkpoint_command (const char *args, int from_tty)
|
||||||
{
|
{
|
||||||
ptid_t ptid;
|
ptid_t ptid;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user