summaryrefslogtreecommitdiff
path: root/gdb/inferior.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-06-04 13:46:37 +0000
committerAndrew Cagney <cagney@redhat.com>2000-06-04 13:46:37 +0000
commit9d8c9bc29ad1eec16c6c64a70c6a377ebb42c870 (patch)
treecdf59deb908ccd7fcc666e6f8a7575b2be38f1f1 /gdb/inferior.h
parentb35d5554622912f8c1149e0938b0df157f176f20 (diff)
downloadgdb-9d8c9bc29ad1eec16c6c64a70c6a377ebb42c870.tar.gz
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.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/gdb/inferior.h b/gdb/inferior.h
index 8e17202a1a5..26798a50d74 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);