This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Can I use -data-evaluate-expression to evaluate sin(4.1)?
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