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/705: Rewrite (or eliminate) mips-tdep.c:read_next_frame_reg()


>Number:         705
>Category:       gdb
>Synopsis:       Rewrite (or eliminate) mips-tdep.c:read_next_frame_reg()
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 13 16:58:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     ac131313@redhat.com
>Release:        2002-09-13
>Organization:
>Environment:

>Description:
It contains the code:

  /* FIXME: cagney/2002-09-13: This is just soooo bad.  The MIPS
     should have a pseudo register range that correspons to the ABI's,
     rather than the ISA's, view of registers.  These registers would
     then implicitly describe their size and hence could be used
     without the below munging.  */
  if (lval == lval_memory)
    {
      if (regno < 32)
        {
          /* Only MIPS_SAVED_REGSIZE bytes of GP registers are
             saved. */
          return read_memory_integer (addr, MIPS_SAVED_REGSIZE);
        }
    }

  return extract_signed_integer (raw_buffer, REGISTER_VIRTUAL_SIZE (regno));
>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]