This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[PATCH]: Fix function names in error messages



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);

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]