aboutsummaryrefslogtreecommitdiff
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
commit666e11c5d46a0a7a024e1f7326390cce51cd1014 (patch)
treed98526ec4663de3e5dbc61b0a7e6c07c65afb6d4 /gdb/infcmd.c
parent26c11c07fad0e065ec66940a6d00c78a43ed18f3 (diff)
downloadgdb-666e11c5d46a0a7a024e1f7326390cce51cd1014.zip
gdb-666e11c5d46a0a7a024e1f7326390cce51cd1014.tar.gz
gdb-666e11c5d46a0a7a024e1f7326390cce51cd1014.tar.bz2
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 bbe1a7c..946725b 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)