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]

[PATCH] whitespace and indentation


Checked in as obvious:
2002-08-08  Michael Snyder  <msnyder@redhat.com>

	* mips-tdep.c: Minor whitespace and indentation clean-ups.

Index: mips-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/mips-tdep.c,v
retrieving revision 1.93
diff -p -r1.93 mips-tdep.c
*** mips-tdep.c	8 Aug 2002 23:32:52 -0000	1.93
--- mips-tdep.c	9 Aug 2002 01:41:58 -0000
*************** static CORE_ADDR
*** 1111,1117 ****
  add_offset_16 (CORE_ADDR pc, int offset)
  {
    return ((offset << 2) | ((pc + 2) & (0xf0000000)));
- 
  }
  
  static CORE_ADDR
--- 1111,1116 ----
*************** find_proc_desc (CORE_ADDR pc, struct fra
*** 2212,2218 ****
  	{
  	  struct symtab_and_line val;
  	  struct symbol *proc_symbol =
! 	  PROC_DESC_IS_DUMMY (proc_desc) ? 0 : PROC_SYMBOL (proc_desc);
  
  	  if (proc_symbol)
  	    {
--- 2211,2217 ----
  	{
  	  struct symtab_and_line val;
  	  struct symbol *proc_symbol =
! 	    PROC_DESC_IS_DUMMY (proc_desc) ? 0 : PROC_SYMBOL (proc_desc);
  
  	  if (proc_symbol)
  	    {
*************** find_proc_desc (CORE_ADDR pc, struct fra
*** 2224,2231 ****
  	  if (!proc_symbol || pc < val.pc)
  	    {
  	      mips_extra_func_info_t found_heuristic =
! 	      heuristic_proc_desc (PROC_LOW_ADDR (proc_desc),
! 				   pc, next_frame, cur_frame);
  	      if (found_heuristic)
  		proc_desc = found_heuristic;
  	    }
--- 2223,2230 ----
  	  if (!proc_symbol || pc < val.pc)
  	    {
  	      mips_extra_func_info_t found_heuristic =
! 		heuristic_proc_desc (PROC_LOW_ADDR (proc_desc),
! 				     pc, next_frame, cur_frame);
  	      if (found_heuristic)
  		proc_desc = found_heuristic;
  	    }
*************** static CORE_ADDR
*** 2258,2266 ****
  get_frame_pointer (struct frame_info *frame,
  		   mips_extra_func_info_t proc_desc)
  {
!   return ADDR_BITS_REMOVE (
! 		   read_next_frame_reg (frame, PROC_FRAME_REG (proc_desc)) +
! 	     PROC_FRAME_OFFSET (proc_desc) - PROC_FRAME_ADJUST (proc_desc));
  }
  
  mips_extra_func_info_t cached_proc_desc;
--- 2257,2266 ----
  get_frame_pointer (struct frame_info *frame,
  		   mips_extra_func_info_t proc_desc)
  {
!   return ADDR_BITS_REMOVE (read_next_frame_reg (frame, 
! 						PROC_FRAME_REG (proc_desc)) +
! 			   PROC_FRAME_OFFSET (proc_desc) - 
! 			   PROC_FRAME_ADJUST (proc_desc));
  }
  
  mips_extra_func_info_t cached_proc_desc;
*************** mips_init_extra_frame_info (int fromleaf
*** 2307,2313 ****
  
    /* Use proc_desc calculated in frame_chain */
    mips_extra_func_info_t proc_desc =
!   fci->next ? cached_proc_desc : find_proc_desc (fci->pc, fci->next, 1);
  
    fci->extra_info = (struct frame_extra_info *)
      frame_obstack_alloc (sizeof (struct frame_extra_info));
--- 2307,2313 ----
  
    /* Use proc_desc calculated in frame_chain */
    mips_extra_func_info_t proc_desc =
!     fci->next ? cached_proc_desc : find_proc_desc (fci->pc, fci->next, 1);
  
    fci->extra_info = (struct frame_extra_info *)
      frame_obstack_alloc (sizeof (struct frame_extra_info));
*************** fp_register_arg_p (enum type_code typeco
*** 2397,2403 ****
  	       && (typecode == TYPE_CODE_STRUCT || typecode == TYPE_CODE_UNION)
  	       && TYPE_NFIELDS (arg_type) == 1
  	       && TYPE_CODE (TYPE_FIELD_TYPE (arg_type, 0)) == TYPE_CODE_FLT))
! 	   && MIPS_FPU_TYPE != MIPS_FPU_NONE);
  }
  
  /* On o32, argument passing in GPRs depends on the alignment of the type being
--- 2397,2403 ----
  	       && (typecode == TYPE_CODE_STRUCT || typecode == TYPE_CODE_UNION)
  	       && TYPE_NFIELDS (arg_type) == 1
  	       && TYPE_CODE (TYPE_FIELD_TYPE (arg_type, 0)) == TYPE_CODE_FLT))
! 	  && MIPS_FPU_TYPE != MIPS_FPU_NONE);
  }
  
  /* On o32, argument passing in GPRs depends on the alignment of the type being

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