This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Register types


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]