From: Kung Hsu Date: Thu, 9 Jun 1994 22:03:41 +0000 (+0000) Subject: Modified Files: X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=539dccd38e26302abc9cc18aa7e11f8d682bdd23;p=binutils-gdb.git Modified Files: 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. --- diff --git a/gdb/remote-os9k.c b/gdb/remote-os9k.c index 798e2ebf7e9..cf4cd9b7d33 100644 --- a/gdb/remote-os9k.c +++ b/gdb/remote-os9k.c @@ -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 diff --git a/gdb/stabsread.c b/gdb/stabsread.c index a1b1775af8b..cc0a7fea41c 100644 --- a/gdb/stabsread.c +++ b/gdb/stabsread.c @@ -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));