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/top.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/top.c')
-rw-r--r-- | gdb/top.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1436,7 +1436,7 @@ get_prompt_1 (void *data) break; case TYPE_CODE_PTR: elt_type = check_typedef (TYPE_TARGET_TYPE (arg_type)); - addrval = value_as_pointer (arg_val); + addrval = value_as_address (arg_val); if (TYPE_LENGTH (elt_type) == 1 && TYPE_CODE (elt_type) == TYPE_CODE_INT && |