* remote-os9k.c (rombug_open): Fix a bug in exception handling
authorKung Hsu <kung@cygnus>
Wed, 18 Jan 1995 19:31:25 +0000 (19:31 +0000)
committerKung Hsu <kung@cygnus>
Wed, 18 Jan 1995 19:31:25 +0000 (19:31 +0000)
        command.
        * remote-os9k.c (rombug_write_inferior_memory): reset buffer after
        write.

gdb/ChangeLog
gdb/remote-os9k.c

index a4f2b78cd9cb810769cf6b8599255fa5e53393c2..a4f2df52305ad4d3c28658b7442b260bf79dedff 100644 (file)
@@ -1,3 +1,10 @@
+Wed Jan 18 11:25:43 1995  Kung Hsu  <kung@mexican.cygnus.com>
+
+       * remote-os9k.c (rombug_open): Fix a bug in exception handling
+       command.
+       * remote-os9k.c (rombug_write_inferior_memory): reset buffer after
+       write.
+
 Tue Jan 17 09:48:38 1995  Jim Kingdon  <kingdon@lioth.cygnus.com>
 
        * parse.c (_initialize_parse): Improve wording of names of
index c9a1a97c7f020b0e6ed51fb0be2346b110287eb9..9b6f7bafa40ab9643adb0e43b9e5731f68bdb9a0 100644 (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;
 }