* remote-os9k.c (rombug_open): Fix a bug in exception handling

command.
        * remote-os9k.c (rombug_write_inferior_memory): reset buffer after
        write.
This commit is contained in:
Kung Hsu
1995-01-18 19:31:25 +00:00
parent 0b0669febd
commit 6bbc99e309
2 changed files with 11 additions and 2 deletions

View File

@@ -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;
}