diff options
author | Kung Hsu <kung@cygnus> | 1995-01-18 19:31:25 +0000 |
---|---|---|
committer | Kung Hsu <kung@cygnus> | 1995-01-18 19:31:25 +0000 |
commit | 6bbc99e309f9be7726313c8ce1628815310c5b4a (patch) | |
tree | 6b99b753e316b15515bea7a0cf1261aada926a76 /gdb/remote-os9k.c | |
parent | 0b0669febd897f7d62a6414d8628ec99c2bfd78d (diff) | |
download | gdb-6bbc99e309f9be7726313c8ce1628815310c5b4a.zip gdb-6bbc99e309f9be7726313c8ce1628815310c5b4a.tar.gz gdb-6bbc99e309f9be7726313c8ce1628815310c5b4a.tar.bz2 |
* remote-os9k.c (rombug_open): Fix a bug in exception handling
command.
* remote-os9k.c (rombug_write_inferior_memory): reset buffer after
write.
Diffstat (limited to 'gdb/remote-os9k.c')
-rw-r--r-- | gdb/remote-os9k.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/remote-os9k.c b/gdb/remote-os9k.c index c9a1a97..9b6f7ba 100644 --- a/gdb/remote-os9k.c +++ b/gdb/remote-os9k.c @@ -366,10 +366,10 @@ rombug_open(args, from_tty) printf("Remote %s connected to %s\n", target_shortname, dev_name); + rombug_fetch_registers(); + printf_monitor ("ov e \r"); expect_prompt(1); - - rombug_fetch_registers(); bufaddr = 0; buflen = 0; } @@ -763,6 +763,8 @@ rombug_write_inferior_memory (memaddr, myaddr, len) is_trace_mode = 0; expect_prompt (1); + bufaddr = 0; + buflen = 0; return len; } |