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: gdb <gdb at sources dot redhat dot com>
- Date: Fri, 13 Jun 2003 09:19:11 -0400
- Subject: Re: examining remote core dumps; MT support for attach;
- References: <3EE91D2E@webmail.drexel.edu>
On Thu, Jun 12, 2003 at 05:17:03PM -0400, nak26 wrote:
> >> 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.
>
> What do you mean by "Or port gdbserver to have a "core file" target
> but I don't know how well that would work"?
Allow gdbserver to read from a core file instead of a running process.
It would be tricky; you'll have to figure out how to do it yourself.
> >> 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.
>
> In case I need it, where can I get it from?
The list archives.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer