Constify some commands in i386-tdep.c
authorTom Tromey <tom@tromey.com>
Wed, 13 Sep 2017 03:17:26 +0000 (21:17 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 27 Sep 2017 14:45:03 +0000 (08:45 -0600)
gdb/ChangeLog
2017-09-27  Tom Tromey  <tom@tromey.com>

* i386-tdep.c (i386_mpx_info_bounds, i386_mpx_set_bounds):
Constify.

gdb/ChangeLog
gdb/i386-tdep.c

index b67c6172b7297f4ee46857ed3420bd31a6cebe97..b7604805bad3ebd146dc88f9aed8c3d6afbde051 100644 (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.
index eefa03a3bf5290953d520d9e01bce7caa3926f5d..f26d624483ede8243cbe0fdd6997cc2e00feb10b 100644 (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;
This page took 0.04661 seconds and 4 git commands to generate.