From: Luke Dunstan <coder_infidel@ho...> - 2003-02-07 03:20:54
----- Original Message -----
Sent: Thursday, February 06, 2003 9:15 PM
Subject: [Mingw-users] How to debug a .dll using gdb ?
> Please how can I debug a .dll using gdb ?
> Thank you.
Normally you would build an executable that links to the DLL then run GDB on
that executable. You probably won't be able to set breakpoints in the DLL
code until after the DLL is loaded, and if the executable imports from the
DLL this means any time after the .exe has started. If your DLL is some sort
of plugin then you may be able to "attach" to the running .exe but I don't
know how well this works.