This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
gdb/705: Rewrite (or eliminate) mips-tdep.c:read_next_frame_reg()
- From: ac131313 at redhat dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 13 Sep 2002 23:53:01 -0000
- Subject: gdb/705: Rewrite (or eliminate) mips-tdep.c:read_next_frame_reg()
- Reply-to: ac131313 at redhat dot com
>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: