summaryrefslogtreecommitdiff
path: root/gdb/infcmd.c
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2000-08-01 14:48:01 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2000-08-01 14:48:01 +0000
commitb9cb11719a5a9d7c9422699b64cc913528329a33 (patch)
treef0e8b933df335cda343d6d1570bc5056abecc391 /gdb/infcmd.c
parenta3f19ece2eec74b80bc6368546dcadf69f1e4faf (diff)
downloadgdb-b9cb11719a5a9d7c9422699b64cc913528329a33.tar.gz
2000-08-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* gdbarch.sh: Multiarch DO_REGISTERS_INFO macro. * gdbarch.h, gdbarch.c: Regenerate. * infcmd.c (do_registers_info): Make not static and unconditionalize. * inferior.h (do_registers_info): Export.
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r--gdb/infcmd.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index bbe1a7ca167..946725bfcb8 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -72,10 +72,6 @@ static void detach_command (char *, int);
static void interrupt_target_command (char *args, int from_tty);
-#if !defined (DO_REGISTERS_INFO)
-static void do_registers_info (int, int);
-#endif
-
static void unset_environment_command (char *, int);
static void set_environment_command (char *, int);
@@ -1445,11 +1441,7 @@ char *gdb_register_names[] = REGISTER_NAMES;
all the registers, define the macro DO_REGISTERS_INFO(regnum, fp)
to provide that format. */
-#if !defined (DO_REGISTERS_INFO)
-
-#define DO_REGISTERS_INFO(regnum, fp) do_registers_info(regnum, fp)
-
-static void
+void
do_registers_info (int regnum, int fpregs)
{
register int i;
@@ -1552,7 +1544,6 @@ do_registers_info (int regnum, int fpregs)
printf_filtered ("\n");
}
}
-#endif /* no DO_REGISTERS_INFO. */
void
registers_info (char *addr_exp, int fpregs)