This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
gdb/473: Delete multi-arch NPC_REGNUM
- From: ac131313 at redhat dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 6 Apr 2002 19:36:29 -0000
- Subject: gdb/473: Delete multi-arch NPC_REGNUM
- Reply-to: ac131313 at redhat dot com
>Number: 473
>Category: gdb
>Synopsis: Delete multi-arch NPC_REGNUM
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sat Apr 06 11:38:02 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: ac131313@redhat.com
>Release: 2002-04-05
>Organization:
>Environment:
>Description:
The SPARC, HPPA, ?? use this. Like NNPC_REGNUM, this is better handled by directly implementing TARGET_WRITE_PC().
The only strangeness with this one is the coding gem in procfs.c:
if (FP0_REGNUM >= 0) /* need floating point? */
{
if ((regno >= 0 && regno < FP0_REGNUM) ||
regno == PC_REGNUM ||
(NPC_REGNUM >= 0 && regno == NPC_REGNUM) ||
regno == FP_REGNUM ||
regno == SP_REGNUM)
return; /* not a floating point register */
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: