diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-12-24 20:43:29 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-12-24 20:43:29 +0000 |
commit | 7677d4fda409bc7e7e8690e6a395739df843da9b (patch) | |
tree | d7e7f3a35c374cc8838734ac43eb6a01b14656d1 | |
parent | 8ba154e2f04e19e1119fa921eeeabc0bd65c0ae8 (diff) | |
download | gdb-7677d4fda409bc7e7e8690e6a395739df843da9b.zip gdb-7677d4fda409bc7e7e8690e6a395739df843da9b.tar.gz gdb-7677d4fda409bc7e7e8690e6a395739df843da9b.tar.bz2 |
* 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).
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/stabsread.c | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 94d33fb..a58a8e6 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 66cc052..23df333 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. */ |