forked from Imagelibrary/binutils-gdb
* 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).
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user