This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch/rfc] default REGISTER_VIRTUAL_SIZE and REGISTER_RAW_SIZE to register_size
- From: Kevin Buettner <kevinb at redhat dot com>
- To: Andrew Cagney <ac131313 at cygnus dot com>, gdb-patches at sources dot redhat dot com
- Date: Mon, 6 May 2002 13:38:03 -0700
- Subject: Re: [patch/rfc] default REGISTER_VIRTUAL_SIZE and REGISTER_RAW_SIZE to register_size
- References: <3CD5EA35.9020104@cygnus.com>
On May 5, 10:28pm, Andrew Cagney wrote:
> For most architectures. The relationship:
>
> REGISTER_VIRTUAL_SIZE(N)
> == REGISTER_RAW_SIZE(N)
> == TYPE_LENGTH(REGISTER_VIRTUAL_TYPE(N)
>
> (the exception is the @$(*&@(^$*&^!@ MIPS ...). Given this, the
> attached patch changes the architecture vector so that it defaults both
> to the register's type size.
>
> I think this is the logical conclusion to MichaelS's earlier patch that
> provided defaults to each.
>
> Thoughts? I'll look to commit it in a week.
It looks okay to me.
Kevin