This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Debugging of gcc 3.1 programs with -mfpmath=sse


> > Date: Tue, 12 Feb 2002 15:38:41 +0100
> > From: Jan Hubicka <jh@suse.cz>
> > 
> > while hunting down the bugs in gcc3.1 SSE scalar code generation I've noticed
> > that new gdb5.1 supports SSE (great :), but insist on printing the variables in
> > hexadecimal form, instead of as floats, that is somewhat anoying.  Since I am
> > having minimal insight to gdb internals, and somehow I want to keep that for
> > some time, I would like to ask, what needs to be done to get floats displayed
> > right
> 
> Doesn't "p/f" work?
I didn't tested, but shouldn't gdb automatically print the variable in proper
format - ie if it is "float", print it in floating point, not hexa?

Honza


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