aboutsummaryrefslogtreecommitdiff
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
commit25ae5d16b1e30cc2bc1f2eb5b51553ea6413433c (patch)
tree2b3f23fb4370aa89030b05c7616bb1f0c3add477 /gdb/valops.c
parentd73188182eee3fb4c87c24ec1139b0b04cf41c1e (diff)
downloadgdb-25ae5d16b1e30cc2bc1f2eb5b51553ea6413433c.zip
gdb-25ae5d16b1e30cc2bc1f2eb5b51553ea6413433c.tar.gz
gdb-25ae5d16b1e30cc2bc1f2eb5b51553ea6413433c.tar.bz2
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 6fa1577..40290d4 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 ();