[fpc-devel] win64 dwarf patch

And3mD and3md at gmail.com
Fri Oct 15 22:14:14 CEST 2010


I added bug report about using Tag as Pointers in IDE

http://bugs.freepascal.org/view.php?id=17642

I know lazarus/fpc sources very poorly, but maybe you can separate some  
gdb support classes to avoid another SEGFAULTs from IDE on x64.

Greetings

Dnia 15-10-2010 o 21:23:54 Willibald Krenn <Willibald.Krenn at gmx.at>  
napisaƂ(a):

> Am 15.10.2010 19:58, schrieb And3mD:
>> Hello,
>>
>> I found something I think can be problem with lazarus on win64:
>
> True, using 32-bit wide Tag fields to store pointers is a bad idea on
> x64. However, the problems with the debugger are more related to the use
> of StrToIntDef instead of StrToInt64Def... (See attached file.)
>
> Still, even when this is patch applied, debugging with an image base of
>  >32bit is not stable. Whenever I put a breakpoint on a writeln and I
> single-step to the next statement, I get a segfault. But this may very
> well be caused by GDB.
>
> Cheers,
>   Willi



More information about the fpc-devel mailing list