Modified Files:
authorKung Hsu <kung@cygnus>
Thu, 9 Jun 1994 22:03:41 +0000 (22:03 +0000)
committerKung Hsu <kung@cygnus>
Thu, 9 Jun 1994 22:03:41 +0000 (22:03 +0000)
remote-os9k.c stabsread.c

        * remote-os9k.c (rombuf_command): fix a bug accepting rombug
        output.
        * stabsread.c (read_struct_fields): os9k nested structure does not
        have terminating ';', instead it just get to ',' and bit position
        and length.

gdb/remote-os9k.c
gdb/stabsread.c

index 798e2ebf7e9ae2c048933ac853d96dc43c7768a0..cf4cd9b7d33be8b12f94b8b78d82ee1987a10560 100644 (file)
@@ -1015,7 +1015,7 @@ rombug_command (args, fromtty)
     error("Missing command.");
        
   printf_monitor("%s\r", args);
-  expect(CMD_DELIM, 0);
+  expect_prompt(0);
 }
 
 #if 0
index a1b1775af8b31f583088ca98c64131adbc3942ce..cc0a7fea41cbe9cf4830aa869e98be103c7e723a 100644 (file)
@@ -2455,6 +2455,7 @@ read_struct_fields (fip, pp, type, objfile)
 
   while (**pp != ';')
     {
+      if (os9k_stabs && **pp == ',') break;
       STABS_CONTINUE (pp);
       /* Get space to record the next field's data.  */
       new = (struct nextfield *) xmalloc (sizeof (struct nextfield));
This page took 0.028907 seconds and 4 git commands to generate.