aboutsummaryrefslogtreecommitdiff
path: root/gdb/stabsread.c
diff options
context:
space:
mode:
authorKung Hsu <kung@cygnus>1994-06-09 22:03:41 +0000
committerKung Hsu <kung@cygnus>1994-06-09 22:03:41 +0000
commit539dccd38e26302abc9cc18aa7e11f8d682bdd23 (patch)
tree36f6359d5a746748615ca0c32de6be4dc6f245bd /gdb/stabsread.c
parent9beeb5d9e516be30d4ae262ef8721d0987a8d78d (diff)
downloadgdb-539dccd38e26302abc9cc18aa7e11f8d682bdd23.zip
gdb-539dccd38e26302abc9cc18aa7e11f8d682bdd23.tar.gz
gdb-539dccd38e26302abc9cc18aa7e11f8d682bdd23.tar.bz2
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.
Diffstat (limited to 'gdb/stabsread.c')
-rw-r--r--gdb/stabsread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/stabsread.c b/gdb/stabsread.c
index a1b1775..cc0a7fe 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));