summaryrefslogtreecommitdiff
path: root/gdb/findvar.c
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2000-04-16 16:04:53 +0000
committerJim Blandy <jimb@codesourcery.com>2000-04-16 16:04:53 +0000
commit1d0f6e95474b7cfc9ad9077fb73100132980b408 (patch)
tree8d3f5a1f6e2895256e28515d53efcb5fc13ae8d9 /gdb/findvar.c
parentdaafa470ecf661bb499096e64aecd2cec5721877 (diff)
downloadgdb-1d0f6e95474b7cfc9ad9077fb73100132980b408.tar.gz
* findvar.c (store_typed_address, extract_typed_address): Fix
function names in error messages.
Diffstat (limited to 'gdb/findvar.c')
-rw-r--r--gdb/findvar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/findvar.c b/gdb/findvar.c
index 10f9c3f3b8f..dd869049efd 100644
--- a/gdb/findvar.c
+++ b/gdb/findvar.c
@@ -203,7 +203,7 @@ extract_typed_address (void *buf, struct type *type)
{
if (TYPE_CODE (type) != TYPE_CODE_PTR
&& TYPE_CODE (type) != TYPE_CODE_REF)
- internal_error ("findvar.c (generic_pointer_to_address): "
+ internal_error ("findvar.c (extract_typed_address): "
"type is not a pointer or reference");
return POINTER_TO_ADDRESS (type, buf);
@@ -293,7 +293,7 @@ store_typed_address (void *buf, struct type *type, CORE_ADDR addr)
{
if (TYPE_CODE (type) != TYPE_CODE_PTR
&& TYPE_CODE (type) != TYPE_CODE_REF)
- internal_error ("findvar.c (generic_address_to_pointer): "
+ internal_error ("findvar.c (store_typed_address): "
"type is not a pointer or reference");
ADDRESS_TO_POINTER (type, buf, addr);