Hi all,
I am trying to debug a program with Lazarus 0.9.30 using Win32, but am getting a crash at the point where it tries to load a dll using LoadLibrary.

I have even tried doing a backtrace using GDB via command line:

Code:
G:\MyProg\1.0\bin>gdb Render.exe
GNU gdb (GDB) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "mingw32".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from G:\MyProg\1.0\bin/Render.exe...done.
(gdb) break fpc_exceptions
Function "fpc_exceptions" not defined.
Make breakpoint pending on future shared library load? (y or [n]) n
(gdb) run
Starting program: G:\MyProg\1.0\bin/Render.exe
[New Thread 6792.0x1f28]

G:\MyProg\1.0\bin>
but GDB is crashing out right after it seem to create a thread!

Any ideas?
This is really 'bugging' me! hahaha

Seriously though...this is kind of a show-stopper

cheers,
Paul