gdb and Dll

Andrew Cagney ac131313@redhat.com
Wed Nov 27 16:57:00 GMT 2002


> There is one long-standing "gotcha" in debugging dlls however.  Currently
> you can only set breakpoints on line numbers not on symbol names if the
> dll is not loaded.  That is you can't do:
> 
>   dll-symbols foo.dll
>   bp foo
> 
> You have to, instead do:
> 
>   dll-symbols foo.dll
>   list foo
>   bp <first line of foo>

Weird.  Create a bug report.

Andrew



More information about the Gdb mailing list