[patch,rfc] builtin regs -> user regs
Andrew Cagney
ac131313@redhat.com
Sun Jun 29 15:15:00 GMT 2003
Hello,
Ref: Three register layers
http://sources.redhat.com/ml/gdb/2003-06/msg00437.html
This patch replaces the builtin registers with user [visible] per-frame
registers.
The builtin registers were global - always present regardless of the
architecture. These new user [visible] registers support both global,
and per-architecture registers.
As with the above post, these registers live on top of the frame vis:
user
|
cooked/frame
|
raw
and this makes it possible to construct user visible registers using
per-frame register values. In the case of the MIPS, the 64 bit $fpr0
would be the concatenation of the two 32 bit registers: $fgr0 and $fgr1.
Please note though that the way registers are read/written needs further
refinement (I left it as is for the moment). I suspect, for instance,
that currently register writes don't work at all.
I'm also not comfortable with using `builtin' for the registers that
apply to all architectures. Perhaphs:
user_reg_add_all
user_reg_add_global
are better. Thougts?
comments?
Andrew
(no this isn't for the 6.0 branch)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20030629/eea2ec49/attachment.ksh>
More information about the Gdb-patches
mailing list