[fpc-devel] Playing with archer using mingw, and dwarf2/3

Marco van de Voort marcov at stack.nl
Sun May 17 12:00:58 CEST 2009


In our previous episode, Joost van der Sluis said:
> I've finally succeeded in buildin gdb-archer on windows using mingw. I
> wanted to look how things are working using dwarf-3 debug info.
> 
> Jonas, are there any things I could try using dwarf-3 which should not
> work using dwarf-2/stabs? Or somehing I really need Archer for?
> 
> There are quite a few things that don't work using -gw3, though. Like
> evaluating simple (local) variables. Breakpoints and stepping through
> the code does work.
> 
> Shall I try to make simple examples and file bug-reports? Is -gw3
> supposed to work on windows at all? (Yuri?)

Please document carefully what you are doing. Preferably including taking a
snapshot of the mingw installation etc.

This weekend, I tried to duplicate building the FPC IDE with mingw (as
prepared by Mario M. in mantis 11968)

I succeeded partially (can set breakpoints and trace the source), but
somehow program termination crashes GDB which then refuses to shutdown. I
suspect that I didn't properly init mingw to begin with. (I fake _atexit)

I keep tabs on 

http://www.stack.nl/~marcov/mingw/

but I still have to update that for recent events. 



More information about the fpc-devel mailing list