summaryrefslogtreecommitdiff
path: root/gdb/defs.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
commitac2e2ef7e2214be3672096ea7e6641d6a0651fd7 (patch)
tree7205cea8571355be893617fae45005b4ab5901a7 /gdb/defs.h
parent0b5454486cd4b2e34f4ac7eb51092ef55fa97b07 (diff)
downloadbinutils-gdb-ac2e2ef7e2214be3672096ea7e6641d6a0651fd7.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/defs.h')
-rw-r--r--gdb/defs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index e918271fbd1..400f630b765 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -369,6 +369,9 @@ extern void mfree (PTR, PTR);
extern void init_page_info (void);
+extern CORE_ADDR host_pointer_to_address (void *ptr);
+extern void *address_to_host_pointer (CORE_ADDR addr);
+
/* From demangle.c */
extern void set_demangling_style (char *);