* dwarf2read.c (dw2_find_symbol_file): Don't crash if there are no files.
[deliverable/binutils-gdb.git] / gdb / stabsread.c
index 40b2465340b71b9615b45560b46ade2e1693db3a..41a7754dfdc6525b7514fc2af3e431c488dabdee 100644 (file)
@@ -3731,7 +3731,7 @@ read_enum_type (char **pp, struct type *type,
 
          SYMBOL_TYPE (xsym) = type;
          TYPE_FIELD_NAME (type, n) = SYMBOL_LINKAGE_NAME (xsym);
-         SET_FIELD_BITPOS (TYPE_FIELD (type, n), SYMBOL_VALUE (xsym));
+         SET_FIELD_ENUMVAL (TYPE_FIELD (type, n), SYMBOL_VALUE (xsym));
          TYPE_FIELD_BITSIZE (type, n) = 0;
        }
       if (syms == osyms)
This page took 0.035973 seconds and 4 git commands to generate.