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


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

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