diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2009-06-17 18:50:31 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2009-06-17 18:50:31 +0000 |
commit | 9898f801b47255d0f1dee8c7a2238369e34adcd1 (patch) | |
tree | 3854de1986adfca665e1e76ec8011df8bef8c371 /gdb/xstormy16-tdep.c | |
parent | 1fac167a7619ad8291064db597b1884adfcbdf4a (diff) | |
download | gdb-9898f801b47255d0f1dee8c7a2238369e34adcd1.zip gdb-9898f801b47255d0f1dee8c7a2238369e34adcd1.tar.gz gdb-9898f801b47255d0f1dee8c7a2238369e34adcd1.tar.bz2 |
* gdbarch.sh (pointer_to_address): Change to type 'm'.
(address_to_pointer): Likewise.
* gdbarch.c, gdbarch.h: Regenerate.
* inferior.h (unsigned_pointer_to_address): Add GDBARCH argument.
(signed_pointer_to_address): Likewise.
(unsigned_address_to_pointer, address_to_signed_pointer): Likewise.
* findvar.c (unsigned_pointer_to_address): Likewise.
(signed_pointer_to_address): Likewise.
(unsigned_address_to_pointer, address_to_signed_pointer): Likewise.
* avr-tdep.c (avr_address_to_pointer): Likewise.
(avr_pointer_to_address): Likewise.
* iq2000-tdep.c (iq2000_pointer_to_address): Likewise.
(iq2000_address_to_pointer): Likewise.
* m32c-tdep.c (m32c_m16c_address_to_pointer): Likewise.
(m32c_m16c_pointer_to_address): Likewise.
* spu-tdep.c (spu_pointer_to_address): Likewise.
* xstormy16-tdep.c (xstormy16_pointer_to_address): Likewise.
(xstormy16_address_to_pointer): Likewise.
Diffstat (limited to 'gdb/xstormy16-tdep.c')
-rw-r--r-- | gdb/xstormy16-tdep.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/xstormy16-tdep.c b/gdb/xstormy16-tdep.c index b35ff11..4445d3f 100644 --- a/gdb/xstormy16-tdep.c +++ b/gdb/xstormy16-tdep.c @@ -592,7 +592,8 @@ xstormy16_skip_trampoline_code (struct frame_info *frame, CORE_ADDR pc) and vice versa. */ static CORE_ADDR -xstormy16_pointer_to_address (struct type *type, const gdb_byte *buf) +xstormy16_pointer_to_address (struct gdbarch *gdbarch, + struct type *type, const gdb_byte *buf) { enum type_code target = TYPE_CODE (TYPE_TARGET_TYPE (type)); CORE_ADDR addr = extract_unsigned_integer (buf, TYPE_LENGTH (type)); @@ -608,7 +609,8 @@ xstormy16_pointer_to_address (struct type *type, const gdb_byte *buf) } static void -xstormy16_address_to_pointer (struct type *type, gdb_byte *buf, CORE_ADDR addr) +xstormy16_address_to_pointer (struct gdbarch *gdbarch, + struct type *type, gdb_byte *buf, CORE_ADDR addr) { enum type_code target = TYPE_CODE (TYPE_TARGET_TYPE (type)); |