Maintenance commands to report time and space usage.
authorStan Shebs <shebs@codesourcery.com>
Wed, 23 Nov 1994 03:27:40 +0000 (03:27 +0000)
committerStan Shebs <shebs@codesourcery.com>
Wed, 23 Nov 1994 03:27:40 +0000 (03:27 +0000)
commit43ab4ba582a495a5c0f13c1e0869b6a241442611
treef6776668f994d9e1377da311573902addf35b19a
parentaa30c7ee221fb88e6106951b00d47cd3ef36e75c
Maintenance commands to report time and space usage.
* main.c (display_time, display_space): New globals.
(main): Add argument --statistics to enable reporting, display
time and space after startup is done.
* maint.c (maintenance_time_display, maintenance_space_display):
New commands.
* top.c (command_loop): Display time and space after command
execution.

* top.c (pre_init_ui_hook): New global.
(gdb_init): If pre_init_ui_hook set, call before all other init.
gdb/ChangeLog
gdb/maint.c
gdb/top.c