From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29185 invoked by alias); 13 Jun 2003 13:19:55 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 29160 invoked from network); 13 Jun 2003 13:19:54 -0000 Received: from unknown (HELO crack.them.org) (146.82.138.56) by sources.redhat.com with SMTP; 13 Jun 2003 13:19:54 -0000 Received: from dsl093-172-017.pit1.dsl.speakeasy.net ([66.93.172.17] helo=nevyn.them.org ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 19QoTI-0001u9-00; Fri, 13 Jun 2003 08:20:00 -0500 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 19QoSV-0007io-00; Fri, 13 Jun 2003 09:19:11 -0400 Date: Fri, 13 Jun 2003 13:19:00 -0000 From: Daniel Jacobowitz To: nak26 Cc: gdb Subject: Re: examining remote core dumps; MT support for attach; Message-ID: <20030613131911.GA29641@nevyn.them.org> Mail-Followup-To: nak26 , gdb References: <3EE91D2E@webmail.drexel.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3EE91D2E@webmail.drexel.edu> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-06/txt/msg00238.txt.bz2 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