summaryrefslogtreecommitdiff
path: root/gdb/infcmd.c
diff options
context:
space:
mode:
authorJason Molenda <jsm@bugshack.cygnus.com>1999-05-25 18:00:33 +0000
committerJason Molenda <jsm@bugshack.cygnus.com>1999-05-25 18:00:33 +0000
commit87b23cbadc6ef3943f848530c349183eb5bccc69 (patch)
tree3b0be454f51791dbcbc2d8b697c55ce8df6e2a3b /gdb/infcmd.c
parentc250861f05257f6eaaf07305f216dfec0b5caf43 (diff)
downloadgdb-87b23cbadc6ef3943f848530c349183eb5bccc69.tar.gz
import gdb-1999-05-25 snapshot
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r--gdb/infcmd.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index 16ec0b7c355..eb111694ae2 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -90,6 +90,10 @@ static void step_command PARAMS ((char *, int));
static void run_command PARAMS ((char *, int));
+static void run_no_args_command PARAMS ((char *args, int from_tty));
+
+static void go_command PARAMS ((char *line_no, int from_tty));
+
void _initialize_infcmd PARAMS ((void));
#define GO_USAGE "Usage: go <location>\n"
@@ -1098,16 +1102,16 @@ do_registers_info (regnum, fpregs)
}
/* Convert raw data to virtual format if necessary. */
-#ifdef REGISTER_CONVERTIBLE
if (REGISTER_CONVERTIBLE (i))
{
REGISTER_CONVERT_TO_VIRTUAL (i, REGISTER_VIRTUAL_TYPE (i),
raw_buffer, virtual_buffer);
}
else
-#endif
- memcpy (virtual_buffer, raw_buffer,
- REGISTER_VIRTUAL_SIZE (i));
+ {
+ memcpy (virtual_buffer, raw_buffer,
+ REGISTER_VIRTUAL_SIZE (i));
+ }
/* If virtual format is floating, print it that way, and in raw hex. */
if (TYPE_CODE (REGISTER_VIRTUAL_TYPE (i)) == TYPE_CODE_FLT)
@@ -1164,8 +1168,6 @@ do_registers_info (regnum, fpregs)
}
#endif /* no DO_REGISTERS_INFO. */
-extern int target_map_name_to_register PARAMS ((char *, int));
-
void
registers_info (addr_exp, fpregs)
char *addr_exp;