gdb and Dll
Christopher Faylor
cgf@redhat.com
Wed Nov 27 19:08:00 GMT 2002
On Wed, Nov 27, 2002 at 08:11:54PM -0500, Christopher Faylor wrote:
>On Wed, Nov 27, 2002 at 07:57:16PM -0500, Andrew Cagney wrote:
>>
>>>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.
>
>There already is one, I believe, complete with patch, which I'm testing
>now. I'd give you a URL but my browser is sick right now. I just did a
>search for a topic with dll in it in gnats and found it. This was after
>Joel B. suggested that a number of PRs had been filed for dll handling.
The GNATS id is 780 and the patch enclosed therein seems to work ok.
cgf
More information about the Gdb
mailing list