From: Nick Roberts Date: Sat, 6 May 2006 00:14:03 +0000 (+0000) Subject: Make LOC_OPTIMIZED_OUT the default value for a symbol. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=875dc2fc84a3180e7bed10203a541363ae327233;p=binutils-gdb.git Make LOC_OPTIMIZED_OUT the default value for a symbol. --- diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 32bf163534c..0881e3d1a1f 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -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