• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

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

Revisionc9d31bd6579d5bbd672937a76258031675d40f34 (tree)
Zeit2017-09-27 23:45:02
AutorTom Tromey <tom@trom...>
CommiterTom Tromey

Log Message

Constify add_symbol_file_from_memory_command

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

* symfile-mem.c (add_symbol_file_from_memory_command): Constify.

Ändern Zusammenfassung

Diff

--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
11 2017-09-27 Tom Tromey <tom@tromey.com>
22
3+ * symfile-mem.c (add_symbol_file_from_memory_command): Constify.
4+
5+2017-09-27 Tom Tromey <tom@tromey.com>
6+
37 * demangle.c (demangle_command): Constify.
48
59 2017-09-27 Tom Tromey <tom@tromey.com>
--- a/gdb/symfile-mem.c
+++ b/gdb/symfile-mem.c
@@ -145,7 +145,7 @@ symbol_file_add_from_memory (struct bfd *templ, CORE_ADDR addr,
145145
146146
147147 static void
148-add_symbol_file_from_memory_command (char *args, int from_tty)
148+add_symbol_file_from_memory_command (const char *args, int from_tty)
149149 {
150150 CORE_ADDR addr;
151151 struct bfd *templ;