diff options
author | Steve Chamberlain <sac@cygnus> | 1995-08-09 20:41:16 +0000 |
---|---|---|
committer | Steve Chamberlain <sac@cygnus> | 1995-08-09 20:41:16 +0000 |
commit | 998cfe7df0c342291dfa2b22804beb8f88c72ca9 (patch) | |
tree | 2e9873c400986f756afe59de0cdf79c3f314f7a5 /gdb/remote-hms.c | |
parent | 60e36671ef86f1f1a2387ec751ece0fce6a06b23 (diff) | |
download | gdb-998cfe7df0c342291dfa2b22804beb8f88c72ca9.zip gdb-998cfe7df0c342291dfa2b22804beb8f88c72ca9.tar.gz gdb-998cfe7df0c342291dfa2b22804beb8f88c72ca9.tar.bz2 |
* remote-hms.c (hms_cmds): Get reg term right.
* monitor.c (monitor_fetch_register): If we see
a non-hex digit, just stop reading.
* remote.c (remote_wait): Change way $O is handled.
Diffstat (limited to 'gdb/remote-hms.c')
-rw-r--r-- | gdb/remote-hms.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/remote-hms.c b/gdb/remote-hms.c index dbbf316..b985172 100644 --- a/gdb/remote-hms.c +++ b/gdb/remote-hms.c @@ -113,7 +113,7 @@ static struct monitor_ops hms_cmds = "\003", /* getmem.term_cmd */ }, { - "\003r %s=%x\r", /* setreg.cmd (name, value) */ + "r %s=%x\r", /* setreg.cmd (name, value) */ NULL, /* setreg.resp_delim */ NULL, /* setreg.term */ NULL /* setreg.term_cmd */ @@ -121,7 +121,7 @@ static struct monitor_ops hms_cmds = { "r %s\r", /* getreg.cmd (name) */ " (", /* getreg.resp_delim */ - "):", /* getreg.term */ + ":", /* getreg.term */ "\003", /* getreg.term_cmd */ }, "r\r", /* dump_registers */ |