This is the mail archive of the gdb-patches@sources.redhat.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]
Other format: [Raw text]

[OB] typo fix


2004-05-03  Michael Snyder  <msnyder@redhat.com>

	* mips-tdep.c (mips_gdbarch_init): Fix typo in comment.
	(heuristic_proc_start): Whitespace cleanup.

Index: mips-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/mips-tdep.c,v
retrieving revision 1.293
diff -p -r1.293 mips-tdep.c
*** mips-tdep.c	1 May 2004 00:34:54 -0000	1.293
--- mips-tdep.c	3 May 2004 22:19:17 -0000
*************** heuristic_proc_start (CORE_ADDR pc)
*** 1905,1913 ****
  	  {
  	    static int blurb_printed = 0;
  
! 	    warning
! 	      ("GDB can't find the start of the function at 0x%s.",
! 	       paddr_nz (pc));
  
  	    if (!blurb_printed)
  	      {
--- 1905,1912 ----
  	  {
  	    static int blurb_printed = 0;
  
! 	    warning ("GDB can't find the start of the function at 0x%s.",
! 		     paddr_nz (pc));
  
  	    if (!blurb_printed)
  	      {
*************** mips_gdbarch_init (struct gdbarch_info i
*** 5441,5447 ****
    if (found_abi == MIPS_ABI_UNKNOWN && info.abfd != NULL)
      bfd_map_over_sections (info.abfd, mips_find_abi_section, &found_abi);
  
!   /* If we have no usefu BFD information, use the ABI from the last
       MIPS architecture (if there is one).  */
    if (found_abi == MIPS_ABI_UNKNOWN && info.abfd == NULL && arches != NULL)
      found_abi = gdbarch_tdep (arches->gdbarch)->found_abi;
--- 5440,5446 ----
    if (found_abi == MIPS_ABI_UNKNOWN && info.abfd != NULL)
      bfd_map_over_sections (info.abfd, mips_find_abi_section, &found_abi);
  
!   /* If we have no useful BFD information, use the ABI from the last
       MIPS architecture (if there is one).  */
    if (found_abi == MIPS_ABI_UNKNOWN && info.abfd == NULL && arches != NULL)
      found_abi = gdbarch_tdep (arches->gdbarch)->found_abi;

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