diff options
author | Tom Tromey <tom@tromey.com> | 2017-09-12 14:40:43 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2017-09-27 08:44:43 -0600 |
commit | 58971144622629bd11acc82b61140f8c47f0e306 (patch) | |
tree | fe943e5c2d9c2f5e6cd2ce2d7642a07ea3a91aea /gdb/source.c | |
parent | c482f52ccfbd5609aef5482fb0872545bdcabaf2 (diff) | |
download | gdb-58971144622629bd11acc82b61140f8c47f0e306.zip gdb-58971144622629bd11acc82b61140f8c47f0e306.tar.gz gdb-58971144622629bd11acc82b61140f8c47f0e306.tar.bz2 |
Constify commands maint.c, plus maintenance_print_type
In addition to the constification, this fixes a command-repeat bug.
gdb/ChangeLog
2017-09-27 Tom Tromey <tom@tromey.com>
* typeprint.c (maintenance_print_type): Constify.
* maint.c (maintenance_dump_me, maintenance_demangle)
(maintenance_time_display, maintenance_info_sections)
(maintenance_print_statistics, maintenance_deprecate)
(maintenance_undeprecate): Constify.
(maintenance_do_deprecate): Constify. Use std::string.
(maintenance_selftest): Constify.
* gdbtypes.h (maintenance_print_type): Constify.
Diffstat (limited to 'gdb/source.c')
0 files changed, 0 insertions, 0 deletions