This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch rfc] Add NUM_REGS pseudo regs to MIPS
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: Andrew Cagney <ac131313 at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sat, 21 Jun 2003 14:21:51 -0400
- Subject: Re: [patch rfc] Add NUM_REGS pseudo regs to MIPS
- References: <3EEDE3BE.8070207@redhat.com>
Hello,
Per my last post to an old thread. This adds NUM_REGS pseudo registers to the MIPS. These pseudo registers, unlike their raw counterparts are `sane'. They have sensible sizes, offsets, types, ...
The intent here is to put some distance between the MIPS's messed up raw register buffer and the ABI registers. As it stands, it doesn't get save/restore right (it works but not by using the ABI registers). That can follow.
I've figured out why save/restore wasn't working. It's a cooked vs raw
thing - save the cooked registers but then manipulate the raw values.
Need to audit the code :-/
Andrew