This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: Register types
- To: Fernando Nasser <fnasser at cygnus dot com>
- Subject: Re: Register types
- From: Larry Smith <larry at smith-house dot org>
- Date: Tue, 14 Nov 2000 15:22:34 -0500
- CC: insight at sources dot redhat dot com
- Organization: Red Hat, Inc.
- References: <3A119D05.321A4823@smith-house.org> <3A119DDB.9848394@cygnus.com>
- Reply-To: lsmith at redhat dot com
Fernando Nasser wrote:
> 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.
That doesn't appear in any *.itb or *ith.
Is this macro exported to the tcl code anywhere?
If not, is there a recommended way to retrieve it?
> Any particular reason for the question?
Working on a bug report requesting that floating point
registers default to decimal rather than hex.
regards,
--
.-. .-. .---. .---. .-..-. | "Bill Gates is just a monocle
| |__ / | \| |-< | |-< > / | and a Persian Cat away from
`----'`-^-'`-'`-'`-'`-' `-' | being one of the bad guys in a
My opinions only. | James Bond movie." -- D Miller