mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-27 20:03:31 +08:00
* dwarf2read.c (process_die): Also allow DW_TAG_const_type
and DW_TAG_volatile_type. (new_symbol): Likewise.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2010-05-21 Pierre Muller <muller@ics.u-strasbg.fr>
|
||||||
|
|
||||||
|
* dwarf2read.c (process_die): Also allow DW_TAG_const_type
|
||||||
|
and DW_TAG_volatile_type.
|
||||||
|
(new_symbol): Likewise.
|
||||||
|
|
||||||
2010-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
|
2010-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
|
||||||
|
|
||||||
* p-valprint.c (pascal_val_print): Call get_array_bounds
|
* p-valprint.c (pascal_val_print): Call get_array_bounds
|
||||||
|
@ -3194,6 +3194,8 @@ process_die (struct die_info *die, struct dwarf2_cu *cu)
|
|||||||
case DW_TAG_base_type:
|
case DW_TAG_base_type:
|
||||||
case DW_TAG_subrange_type:
|
case DW_TAG_subrange_type:
|
||||||
case DW_TAG_typedef:
|
case DW_TAG_typedef:
|
||||||
|
case DW_TAG_const_type:
|
||||||
|
case DW_TAG_volatile_type:
|
||||||
/* Add a typedef symbol for the type definition, if it has a
|
/* Add a typedef symbol for the type definition, if it has a
|
||||||
DW_AT_name. */
|
DW_AT_name. */
|
||||||
new_symbol (die, read_type_die (die, cu), cu);
|
new_symbol (die, read_type_die (die, cu), cu);
|
||||||
@ -8742,6 +8744,8 @@ new_symbol (struct die_info *die, struct type *type, struct dwarf2_cu *cu)
|
|||||||
break;
|
break;
|
||||||
case DW_TAG_base_type:
|
case DW_TAG_base_type:
|
||||||
case DW_TAG_subrange_type:
|
case DW_TAG_subrange_type:
|
||||||
|
case DW_TAG_const_type:
|
||||||
|
case DW_TAG_volatile_type:
|
||||||
SYMBOL_CLASS (sym) = LOC_TYPEDEF;
|
SYMBOL_CLASS (sym) = LOC_TYPEDEF;
|
||||||
SYMBOL_DOMAIN (sym) = VAR_DOMAIN;
|
SYMBOL_DOMAIN (sym) = VAR_DOMAIN;
|
||||||
add_symbol_to_list (sym, cu->list_in_scope);
|
add_symbol_to_list (sym, cu->list_in_scope);
|
||||||
|
Reference in New Issue
Block a user