From 875dc2fc84a3180e7bed10203a541363ae327233 Mon Sep 17 00:00:00 2001 From: Nick Roberts Date: Sat, 6 May 2006 00:14:03 +0000 Subject: [PATCH] Make LOC_OPTIMIZED_OUT the default value for a symbol. --- gdb/dwarf2read.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2