[fpc-devel] win64 dwarf patch
Willibald Krenn
Willibald.Krenn at gmx.at
Wed Oct 13 22:34:16 CEST 2010
Am 13.10.2010 09:56, schrieb Pierre Free Pascal:
> I tested and committed this change as rev 16151
> in trunk, thanks for this!
Cool - thanks!
> What version of the win64 GDB are you using?
It says 7.2. Probably I should get a newer version. Some output:
0x0000000100001674 <+308>: mov $0x0,%ecx
0x0000000100001679 <+313>: callq 0x10000dcc0
<TYPINFO_finalize_implicit+4294845664>
0x000000010000167e <+318>: callq 0x100009880
<TYPINFO_finalize_implicit+4294828192>
0x0000000100001683 <+323>: mov %rbx,%rcx
0x0000000100001686 <+326>: callq 0x10000dac0
<TYPINFO_finalize_implicit+4294845152>
0x000000010000168b <+331>: callq 0x100009880
<TYPINFO_finalize_implicit+4294828192>
0x0000000100001690 <+336>: mov %rbp,%rcx
0x0000000100001693 <+339>: callq 0x100001710 <PRINT>
Which seems to be totally wrong.
> I am using a recently generated from GDB cvs HEAD
> and I get this:
>
> Note that I didn't use the -WB option, so that
> the default 0x100000000 is used, but this
> doesn't seem to generate disassembly problems.
Yes, your output seems to be fine! I'll try upgrading my gdb to a newer
version - hope this helps. If this is working, then I think we should
switch to DWARF2 on Win64 and close all related bugs in mantis. ;-)
Cheers,
Willi
More information about the fpc-devel
mailing list