This is the mail archive of the gdb-patches@sourceware.org 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] mips-tdep.c, comment tweaks


2006-05-31  Michael Snyder  <msnyder@redhat.com>

	* mips-tdep.c: Comment tweaks.

Index: mips-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/mips-tdep.c,v
retrieving revision 1.392
diff -p -r1.392 mips-tdep.c
*** mips-tdep.c	19 May 2006 20:42:47 -0000	1.392
--- mips-tdep.c	31 May 2006 23:14:40 -0000
*************** mips32_relative_offset (ULONGEST inst)
*** 887,894 ****
    return ((itype_immediate (inst) ^ 0x8000) - 0x8000) << 2;
  }
  
! /* Determine whate to set a single step breakpoint while considering
!    branch prediction */
  static CORE_ADDR
  mips32_next_pc (CORE_ADDR pc)
  {
--- 887,894 ----
    return ((itype_immediate (inst) ^ 0x8000) - 0x8000) << 2;
  }
  
! /* Determine where to set a single step breakpoint while considering
!    branch prediction.  */
  static CORE_ADDR
  mips32_next_pc (CORE_ADDR pc)
  {
*************** mips_dump_tdep (struct gdbarch *current_
*** 5163,5169 ****
      {
        int ef_mips_arch;
        int ef_mips_32bitmode;
!       /* determine the ISA */
        switch (tdep->elf_flags & EF_MIPS_ARCH)
  	{
  	case E_MIPS_ARCH_1:
--- 5163,5169 ----
      {
        int ef_mips_arch;
        int ef_mips_32bitmode;
!       /* Determine the ISA.  */
        switch (tdep->elf_flags & EF_MIPS_ARCH)
  	{
  	case E_MIPS_ARCH_1:
*************** mips_dump_tdep (struct gdbarch *current_
*** 5182,5188 ****
  	  ef_mips_arch = 0;
  	  break;
  	}
!       /* determine the size of a pointer */
        ef_mips_32bitmode = (tdep->elf_flags & EF_MIPS_32BITMODE);
        fprintf_unfiltered (file,
  			  "mips_dump_tdep: tdep->elf_flags = 0x%x\n",
--- 5182,5188 ----
  	  ef_mips_arch = 0;
  	  break;
  	}
!       /* Determine the size of a pointer.  */
        ef_mips_32bitmode = (tdep->elf_flags & EF_MIPS_32BITMODE);
        fprintf_unfiltered (file,
  			  "mips_dump_tdep: tdep->elf_flags = 0x%x\n",

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