diff options
author | Kung Hsu <kung@cygnus> | 1995-01-04 20:31:40 +0000 |
---|---|---|
committer | Kung Hsu <kung@cygnus> | 1995-01-04 20:31:40 +0000 |
commit | 034022bf6550a93644a32d100a7a4568097890a1 (patch) | |
tree | e71d58915849bc1d5d5d0ce2eb23f2e7bf9214cf /gdb | |
parent | fd2ae9ec28333c873b72c2366ff408e2b3569b70 (diff) | |
download | binutils-034022bf6550a93644a32d100a7a4568097890a1.zip binutils-034022bf6550a93644a32d100a7a4568097890a1.tar.gz binutils-034022bf6550a93644a32d100a7a4568097890a1.tar.bz2 |
* remote-os9k.c (rombug_open): catch exception e in rombug.
* remote-os9k.c (rombug_wait): print message before register display
from rombug.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/remote-os9k.c | 10 |
2 files changed, 13 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4bccb6d..5407a4e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +Wed Jan 4 12:27:29 1995 Kung Hsu <kung@mexican.cygnus.com> + + * remote-os9k.c (rombug_open): catch exception e in rombug. + * remote-os9k.c (rombug_wait): print message before register display + from rombug. + Wed Jan 4 09:18:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com) * top.c (locate_arg): Call strchr not index. diff --git a/gdb/remote-os9k.c b/gdb/remote-os9k.c index f1aaaf8..c9a1a97 100644 --- a/gdb/remote-os9k.c +++ b/gdb/remote-os9k.c @@ -359,13 +359,16 @@ rombug_open(args, from_tty) push_monitor (&rombug_cmds); printf_monitor("\r"); /* CR wakes up monitor */ expect_prompt(1); - push_target (&rombug_ops); + attach_flag = 1; + if (from_tty) printf("Remote %s connected to %s\n", target_shortname, dev_name); - attach_flag = 1; + printf_monitor ("ov e \r"); + expect_prompt(1); + rombug_fetch_registers(); bufaddr = 0; buflen = 0; @@ -488,7 +491,8 @@ rombug_wait (pid, status) status->kind = TARGET_WAITKIND_EXITED; status->value.integer = 0; - timeout = 0; /* Don't time out -- user program is running. */ + timeout = -1; /* Don't time out -- user program is running. */ + expect ("eax:", 0); /* output any message before register display */ expect_prompt(1); /* Wait for prompt, outputting extraneous text */ status->kind = TARGET_WAITKIND_STOPPED; |