This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


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

Re: [rfa] Zap ARCH_NUM_REGS references in Insight?


M'kay?  If this goes through I can strip ARCH_NUM_REGS entirely.

	Andrew


None of the existing targets define this macro.  M'kay?

	Andrew
2001-03-08  Andrew Cagney  <ac131313@redhat.com>

	* generic/gdbtk-cmds.c (map_arg_registers): Use REG_NUM instead of
	ARCH_REG_NUM.

Index: gdbtk/generic/gdbtk-cmds.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/generic/gdbtk-cmds.c,v
retrieving revision 1.23
diff -p -r1.23 gdbtk-cmds.c
*** gdbtk-cmds.c	2001/03/01 01:39:22	1.23
--- gdbtk-cmds.c	2001/03/09 04:16:42
*************** map_arg_registers (objc, objv, func, arg
*** 1797,1803 ****
       case, some entries of REGISTER_NAME will change depending upon
       the particular processor being debugged.  */
  
!   numregs = ARCH_NUM_REGS + NUM_PSEUDO_REGS;
    
    if (objc == 0)		/* No args, just do all the regs */
      {
--- 1797,1803 ----
       case, some entries of REGISTER_NAME will change depending upon
       the particular processor being debugged.  */
  
!   numregs = NUM_REGS + NUM_PSEUDO_REGS;
    
    if (objc == 0)		/* No args, just do all the regs */
      {



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