diff options
Diffstat (limited to 'gdb/maint.h')
-rw-r--r-- | gdb/maint.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gdb/maint.h b/gdb/maint.h new file mode 100644 index 0000000..51d53b0 --- /dev/null +++ b/gdb/maint.h @@ -0,0 +1,31 @@ +/* Support for GDB maintenance commands. + Copyright (C) 2013 Free Software Foundation, Inc. + + This file is part of GDB. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. */ + +#ifndef MAINT_H +#define MAINT_H + +extern void set_per_command_time (int); + +extern void set_per_command_space (int); + +/* Note: There's no set_per_command_symtab on purpose. + Symtab stats aren't yet as useful for --statistics output. */ + +extern struct cleanup *make_command_stats_cleanup (int); + +#endif /* MAINT_H */ |