diff options
author | Nick Roberts <nickrob@snap.net.nz> | 2006-05-06 00:14:03 +0000 |
---|---|---|
committer | Nick Roberts <nickrob@snap.net.nz> | 2006-05-06 00:14:03 +0000 |
commit | 875dc2fc84a3180e7bed10203a541363ae327233 (patch) | |
tree | 1f267506b9223ed0952501394f1396d4107cf7e3 /gdb | |
parent | 6fed56b401513d246afb41c905efabd7e78a3de7 (diff) | |
download | gdb-875dc2fc84a3180e7bed10203a541363ae327233.zip gdb-875dc2fc84a3180e7bed10203a541363ae327233.tar.gz gdb-875dc2fc84a3180e7bed10203a541363ae327233.tar.bz2 |
Make LOC_OPTIMIZED_OUT the default value for a symbol.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/dwarf2read.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 32bf163..0881e3d 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 |