aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-tdep.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2017-09-12 21:17:26 -0600
committerTom Tromey <tom@tromey.com>2017-09-27 08:45:03 -0600
commitc4a3e68e33b78c68d63c35bbed01782ff9eff4d1 (patch)
tree084868fca183ca8795ffc1510be9c3dd27a0f484 /gdb/i386-tdep.c
parentc9d31bd6579d5bbd672937a76258031675d40f34 (diff)
downloadgdb-c4a3e68e33b78c68d63c35bbed01782ff9eff4d1.zip
gdb-c4a3e68e33b78c68d63c35bbed01782ff9eff4d1.tar.gz
gdb-c4a3e68e33b78c68d63c35bbed01782ff9eff4d1.tar.bz2
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.
Diffstat (limited to 'gdb/i386-tdep.c')
-rw-r--r--gdb/i386-tdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c
index eefa03a..f26d624 100644
--- a/gdb/i386-tdep.c
+++ b/gdb/i386-tdep.c
@@ -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;