diff options
author | Andrew Cagney <cagney@redhat.com> | 2000-06-04 13:46:37 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2000-06-04 13:46:37 +0000 |
commit | ac2e2ef7e2214be3672096ea7e6641d6a0651fd7 (patch) | |
tree | 7205cea8571355be893617fae45005b4ab5901a7 /gdb/inferior.h | |
parent | 0b5454486cd4b2e34f4ac7eb51092ef55fa97b07 (diff) | |
download | gdb-ac2e2ef7e2214be3672096ea7e6641d6a0651fd7.zip gdb-ac2e2ef7e2214be3672096ea7e6641d6a0651fd7.tar.gz gdb-ac2e2ef7e2214be3672096ea7e6641d6a0651fd7.tar.bz2 |
Add host_pointer_to_address() and address_to_host_pointer(). Add
signed_pointer_to_address() etc. Rename generic_pointer_to_address()
to unsigned_pointer_to_address() etc.
Diffstat (limited to 'gdb/inferior.h')
-rw-r--r-- | gdb/inferior.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gdb/inferior.h b/gdb/inferior.h index 8e17202..26798a5 100644 --- a/gdb/inferior.h +++ b/gdb/inferior.h @@ -160,10 +160,13 @@ extern void write_fp (CORE_ADDR); extern void generic_target_write_fp (CORE_ADDR); -extern CORE_ADDR generic_pointer_to_address (struct type *type, char *buf); +extern CORE_ADDR unsigned_pointer_to_address (struct type *type, void *buf); -extern void generic_address_to_pointer (struct type *type, char *buf, - CORE_ADDR addr); +extern void unsigned_address_to_pointer (struct type *type, void *buf, + CORE_ADDR addr); +extern CORE_ADDR signed_pointer_to_address (struct type *type, void *buf); +extern void address_to_signed_pointer (struct type *type, void *buf, + CORE_ADDR addr); extern void wait_for_inferior (void); |