aboutsummaryrefslogtreecommitdiff
path: root/gdb/stabsread.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-12-24 20:43:29 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-12-24 20:43:29 +0000
commit7677d4fda409bc7e7e8690e6a395739df843da9b (patch)
treed7e7f3a35c374cc8838734ac43eb6a01b14656d1 /gdb/stabsread.c
parent8ba154e2f04e19e1119fa921eeeabc0bd65c0ae8 (diff)
downloadgdb-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).
Diffstat (limited to 'gdb/stabsread.c')
-rw-r--r--gdb/stabsread.c3
1 files changed, 3 insertions, 0 deletions
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. */