aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-05-24 03:21:42 +0000
committerAndrew Cagney <cagney@redhat.com>2003-05-24 03:21:42 +0000
commitb276f1bbc9cf6f8d44204350cb03e4d021edf783 (patch)
tree5cd1b1424eec2daf955340d56d7378a71d777c58 /gdb/ada-lang.h
parent*** empty log message *** (diff)
downloadbinutils-gdb-b276f1bbc9cf6f8d44204350cb03e4d021edf783.tar.gz
binutils-gdb-b276f1bbc9cf6f8d44204350cb03e4d021edf783.tar.bz2
binutils-gdb-b276f1bbc9cf6f8d44204350cb03e4d021edf783.zip
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-lang.h')
-rw-r--r--gdb/ada-lang.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/ada-lang.h b/gdb/ada-lang.h
index ae863bd0557..54e56bb0529 100644
--- a/gdb/ada-lang.h
+++ b/gdb/ada-lang.h
@@ -27,9 +27,9 @@ struct partial_symbol;
struct block;
-/* A macro to reorder the bytes of an address depending on the endiannes
- of the target */
-#define EXTRACT_ADDRESS(x) ((void *) extract_address (&(x), sizeof (x)))
+/* A macro to reorder the bytes of an address depending on the
+ endiannes of the target. */
+#define EXTRACT_ADDRESS(x) ((void *) extract_unsigned_integer (&(x), sizeof (x)))
/* A macro to reorder the bytes of an int depending on the endiannes
of the target */
#define EXTRACT_INT(x) ((int) extract_signed_integer (&(x), sizeof (x)))