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/ch-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/ch-exp.y')
-rw-r--r-- | gdb/ch-exp.y | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/ch-exp.y b/gdb/ch-exp.y index 41ff245..0a2efd1 100644 --- a/gdb/ch-exp.y +++ b/gdb/ch-exp.y @@ -1979,6 +1979,7 @@ yylex () case LOC_UNDEF: case LOC_TYPEDEF: case LOC_CONST_BYTES: + case LOC_OPTIMIZED_OUT: error ("Symbol \"%s\" names no location.", simplename); break; } |