* findvar.c, value.h (symbol_read_needs_frame): New function.
authorJim Kingdon <jkingdon@engr.sgi.com>
Fri, 8 Oct 1993 20:33:22 +0000 (20:33 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Fri, 8 Oct 1993 20:33:22 +0000 (20:33 +0000)
commit443abae18cc0f7c2654a6d0ddda239a4c6c846a5
tree76d1f9fd7a9bb44a320b34e230bc61c687ad3956
parent1aa6938eb37f89db944795a21aadb98af7e44399
* findvar.c, value.h (symbol_read_needs_frame): New function.
* c-exp.y, m2-exp.y: Call it instead of having our own switch on
the symbol's class.
* valops.c (value_of_variable): Use symbol_read_needs_frame to
decide whether we care about finding a frame.
gdb/ChangeLog
gdb/c-exp.y
gdb/findvar.c
gdb/m2-exp.y
gdb/valops.c