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
commit9d8c9bc29ad1eec16c6c64a70c6a377ebb42c870 (patch)
treecdf59deb908ccd7fcc666e6f8a7575b2be38f1f1 /gdb/defs.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/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 *);