mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-17 13:10:12 +08:00
Constify some commands in inferior.c
gdb/ChangeLog 2017-09-27 Tom Tromey <tom@tromey.com> * inferior.c (detach_inferior_command, kill_inferior_command) (inferior_command): Constify.
This commit is contained in:
parent
4e00131263
commit
e503b1919b
@ -1,3 +1,8 @@
|
||||
2017-09-27 Tom Tromey <tom@tromey.com>
|
||||
|
||||
* inferior.c (detach_inferior_command, kill_inferior_command)
|
||||
(inferior_command): Constify.
|
||||
|
||||
2017-09-27 Tom Tromey <tom@tromey.com>
|
||||
|
||||
* regcache.c (regcache_print, maintenance_print_registers)
|
||||
|
@ -596,7 +596,7 @@ print_inferior (struct ui_out *uiout, char *requested_inferiors)
|
||||
}
|
||||
|
||||
static void
|
||||
detach_inferior_command (char *args, int from_tty)
|
||||
detach_inferior_command (const char *args, int from_tty)
|
||||
{
|
||||
struct thread_info *tp;
|
||||
|
||||
@ -635,7 +635,7 @@ detach_inferior_command (char *args, int from_tty)
|
||||
}
|
||||
|
||||
static void
|
||||
kill_inferior_command (char *args, int from_tty)
|
||||
kill_inferior_command (const char *args, int from_tty)
|
||||
{
|
||||
struct thread_info *tp;
|
||||
|
||||
@ -676,7 +676,7 @@ kill_inferior_command (char *args, int from_tty)
|
||||
}
|
||||
|
||||
static void
|
||||
inferior_command (char *args, int from_tty)
|
||||
inferior_command (const char *args, int from_tty)
|
||||
{
|
||||
struct inferior *inf;
|
||||
int num;
|
||||
|
Loading…
Reference in New Issue
Block a user