From: Jim Blandy Date: Sun, 16 Apr 2000 16:04:53 +0000 (+0000) Subject: * findvar.c (store_typed_address, extract_typed_address): Fix X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c0aba12e91bfc85fd9939af699d7fc8f159dbd11;p=binutils-gdb.git * findvar.c (store_typed_address, extract_typed_address): Fix function names in error messages. --- 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);