Dynamic DLL debugging

Christopher Faylor cygwin@cygwin.com
Wed Oct 17 14:46:00 GMT 2001


On Wed, Oct 17, 2001 at 01:24:42PM +0100, mbwhite wrote:
>Hi,
>
>Can any body give me some pointers please to using GDB in the following?
>
>DLL that is dynamically loaded.  I would like to add a break point to a 
>method in this dll, preferably before it is loaded. 

Use the "dll-symbols" command:

(gdb) dll foo

To load the symbols from "foo.dll" into gdb prior to executing the command.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list