Constify commands maint.c, plus maintenance_print_type
authorTom Tromey <tom@tromey.com>
Tue, 12 Sep 2017 20:40:43 +0000 (14:40 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 27 Sep 2017 14:44:43 +0000 (08:44 -0600)
commit58971144622629bd11acc82b61140f8c47f0e306
treefe943e5c2d9c2f5e6cd2ce2d7642a07ea3a91aea
parentc482f52ccfbd5609aef5482fb0872545bdcabaf2
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.
gdb/ChangeLog
gdb/gdbtypes.h
gdb/maint.c
gdb/typeprint.c
This page took 0.027532 seconds and 4 git commands to generate.