Mail Archives: cygwin-developers/1998/10/28/12:07:55
On Wed, Oct 28, 1998 at 01:13:39PM -0600, Mumit Khan wrote:
>How can I debug a DLL that is loaded by LoadLibrary?? I've tried all I can
>think of (eg., setting breakpoint at ImageBase + SectionAlignment), but no
>luck. The only thing that comes close is aborting somewhere in the
>startup, that doesn't let me continue anymore of course.
>
>Essentially I want to track the DLL initialization starting from the entry
>point, so ideally I'd like to stop at whataver entry point the DLL is
>using.
Don't know if this will work, but:
gdb /wherever/cygwin1.dll
exec-file prog
b whatever
r
cgf
- Raw text -