diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-10-16 01:58:07 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-10-16 01:58:07 +0000 |
commit | 1aa20aa88f25187a6947acc8d8ccaeb97daaa4d0 (patch) | |
tree | ee454a018ac2871270bbca8caaabe9a2722481a2 /gdb/findvar.c | |
parent | dbbd9c57ff004955375f214b66a29cd0abf101fd (diff) | |
download | gdb-1aa20aa88f25187a6947acc8d8ccaeb97daaa4d0.zip gdb-1aa20aa88f25187a6947acc8d8ccaeb97daaa4d0.tar.gz gdb-1aa20aa88f25187a6947acc8d8ccaeb97daaa4d0.tar.bz2 |
* value.h (value_as_address): Rename value_as_pointer.
* eval.c, findvar.c, gnu-v2-abi.c, gnu-v3-abi.c, jv-lang.c,
jv-valprint.c, printcmd.c, stack.c, top.c, valarith.c, valops.c,
values.c: Update.
Diffstat (limited to 'gdb/findvar.c')
-rw-r--r-- | gdb/findvar.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/findvar.c b/gdb/findvar.c index 0445620..43e4b60 100644 --- a/gdb/findvar.c +++ b/gdb/findvar.c @@ -484,7 +484,7 @@ addresses have not been bound by the dynamic loader. Try again when executable i locaddr = SYMBOL_VALUE_ADDRESS (var); loc = value_at (lookup_pointer_type (type), locaddr, NULL); - addr = value_as_pointer (loc); + addr = value_as_address (loc); } case LOC_ARG: @@ -507,7 +507,7 @@ addresses have not been bound by the dynamic loader. Try again when executable i return 0; argref += SYMBOL_VALUE (var); ref = value_at (lookup_pointer_type (type), argref, NULL); - addr = value_as_pointer (ref); + addr = value_as_address (ref); break; } @@ -529,7 +529,7 @@ addresses have not been bound by the dynamic loader. Try again when executable i SYMBOL_BASEREG (var), frame); if (regval == NULL) error ("Value of base register not available."); - addr = value_as_pointer (regval); + addr = value_as_address (regval); addr += SYMBOL_VALUE (var); break; } @@ -567,7 +567,7 @@ addresses have not been bound by the dynamic loader. Try again when executable i if (regval == NULL) error ("Value of register variable not available."); - addr = value_as_pointer (regval); + addr = value_as_address (regval); VALUE_LVAL (v) = lval_memory; } else |