From 7677d4fda409bc7e7e8690e6a395739df843da9b Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Fri, 24 Dec 1993 20:43:29 +0000 Subject: [PATCH] * 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). --- gdb/ChangeLog | 6 ++++++ gdb/stabsread.c | 3 +++ 2 files changed, 9 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 94d33fbc849..a58a8e672cd 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. diff --git a/gdb/stabsread.c b/gdb/stabsread.c index 66cc0526ee6..23df33391c9 100644 --- a/gdb/stabsread.c +++ b/gdb/stabsread.c @@ -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. */ -- 2.30.2