diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-04-02 19:35:30 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-04-02 19:35:30 +0000 |
commit | 0848ad1c4da297c06f56855124aaf11b2cc30c71 (patch) | |
tree | dc65b5c8708dee270cf23d0fe2a572ce6c6af45c /gdb/m2-exp.y | |
parent | c209295fa5aa466f9eceb3167a13d9df58a33bc1 (diff) | |
download | gdb-0848ad1c4da297c06f56855124aaf11b2cc30c71.zip gdb-0848ad1c4da297c06f56855124aaf11b2cc30c71.tar.gz gdb-0848ad1c4da297c06f56855124aaf11b2cc30c71.tar.bz2 |
* stabsread.c (patch_block_stabs): If stab & no symbol, make
a LOC_OPTIMIZED_OUT symbol.
symtab.h (enum address_class): Add LOC_OPTIMIZED_OUT.
findvar.c (read_var_value), printcmd.c (address_info),
symmisc.c (print_{,partial_}symbol), c-exp.y (variable),
m2-exp.y (yylex): Deal with it.
Diffstat (limited to 'gdb/m2-exp.y')
-rw-r--r-- | gdb/m2-exp.y | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/m2-exp.y b/gdb/m2-exp.y index 8a7dbba..449b13f 100644 --- a/gdb/m2-exp.y +++ b/gdb/m2-exp.y @@ -617,6 +617,7 @@ variable: NAME case LOC_LABEL: /* maybe should go above? */ case LOC_BLOCK: case LOC_CONST_BYTES: + case LOC_OPTIMIZED_OUT: /* These are listed so gcc -Wall will reveal un-handled cases. */ break; |