From 831c9ef0a4b8ccc3e8d87aeb3c2ed8890c440118 Mon Sep 17 00:00:00 2001 From: nickrob 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 32bf163534..0881e3d1a1 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.11.0