aboutsummaryrefslogtreecommitdiff
path: root/gdb/inferior.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/inferior.h')
-rw-r--r--gdb/inferior.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/inferior.h b/gdb/inferior.h
index 09cd7ff..79ca670 100644
--- a/gdb/inferior.h
+++ b/gdb/inferior.h
@@ -185,11 +185,12 @@ extern CORE_ADDR read_fp (void);
extern CORE_ADDR generic_target_read_fp (void);
-extern CORE_ADDR unsigned_pointer_to_address (struct type *type, void *buf);
+extern CORE_ADDR unsigned_pointer_to_address (struct type *type, const void *buf);
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 CORE_ADDR signed_pointer_to_address (struct type *type,
+ const void *buf);
extern void address_to_signed_pointer (struct type *type, void *buf,
CORE_ADDR addr);