Index: gdb/maint.h |
diff --git a/gdb/sol2-tdep.h b/gdb/maint.h |
similarity index 62% |
copy from gdb/sol2-tdep.h |
copy to gdb/maint.h |
index b516f7d96317942df7dafcabb9aebcfb26d35030..51d53b02eb379a7e46ce3466fa7bd0709b8d6629 100644 |
--- a/gdb/sol2-tdep.h |
+++ b/gdb/maint.h |
@@ -1,6 +1,5 @@ |
-/* Target-dependent code for Solaris. |
- |
- Copyright (C) 2006-2012 Free Software Foundation, Inc. |
+/* Support for GDB maintenance commands. |
+ Copyright (C) 2013 Free Software Foundation, Inc. |
This file is part of GDB. |
@@ -17,13 +16,16 @@ |
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 SOL2_TDEP_H |
-#define SOL2_TDEP_H 1 |
+#ifndef MAINT_H |
+#define MAINT_H |
+ |
+extern void set_per_command_time (int); |
-struct gdbarch; |
+extern void set_per_command_space (int); |
-CORE_ADDR sol2_skip_solib_resolver (struct gdbarch *, CORE_ADDR); |
+/* Note: There's no set_per_command_symtab on purpose. |
+ Symtab stats aren't yet as useful for --statistics output. */ |
-char *sol2_core_pid_to_str (struct gdbarch *gdbarch, ptid_t ptid); |
+extern struct cleanup *make_command_stats_cleanup (int); |
-#endif /* sol2-tdep.h */ |
+#endif /* MAINT_H */ |