aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-hms.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/remote-hms.c')
-rw-r--r--gdb/remote-hms.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/remote-hms.c b/gdb/remote-hms.c
index 0cb42f6..9e6ef54 100644
--- a/gdb/remote-hms.c
+++ b/gdb/remote-hms.c
@@ -793,7 +793,7 @@ static char *
get_reg_name (regno)
int regno;
{
- static char *rn[NUM_REGS] = REGISTER_NAMES;
+ static char *rn[] = REGISTER_NAMES;
return rn[regno];
}
@@ -1217,6 +1217,7 @@ hms_read_inferior_memory (memaddr, myaddr, len)
}
}
+ expect("emory>");
hms_write_cr (" ");
expect_prompt ();
return len;