Can I use -data-evaluate-expression to evaluate sin(4.1)?
Daniel Jacobowitz
drow@false.org
Wed Dec 20 02:42:00 GMT 2006
On Wed, Dec 20, 2006 at 09:09:37AM +1300, Nick Roberts wrote:
> > I'd have expected GDB to pick up the type
> > from the debug info in that example.
>
> If the executable knows what kind of function sin is, then you would think that
> GDB should be able to infer it from the executable. ISTR this has come up
> before (just with "print") but that you expressed no surprise then.
It's all up to what GCC decides to include :-)
--
Daniel Jacobowitz
CodeSourcery
More information about the Gdb
mailing list