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.
This commit is contained in:
Andrew Cagney
2003-05-24 03:21:42 +00:00
parent 8d0fd02a11
commit b276f1bbc9
5 changed files with 38 additions and 15 deletions

View File

@ -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)))