Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Debugging of gcc 3.1 programs with -mfpmath=sse
@ 2002-02-12  6:38 Jan Hubicka
  2002-02-12  8:54 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Hubicka @ 2002-02-12  6:38 UTC (permalink / raw)
  To: gcc, gdb

Hi,
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 and whether it is possible to think about it in gdb5.1.x line, as gcc 3.1
will be (as we hope) released relativly soon and it would be nice to have
SSE code generation working well.

Honza


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Debugging of gcc 3.1 programs with -mfpmath=sse
  2002-02-12  6:38 Debugging of gcc 3.1 programs with -mfpmath=sse Jan Hubicka
@ 2002-02-12  8:54 ` Eli Zaretskii
  2002-02-12  8:57   ` Jan Hubicka
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2002-02-12  8:54 UTC (permalink / raw)
  To: jh; +Cc: gcc, gdb

> 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?


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Debugging of gcc 3.1 programs with -mfpmath=sse
  2002-02-12  8:54 ` Eli Zaretskii
@ 2002-02-12  8:57   ` Jan Hubicka
  0 siblings, 0 replies; 3+ messages in thread
From: Jan Hubicka @ 2002-02-12  8:57 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: jh, gcc, gdb

> > 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-02-12 16:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-12  6:38 Debugging of gcc 3.1 programs with -mfpmath=sse Jan Hubicka
2002-02-12  8:54 ` Eli Zaretskii
2002-02-12  8:57   ` Jan Hubicka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox