diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-05-24 03:21:42 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-05-24 03:21:42 +0000 |
commit | b276f1bbc9cf6f8d44204350cb03e4d021edf783 (patch) | |
tree | 5cd1b1424eec2daf955340d56d7378a71d777c58 /gdb/ada-valprint.c | |
parent | 8d0fd02a11d39911b96a5da6058796e104bc90a5 (diff) | |
download | gdb-b276f1bbc9cf6f8d44204350cb03e4d021edf783.zip gdb-b276f1bbc9cf6f8d44204350cb03e4d021edf783.tar.gz gdb-b276f1bbc9cf6f8d44204350cb03e4d021edf783.tar.bz2 |
2003-05-23 Andrew Cagney <cagney@redhat.com>
* p-valprint.c (pascal_val_print): Replace extract_address with
the inline equivalent extract_unsigned_integer.
* jv-valprint.c (java_value_print): Ditto.
* ada-valprint.c (ada_val_print_1): Ditto.
* ada-lang.h (EXTRACT_ADDRESS): Ditto.
Diffstat (limited to 'gdb/ada-valprint.c')
-rw-r--r-- | gdb/ada-valprint.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/ada-valprint.c b/gdb/ada-valprint.c index 11c42bf..f5f4118 100644 --- a/gdb/ada-valprint.c +++ b/gdb/ada-valprint.c @@ -742,9 +742,11 @@ ada_val_print_1 (struct type *type, char *valaddr0, int embedded_offset, if (addressprint) { fprintf_filtered (stream, "@"); + /* Extract an address, assume that the address is unsigned. */ print_address_numeric - (extract_address (valaddr, - TARGET_PTR_BIT / HOST_CHAR_BIT), 1, stream); + (extract_unsigned_integer (valaddr, + TARGET_PTR_BIT / HOST_CHAR_BIT), + 1, stream); if (deref_ref) fputs_filtered (": ", stream); } |