• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


Commit MetaInfo

修訂c4a3e68e33b78c68d63c35bbed01782ff9eff4d1 (tree)
時間2017-09-27 23:45:03
作者Tom Tromey <tom@trom...>
CommiterTom Tromey

Log Message

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.

Change Summary

差異

--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
11 2017-09-27 Tom Tromey <tom@tromey.com>
22
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+
38 * symfile-mem.c (add_symbol_file_from_memory_command): Constify.
49
510 2017-09-27 Tom Tromey <tom@tromey.com>
--- a/gdb/i386-tdep.c
+++ b/gdb/i386-tdep.c
@@ -8874,7 +8874,7 @@ i386_mpx_print_bounds (const CORE_ADDR bt_entry[4])
88748874 /* Implement the command "show mpx bound". */
88758875
88768876 static void
8877-i386_mpx_info_bounds (char *args, int from_tty)
8877+i386_mpx_info_bounds (const char *args, int from_tty)
88788878 {
88798879 CORE_ADDR bd_base = 0;
88808880 CORE_ADDR addr;
@@ -8916,7 +8916,7 @@ i386_mpx_info_bounds (char *args, int from_tty)
89168916 /* Implement the command "set mpx bound". */
89178917
89188918 static void
8919-i386_mpx_set_bounds (char *args, int from_tty)
8919+i386_mpx_set_bounds (const char *args, int from_tty)
89208920 {
89218921 CORE_ADDR bd_base = 0;
89228922 CORE_ADDR addr, lower, upper;