This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
[PATCH]: Fix function names in error messages
- To: gdb-patches at sourceware dot cygnus dot com
- Subject: [PATCH]: Fix function names in error messages
- From: Jim Blandy <jimb at zwingli dot cygnus dot com>
- Date: Sun, 16 Apr 2000 11:02:54 -0500 (EST)
I've committed this, assuming it would be okay with the maintainers.
2000-04-16 Jim Blandy <jimb@redhat.com>
* findvar.c (store_typed_address, extract_typed_address): Fix
function names in error messages.
Index: findvar.c
===================================================================
RCS file: /cvs/cvsfiles/devo/gdb/findvar.c,v
retrieving revision 1.115
diff -c -c -b -F'^(' -r1.115 findvar.c
*** findvar.c 2000/04/16 14:53:32 1.115
--- findvar.c 2000/04/16 16:01:04
***************
*** 203,209 ****
{
if (TYPE_CODE (type) != TYPE_CODE_PTR
&& TYPE_CODE (type) != TYPE_CODE_REF)
! internal_error ("findvar.c (generic_pointer_to_address): "
"type is not a pointer or reference");
return POINTER_TO_ADDRESS (type, buf);
--- 203,209 ----
{
if (TYPE_CODE (type) != TYPE_CODE_PTR
&& TYPE_CODE (type) != TYPE_CODE_REF)
! internal_error ("findvar.c (extract_typed_address): "
"type is not a pointer or reference");
return POINTER_TO_ADDRESS (type, buf);
***************
*** 293,299 ****
{
if (TYPE_CODE (type) != TYPE_CODE_PTR
&& TYPE_CODE (type) != TYPE_CODE_REF)
! internal_error ("findvar.c (generic_address_to_pointer): "
"type is not a pointer or reference");
ADDRESS_TO_POINTER (type, buf, addr);
--- 293,299 ----
{
if (TYPE_CODE (type) != TYPE_CODE_PTR
&& TYPE_CODE (type) != TYPE_CODE_REF)
! internal_error ("findvar.c (store_typed_address): "
"type is not a pointer or reference");
ADDRESS_TO_POINTER (type, buf, addr);