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 | 4ebc0d353aac952ae3cce8620421ba232d228a92 (patch) | |
tree | 9be17841bba36e462b29b94eebe8037d6f43d2e5 /gdb/findvar.c | |
parent | 7e604dd8c0ebf54ab545f229c2c2c1a786e9e51d (diff) | |
download | gdb-4ebc0d353aac952ae3cce8620421ba232d228a92.tar.gz |
* 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 04456207c7d..43e4b60a796 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 |