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?


Andrew Cagney wrote:
> 
> M'kay?  If this goes through I can strip ARCH_NUM_REGS entirely.
> 

Sure.

>         Andrew
> 
>   ------------------------------------------------------------------------
> 
> Subject: [rfa] Zap ARCH_NUM_REGS references in Insight?
> Date: Thu, 08 Mar 2001 23:16:23 -0500
> From: Andrew Cagney <ac131313@cygnus.com>
> To: Insight Patches <insight@sources.redhat.com>
> 
> 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 */
>       {

-- 
Fernando Nasser
Red Hat Canada Ltd.                     E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9


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