* stabsread.c (read_type): Don't fall through 'S' case (the case it
authorJim Kingdon <jkingdon@engr.sgi.com>
Fri, 24 Dec 1993 20:43:29 +0000 (20:43 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Fri, 24 Dec 1993 20:43:29 +0000 (20:43 +0000)
was falling though happened to do the thing thing ("break;") but that
is hardly a good thing to assume).

gdb/ChangeLog
gdb/stabsread.c

index 94d33fbc84918c7be35b457d9de56cb4e9219098..a58a8e672cdfc671cf3234cfcc79c3d7273099a1 100644 (file)
@@ -1,3 +1,9 @@
+Fri Dec 24 14:23:57 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * stabsread.c (read_type): Don't fall through 'S' case (the case it
+       was falling though happened to do the thing thing ("break;") but that
+       is hardly a good thing to assume).
+
 Tue Dec 21 13:32:02 1993  Per Bothner  (bothner@kalessin.cygnus.com)
 
        * ch-exp.y (match_dollar_tokens):  Fix off-by-one bug.
index 66cc0526ee69942ca748bec00b6e1c033b82b094..23df33391c9fc01f7333f80065990d96b67b9d88 100644 (file)
@@ -1266,8 +1266,11 @@ read_type (pp, objfile)
                  if (type_size <= 0)
                    type_size = -1;
                  break;
+
                case 'S':
                  is_string = 1;
+                 break;
+
                default:
                  /* Ignore unrecognized type attributes, so future compilers
                     can invent new ones.  */