How to tell gdb about dlls using remote protocol

Daniel Jacobowitz drow@false.org
Fri Feb 2 11:43:00 GMT 2007


On Fri, Feb 02, 2007 at 01:19:58AM -0500, Robert Dewar wrote:
> True, but it is relatively unlikely to be interesting to debug through
> Microsoft DLL's, much more likely and useful to debug through user
> written DLL's, and people can learn that if they want to debug such
> DLL's they should not suppress the frame pointer.

Sorry, I have to disagree from my own experience.  Pretty much any time
you stop a running program it's in those DLLs.  And this is doubly true
for any threaded program - there's always a couple of threads that I
have no idea what the heck they're doing.

> I agree it would be nice to take advantage of the MS symbol info if
> this is possible (technically and legally), but as you say it is a
> big project, and we should not let best be the enemy of better.

I'm hoping Mark will respond to the patch.  We stopped doing it
deliberately in the past; I don't know if we want to revisit or not.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb mailing list