• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

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

Révision9c504b5d34803ca2520e554aceaa2e69c141dc89 (tree)
l'heure2017-09-27 23:45:00
AuteurTom Tromey <tom@trom...>
CommiterTom Tromey

Message de Log

Constify maintenance_info_program_spaces_command

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

* progspace.c (maintenance_info_program_spaces_command):
Constify.

Change Summary

Modification

--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
11 2017-09-27 Tom Tromey <tom@tromey.com>
22
3+ * progspace.c (maintenance_info_program_spaces_command):
4+ Constify.
5+
6+2017-09-27 Tom Tromey <tom@tromey.com>
7+
38 * compile/compile.c (check_raw_argument, compile_file_command)
49 (compile_code_command, compile_print_command): Constify.
510
--- a/gdb/progspace.c
+++ b/gdb/progspace.c
@@ -345,7 +345,7 @@ valid_program_space_id (int num)
345345 indicating which the program space to print information about. */
346346
347347 static void
348-maintenance_info_program_spaces_command (char *args, int from_tty)
348+maintenance_info_program_spaces_command (const char *args, int from_tty)
349349 {
350350 int requested = -1;
351351