aboutsummaryrefslogtreecommitdiff
path: root/gdb/inferior.h
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2009-06-17 18:50:31 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2009-06-17 18:50:31 +0000
commit9898f801b47255d0f1dee8c7a2238369e34adcd1 (patch)
tree3854de1986adfca665e1e76ec8011df8bef8c371 /gdb/inferior.h
parent1fac167a7619ad8291064db597b1884adfcbdf4a (diff)
downloadgdb-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/inferior.h')
-rw-r--r--gdb/inferior.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/gdb/inferior.h b/gdb/inferior.h
index 6c71ef6..c793936 100644
--- a/gdb/inferior.h
+++ b/gdb/inferior.h
@@ -155,13 +155,17 @@ extern void terminal_save_ours (void);
extern void terminal_ours (void);
-extern CORE_ADDR unsigned_pointer_to_address (struct type *type,
+extern CORE_ADDR unsigned_pointer_to_address (struct gdbarch *gdbarch,
+ struct type *type,
const gdb_byte *buf);
-extern void unsigned_address_to_pointer (struct type *type, gdb_byte *buf,
+extern void unsigned_address_to_pointer (struct gdbarch *gdbarch,
+ struct type *type, gdb_byte *buf,
CORE_ADDR addr);
-extern CORE_ADDR signed_pointer_to_address (struct type *type,
+extern CORE_ADDR signed_pointer_to_address (struct gdbarch *gdbarch,
+ struct type *type,
const gdb_byte *buf);
-extern void address_to_signed_pointer (struct type *type, gdb_byte *buf,
+extern void address_to_signed_pointer (struct gdbarch *gdbarch,
+ struct type *type, gdb_byte *buf,
CORE_ADDR addr);
extern void wait_for_inferior (int treat_exec_as_sigtrap);