diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-03-12 22:39:16 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-03-12 22:39:16 +0000 |
commit | 0a1e1ca1f645fe9728ae8fa5d5f20f11572285db (patch) | |
tree | bb116688837e5870629f1203aa134157c8b34e4c /gdb/findvar.c | |
parent | a66a9c23319105b23198e91be27a2e2f442f4671 (diff) | |
download | gdb-0a1e1ca1f645fe9728ae8fa5d5f20f11572285db.zip gdb-0a1e1ca1f645fe9728ae8fa5d5f20f11572285db.tar.gz gdb-0a1e1ca1f645fe9728ae8fa5d5f20f11572285db.tar.bz2 |
2003-03-12 Andrew Cagney <cagney@redhat.com>
* frame.c (get_current_frame): Check target_has_registers before
checking target_has_stack.
* eval.c (evaluate_subexp_standard): Use get_selected_frame,
instead of deprecated_selected_frame.
* findvar.c (value_of_register): Pass "frame", not
deprecated_selected_frame, to value_of_builtin_reg.
Diffstat (limited to 'gdb/findvar.c')
-rw-r--r-- | gdb/findvar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/findvar.c b/gdb/findvar.c index 3147126..38d01cd 100644 --- a/gdb/findvar.c +++ b/gdb/findvar.c @@ -305,7 +305,7 @@ value_of_register (int regnum, struct frame_info *frame) /* Builtin registers lie completly outside of the range of normal registers. Catch them early so that the target never sees them. */ if (regnum >= NUM_REGS + NUM_PSEUDO_REGS) - return value_of_builtin_reg (regnum, deprecated_selected_frame); + return value_of_builtin_reg (regnum, frame); get_saved_register (raw_buffer, &optim, &addr, frame, regnum, &lval); |