diff options
author | Tom Tromey <tom@tromey.com> | 2017-09-12 21:15:46 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2017-09-27 08:45:00 -0600 |
commit | 9c504b5d34803ca2520e554aceaa2e69c141dc89 (patch) | |
tree | 1b8e556e772e2605cffdf8fdfa35512d53b833f9 /gdb | |
parent | 6663cf9161f7ed9cbd1ac1c0afba36c952d84140 (diff) | |
download | gdb-9c504b5d34803ca2520e554aceaa2e69c141dc89.zip gdb-9c504b5d34803ca2520e554aceaa2e69c141dc89.tar.gz gdb-9c504b5d34803ca2520e554aceaa2e69c141dc89.tar.bz2 |
Constify maintenance_info_program_spaces_command
gdb/ChangeLog
2017-09-27 Tom Tromey <tom@tromey.com>
* progspace.c (maintenance_info_program_spaces_command):
Constify.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/progspace.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9a77b0d..a32596e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2017-09-27 Tom Tromey <tom@tromey.com> + * progspace.c (maintenance_info_program_spaces_command): + Constify. + +2017-09-27 Tom Tromey <tom@tromey.com> + * compile/compile.c (check_raw_argument, compile_file_command) (compile_code_command, compile_print_command): Constify. diff --git a/gdb/progspace.c b/gdb/progspace.c index 0f3ac81..41e8cd0 100644 --- a/gdb/progspace.c +++ b/gdb/progspace.c @@ -345,7 +345,7 @@ valid_program_space_id (int num) indicating which the program space to print information about. */ static void -maintenance_info_program_spaces_command (char *args, int from_tty) +maintenance_info_program_spaces_command (const char *args, int from_tty) { int requested = -1; |