summaryrefslogtreecommitdiffstats
path: root/gdb/valarith.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-11-13 00:53:09 +0000
committerAndrew Cagney <cagney@redhat.com>2004-11-13 00:53:09 +0000
commit9ee8fc9d71a37137239836d8c2dbe1e87f999960 (patch)
treef6a42669e33dbf3c92154a9b1b2a109480e6ea25 /gdb/valarith.c
parentb88f0b484e3cc50554b47f0ec82a612535e11eef (diff)
downloadppe42-binutils-9ee8fc9d71a37137239836d8c2dbe1e87f999960.tar.gz
ppe42-binutils-9ee8fc9d71a37137239836d8c2dbe1e87f999960.zip
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/valarith.c')
-rw-r--r--gdb/valarith.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/valarith.c b/gdb/valarith.c
index 4fd0e74c42..ea93ea1111 100644
--- a/gdb/valarith.c
+++ b/gdb/valarith.c
@@ -277,7 +277,7 @@ value_subscripted_rvalue (struct value *array, struct value *idx, int lowerbound
else
VALUE_LVAL (v) = VALUE_LVAL (array);
VALUE_ADDRESS (v) = VALUE_ADDRESS (array);
- VALUE_REGNO (v) = VALUE_REGNO (array);
+ VALUE_REGNUM (v) = VALUE_REGNUM (array);
v->offset = value_offset (array) + elt_offs;
return v;
}
OpenPOWER on IntegriCloud