[Lazarus] tooltip debugger shows incorrect data

Joost van der Sluis joost at cnoc.nl
Sun Oct 17 00:54:00 CEST 2010


On Sun, 2010-10-17 at 00:37 +0300, Juha Manninen (gmail) wrote:
> On Saturday 16 October 2010 19:56:28 Joost van der Sluis wrote:
> > > > So if you really can't do without, just switch to Fedora and you're
> > > > done. ;)
> > > 
> > > Wow!
> > > How to generate Dwarf-3 debug info?
> > 
> > -gw3
> 
> I updated the latest FPC trunk version.
> >From a simple test program I get:
> 
> unit1.pas:(.debug_info+0x94): undefined reference to `DBG_FORMS_TForm'
> unit1.pas:(.debug_info+0xab): undefined reference to `DBG_STDCTRLS_TButton'
> 
> when built with -gw3. I have Fedora 13 but it is 64 bit system.
> -gw (without 3) works as before.

I also work on a 64 but system. You're sure you used fpc 2.5.1? And that
you disabled smart-linking?

I used attached program to test gdb. (place breakpoint at second
position and do a 'p s[2]')

Joost.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arrays.pas
Type: text/x-pascal
Size: 2303 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20101017/ad4e0465/attachment-0002.pas>


More information about the Lazarus mailing list