This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: examining remote core dumps; MT support for attach;
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: nak26 <nak26 at drexel dot edu>
- Cc: drow <drow at montavista dot com>, gdb <gdb at sources dot redhat dot com>
- Date: Thu, 12 Jun 2003 17:08:31 -0400
- Subject: Re: examining remote core dumps; MT support for attach;
- References: <3EE917EC@webmail.drexel.edu>
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