* value.h (address_of_variable): Add prototype.
authorUlrich Weigand <uweigand@de.ibm.com>
Thu, 15 Jan 2009 15:38:07 +0000 (15:38 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Thu, 15 Jan 2009 15:38:07 +0000 (15:38 +0000)
commit61212c0fb13d0a54f12748dcc56a41c15a91d12a
treed006b77357adb211693a534f9f5d25e962e128cb
parentcc2420d5bbb6f8ebfc231b80e87e9987585a7549
* value.h (address_of_variable): Add prototype.
(locate_var_value): Remove prototype.

* findvar.c (read_var_value): Do not attempt to default frame
to selected frame.
(locate_var_value): Remove function.
* valops.c (value_of_variable): Retrieve selected frame for
symbols that require a frame when called with NULL block.
* valops.c (address_of_variable): New function.

* eval.c (evaluate_subexp_for_address): Call address_of_variable
instead of calling locate_var_value.
(evaluate_subexp_with_coercion): Likewise.
gdb/ChangeLog
gdb/eval.c
gdb/findvar.c
gdb/valops.c
gdb/value.h