diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-11-13 00:53:09 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-11-13 00:53:09 +0000 |
commit | 9ee8fc9d71a37137239836d8c2dbe1e87f999960 (patch) | |
tree | f6a42669e33dbf3c92154a9b1b2a109480e6ea25 /gdb/value.c | |
parent | b88f0b484e3cc50554b47f0ec82a612535e11eef (diff) | |
download | gdb-9ee8fc9d71a37137239836d8c2dbe1e87f999960.zip gdb-9ee8fc9d71a37137239836d8c2dbe1e87f999960.tar.gz gdb-9ee8fc9d71a37137239836d8c2dbe1e87f999960.tar.bz2 |
2004-11-12 Andrew Cagney <cagney@gnu.org>
Merge VALUE_REGNO and VALUE_FRAME_REGNUM into VALUE_REGNUM.
* value.h (VALUE_REGNO, VALUE_FRAME_REGNUM): Delete.
(VALUE_REGNUM): Define.
(struct value): Delete location.regnum, rename "regno" to
"regnum".
* value.c, valops.c, valarith.c, findvar.c: Update.
Diffstat (limited to 'gdb/value.c')
-rw-r--r-- | gdb/value.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/value.c b/gdb/value.c index f8300b1..2bbaeac 100644 --- a/gdb/value.c +++ b/gdb/value.c @@ -94,7 +94,7 @@ allocate_value (struct type *type) val->offset = 0; val->bitpos = 0; val->bitsize = 0; - VALUE_REGNO (val) = -1; + VALUE_REGNUM (val) = -1; VALUE_LAZY (val) = 0; VALUE_OPTIMIZED_OUT (val) = 0; VALUE_EMBEDDED_OFFSET (val) = 0; @@ -248,7 +248,7 @@ value_copy (struct value *arg) val->bitpos = arg->bitpos; val->bitsize = arg->bitsize; VALUE_FRAME_ID (val) = VALUE_FRAME_ID (arg); - VALUE_REGNO (val) = VALUE_REGNO (arg); + VALUE_REGNUM (val) = VALUE_REGNUM (arg); VALUE_LAZY (val) = VALUE_LAZY (arg); VALUE_OPTIMIZED_OUT (val) = VALUE_OPTIMIZED_OUT (arg); VALUE_EMBEDDED_OFFSET (val) = VALUE_EMBEDDED_OFFSET (arg); @@ -963,7 +963,7 @@ value_primitive_field (struct value *arg1, int offset, if (VALUE_LVAL (arg1) == lval_internalvar) VALUE_LVAL (v) = lval_internalvar_component; VALUE_ADDRESS (v) = VALUE_ADDRESS (arg1); - VALUE_REGNO (v) = VALUE_REGNO (arg1); + VALUE_REGNUM (v) = VALUE_REGNUM (arg1); /* VALUE_OFFSET (v) = VALUE_OFFSET (arg1) + offset + TYPE_FIELD_BITPOS (arg_type, fieldno) / 8; */ return v; |