aboutsummaryrefslogtreecommitdiff
path: root/gdb/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/utils.c')
-rw-r--r--gdb/utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/utils.c b/gdb/utils.c
index b2d9eca..50cab72 100644
--- a/gdb/utils.c
+++ b/gdb/utils.c
@@ -2464,7 +2464,7 @@ host_pointer_to_address (void *ptr)
{
if (sizeof (ptr) != TYPE_LENGTH (builtin_type_void_data_ptr))
internal_error (__FILE__, __LINE__,
- "core_addr_to_void_ptr: bad cast");
+ "host_pointer_to_address: bad cast");
return POINTER_TO_ADDRESS (builtin_type_void_data_ptr, &ptr);
}
@@ -2474,7 +2474,7 @@ address_to_host_pointer (CORE_ADDR addr)
void *ptr;
if (sizeof (ptr) != TYPE_LENGTH (builtin_type_void_data_ptr))
internal_error (__FILE__, __LINE__,
- "core_addr_to_void_ptr: bad cast");
+ "address_to_host_pointer: bad cast");
ADDRESS_TO_POINTER (builtin_type_void_data_ptr, &ptr, addr);
return ptr;
}