aboutsummaryrefslogtreecommitdiff
path: root/gdb/gcore.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gcore.c')
-rw-r--r--gdb/gcore.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/gcore.c b/gdb/gcore.c
index d3f1b47..d12011e 100644
--- a/gdb/gcore.c
+++ b/gdb/gcore.c
@@ -590,8 +590,9 @@ gcore_memory_sections (bfd *obfd)
return 1;
}
+void _initialize_gcore ();
void
-_initialize_gcore (void)
+_initialize_gcore ()
{
add_com ("generate-core-file", class_files, gcore_command, _("\
Save a core file with the current state of the debugged process.\n\