examining remote core dumps; MT support for attach;

Daniel Jacobowitz drow@mvista.com
Thu Jun 12 21:08:00 GMT 2003


On Thu, Jun 12, 2003 at 04:59:55PM -0400, nak26 wrote:
> >>> 1. Is it possible to examine a core file on a remote machine, in the 
> cases,
> >> where fetching the core is undesirable due to the thinness of the pipe.
> >
> >This is not supported.
> 
> How hard would it be to add support for that? I can give it a try, but would 
> need some guidance...

I have no idea how you would do it.  You'd have to transfer essentially
the same info anyway.  Or port gdbserver to have a "core file" target
but I don't know how well that would work.

> >> 2. Does the gdbserver that comes with gdb5.3 work with multithreaded apps, 
> or
> >> it needs to be additionally patched?
> >
> >It should work.
> 
> I saw a PREPARE_TO_PROCEED patch beeing mentioned in some of the posts. In 
> which cases it heeds to be applied?

You'll probably never hit it unless you manually use the "thread"
command to switch threads and then single-step the new thread.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gdb mailing list