diff options
author | Tom Tromey <tom@tromey.com> | 2017-09-12 21:13:51 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2017-09-27 08:44:58 -0600 |
commit | 34e5fa26b758250fca879799375f27c1fd8ed36d (patch) | |
tree | efacb090d3ae686dc332bce059cc824389f468a0 /gdb | |
parent | 8384c35618fdfa66ea3ec6e84072cccc6192dd48 (diff) | |
download | gdb-34e5fa26b758250fca879799375f27c1fd8ed36d.zip gdb-34e5fa26b758250fca879799375f27c1fd8ed36d.tar.gz gdb-34e5fa26b758250fca879799375f27c1fd8ed36d.tar.bz2 |
Constify maintenance_print_reggroups
gdb/ChangeLog
2017-09-27 Tom Tromey <tom@tromey.com>
* reggroups.c (maintenance_print_reggroups): Constify.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/reggroups.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8aa6b13..32d1ee2 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2017-09-27 Tom Tromey <tom@tromey.com> + * reggroups.c (maintenance_print_reggroups): Constify. + +2017-09-27 Tom Tromey <tom@tromey.com> + * dwarf2read.c (save_gdb_index_command): Constify. 2017-09-27 Tom Tromey <tom@tromey.com> diff --git a/gdb/reggroups.c b/gdb/reggroups.c index 512fe11..2ecd0b4 100644 --- a/gdb/reggroups.c +++ b/gdb/reggroups.c @@ -262,7 +262,7 @@ reggroups_dump (struct gdbarch *gdbarch, struct ui_file *file) } static void -maintenance_print_reggroups (char *args, int from_tty) +maintenance_print_reggroups (const char *args, int from_tty) { struct gdbarch *gdbarch = get_current_arch (); |