mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-18 00:32:30 +08:00
* findvar.c (store_typed_address, extract_typed_address): Fix
function names in error messages.
This commit is contained in:
@ -203,7 +203,7 @@ extract_typed_address (void *buf, struct type *type)
|
|||||||
{
|
{
|
||||||
if (TYPE_CODE (type) != TYPE_CODE_PTR
|
if (TYPE_CODE (type) != TYPE_CODE_PTR
|
||||||
&& TYPE_CODE (type) != TYPE_CODE_REF)
|
&& 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");
|
"type is not a pointer or reference");
|
||||||
|
|
||||||
return POINTER_TO_ADDRESS (type, buf);
|
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
|
if (TYPE_CODE (type) != TYPE_CODE_PTR
|
||||||
&& TYPE_CODE (type) != TYPE_CODE_REF)
|
&& 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");
|
"type is not a pointer or reference");
|
||||||
|
|
||||||
ADDRESS_TO_POINTER (type, buf, addr);
|
ADDRESS_TO_POINTER (type, buf, addr);
|
||||||
|
Reference in New Issue
Block a user