-/* Copyright (C) 1986-2019 Free Software Foundation, Inc.
+/* Copyright (C) 1986-2020 Free Software Foundation, Inc.
This file is part of GDB.
#include "remote.h"
#include "reggroups.h"
#include "target.h"
+#include "gdbarch.h"
/* Dump registers from regcache, used for dumping raw registers and
cooked registers. */
regcache_print (args, regcache_dump_remote);
}
+void _initialize_regcache_dump ();
void
-_initialize_regcache_dump (void)
+_initialize_regcache_dump ()
{
add_cmd ("registers", class_maintenance, maintenance_print_registers,
_("Print the internal register configuration.\n"
&maintenanceprintlist);
add_cmd ("remote-registers", class_maintenance,
maintenance_print_remote_registers, _("\
-Print the internal register configuration including each register's\n\
-remote register number and buffer offset in the g/G packets.\n\
+Print the internal register configuration including remote register number "
+"and g/G packets offset.\n\
Takes an optional file parameter."),
&maintenanceprintlist);
}