GNU Binutils with patches for OS216
修訂 | c4a3e68e33b78c68d63c35bbed01782ff9eff4d1 (tree) |
---|---|
時間 | 2017-09-27 23:45:03 |
作者 | Tom Tromey <tom@trom...> |
Commiter | Tom Tromey |
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.
@@ -1,5 +1,10 @@ | ||
1 | 1 | 2017-09-27 Tom Tromey <tom@tromey.com> |
2 | 2 | |
3 | + * i386-tdep.c (i386_mpx_info_bounds, i386_mpx_set_bounds): | |
4 | + Constify. | |
5 | + | |
6 | +2017-09-27 Tom Tromey <tom@tromey.com> | |
7 | + | |
3 | 8 | * symfile-mem.c (add_symbol_file_from_memory_command): Constify. |
4 | 9 | |
5 | 10 | 2017-09-27 Tom Tromey <tom@tromey.com> |
@@ -8874,7 +8874,7 @@ i386_mpx_print_bounds (const CORE_ADDR bt_entry[4]) | ||
8874 | 8874 | /* Implement the command "show mpx bound". */ |
8875 | 8875 | |
8876 | 8876 | static void |
8877 | -i386_mpx_info_bounds (char *args, int from_tty) | |
8877 | +i386_mpx_info_bounds (const char *args, int from_tty) | |
8878 | 8878 | { |
8879 | 8879 | CORE_ADDR bd_base = 0; |
8880 | 8880 | CORE_ADDR addr; |
@@ -8916,7 +8916,7 @@ i386_mpx_info_bounds (char *args, int from_tty) | ||
8916 | 8916 | /* Implement the command "set mpx bound". */ |
8917 | 8917 | |
8918 | 8918 | static void |
8919 | -i386_mpx_set_bounds (char *args, int from_tty) | |
8919 | +i386_mpx_set_bounds (const char *args, int from_tty) | |
8920 | 8920 | { |
8921 | 8921 | CORE_ADDR bd_base = 0; |
8922 | 8922 | CORE_ADDR addr, lower, upper; |