This is the mail archive of the gdb-prs@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]

gdb/473: Delete multi-arch NPC_REGNUM



>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:


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