This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: Register types
- To: lsmith at redhat dot com
- Subject: Re: Register types
- From: Fernando Nasser <fnasser at cygnus dot com>
- Date: Tue, 14 Nov 2000 15:17:31 -0500
- CC: insight at sources dot redhat dot com
- Organization: Red Hat , Inc. - Toronto
- References: <3A119D05.321A4823@smith-house.org>
Larry Smith wrote:
>
> Question: given the list of register names used to display
> the register window, and bearing in mind how these names
> vary from processor to processor, how can one tell which
> are floating point registers and which are not?
>
Registers have types as anything else in gdb. There is a macro
called REGISTER_VIRTUAL_TYPE that will give you that information.
Any particular reason for the question?
--
Fernando Nasser
Red Hat - Toronto E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9