aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-hms.c
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1993-01-18 20:24:47 +0000
committerSteve Chamberlain <sac@cygnus>1993-01-18 20:24:47 +0000
commit62b66d6df1cf614535e1e468c32b67c4441413a1 (patch)
tree906859c58fc89deafc9bda54f50dd8b2adf0e9fc /gdb/remote-hms.c
parentc4413e2c9b9e257a93b4370c5e4e976c768b9e9a (diff)
downloadgdb-62b66d6df1cf614535e1e468c32b67c4441413a1.zip
gdb-62b66d6df1cf614535e1e468c32b67c4441413a1.tar.gz
gdb-62b66d6df1cf614535e1e468c32b67c4441413a1.tar.bz2
checkpoint
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;