This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: [rfa] Zap ARCH_NUM_REGS references in Insight?
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Subject: Re: [rfa] Zap ARCH_NUM_REGS references in Insight?
- From: Fernando Nasser <fnasser at redhat dot com>
- Date: Tue, 13 Mar 2001 16:56:06 -0500
- CC: Insight Patches <insight at sources dot redhat dot com>
- Organization: Red Hat Canada
- References: <3AA85917.64120BE2@cygnus.com> <3AAE8810.9367B6EC@cygnus.com>
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