aboutsummaryrefslogtreecommitdiff
path: root/gdb/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/main.c')
-rw-r--r--gdb/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/main.c b/gdb/main.c
index 06f3feb..08a2769 100644
--- a/gdb/main.c
+++ b/gdb/main.c
@@ -42,6 +42,7 @@
#include "python/python.h"
#include "objfiles.h"
#include "auto-load.h"
+#include "maint.h"
/* The selected interpreter. This will be used as a set command
variable, so it should always be malloc'ed - since
@@ -538,8 +539,8 @@ captured_main (void *data)
break;
case OPT_STATISTICS:
/* Enable the display of both time and space usage. */
- set_display_time (1);
- set_display_space (1);
+ set_per_command_time (1);
+ set_per_command_space (1);
break;
case OPT_TUI:
/* --tui is equivalent to -i=tui. */