mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-24 20:49:43 +00:00
Make LOC_OPTIMIZED_OUT the default value for a symbol.
This commit is contained in:
parent
6fed56b401
commit
875dc2fc84
@ -6856,7 +6856,7 @@ new_symbol (struct die_info *die, struct type *type, struct dwarf2_cu *cu)
|
||||
/* Default assumptions.
|
||||
Use the passed type or decode it from the die. */
|
||||
SYMBOL_DOMAIN (sym) = VAR_DOMAIN;
|
||||
SYMBOL_CLASS (sym) = LOC_STATIC;
|
||||
SYMBOL_CLASS (sym) = LOC_OPTIMIZED_OUT;
|
||||
if (type != NULL)
|
||||
SYMBOL_TYPE (sym) = type;
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user