Constify some commands in i386-tdep.c

gdb/ChangeLog
2017-09-27  Tom Tromey  <tom@tromey.com>

	* i386-tdep.c (i386_mpx_info_bounds, i386_mpx_set_bounds):
	Constify.
This commit is contained in:
Tom Tromey 2017-09-12 21:17:26 -06:00
parent c9d31bd657
commit c4a3e68e33
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2017-09-27 Tom Tromey <tom@tromey.com>
* i386-tdep.c (i386_mpx_info_bounds, i386_mpx_set_bounds):
Constify.
2017-09-27 Tom Tromey <tom@tromey.com>
* symfile-mem.c (add_symbol_file_from_memory_command): Constify.

View File

@ -8874,7 +8874,7 @@ i386_mpx_print_bounds (const CORE_ADDR bt_entry[4])
/* Implement the command "show mpx bound". */
static void
i386_mpx_info_bounds (char *args, int from_tty)
i386_mpx_info_bounds (const char *args, int from_tty)
{
CORE_ADDR bd_base = 0;
CORE_ADDR addr;
@ -8916,7 +8916,7 @@ i386_mpx_info_bounds (char *args, int from_tty)
/* Implement the command "set mpx bound". */
static void
i386_mpx_set_bounds (char *args, int from_tty)
i386_mpx_set_bounds (const char *args, int from_tty)
{
CORE_ADDR bd_base = 0;
CORE_ADDR addr, lower, upper;