projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fed56b
)
Make LOC_OPTIMIZED_OUT the default value for a symbol.
author
Nick Roberts
<nickrob@snap.net.nz>
Sat, 6 May 2006 00:14:03 +0000
(
00:14
+0000)
committer
Nick Roberts
<nickrob@snap.net.nz>
Sat, 6 May 2006 00:14:03 +0000
(
00:14
+0000)
gdb/dwarf2read.c
patch
|
blob
|
history
diff --git
a/gdb/dwarf2read.c
b/gdb/dwarf2read.c
index 32bf163534c113ade03775cc69652f5a41ee8f89..0881e3d1a1fbdcab3f6220f24fde224f5b70b51e 100644
(file)
--- 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