summaryrefslogtreecommitdiff
path: root/gdb/valops.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-11-13 02:29:48 +0000
committerAndrew Cagney <cagney@redhat.com>2004-11-13 02:29:48 +0000
commit606fd5aa6b438120a7fd715604338ab02b46a01c (patch)
tree9e4cb797d46f1fec25f50e47d3b2b2697b7b9b3c /gdb/valops.c
parent9d11a78baa5130afa2a31029df9d1392d661d5b3 (diff)
downloadgdb-606fd5aa6b438120a7fd715604338ab02b46a01c.tar.gz
2004-11-12 Andrew Cagney <cagney@gnu.org>
* defs.h (enum lval_type): Delete lval_reg_frame_relative. * value.h (struct value): Update comment. * valops.c (value_assign): Fold lval_reg_fame_relative into lval_register. * findvar.c (value_from_register, locate_var_value): Ditto.
Diffstat (limited to 'gdb/valops.c')
-rw-r--r--gdb/valops.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/valops.c b/gdb/valops.c
index 6fa15778519..40290d4a721 100644
--- a/gdb/valops.c
+++ b/gdb/valops.c
@@ -596,7 +596,6 @@ value_assign (struct value *toval, struct value *fromval)
}
break;
- case lval_reg_frame_relative:
case lval_register:
{
struct frame_info *frame;
@@ -617,7 +616,7 @@ value_assign (struct value *toval, struct value *fromval)
if (!frame)
error ("Value being assigned to is no longer active.");
- if (VALUE_LVAL (toval) == lval_reg_frame_relative
+ if (VALUE_LVAL (toval) == lval_register
&& CONVERT_REGISTER_P (VALUE_REGNUM (toval), type))
{
/* If TOVAL is a special machine register requiring
@@ -699,7 +698,6 @@ value_assign (struct value *toval, struct value *fromval)
{
case lval_memory:
case lval_register:
- case lval_reg_frame_relative:
reinit_frame_cache ();