From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11276 invoked by alias); 13 Jun 2003 13:39:10 -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 11268 invoked from network); 13 Jun 2003 13:39:09 -0000 Received: from unknown (HELO crack.them.org) (146.82.138.56) by sources.redhat.com with SMTP; 13 Jun 2003 13:39:09 -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 19QomZ-0001xQ-00 for ; Fri, 13 Jun 2003 08:39:55 -0500 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 19Qoll-0007px-00 for ; Fri, 13 Jun 2003 09:39:05 -0400 Date: Fri, 13 Jun 2003 13:39:00 -0000 From: Daniel Jacobowitz To: gdb Subject: Re: examining remote core dumps; MT support for attach; Message-ID: <20030613133905.GD29641@nevyn.them.org> Mail-Followup-To: gdb References: <3EE91D2E@webmail.drexel.edu> <20030613131911.GA29641@nevyn.them.org> <3EE9D22B.1060300@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3EE9D22B.1060300@redhat.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-06/txt/msg00244.txt.bz2 On Fri, Jun 13, 2003 at 09:31:23AM -0400, Andrew Cagney wrote: > >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. > > There was a suggestion made that GDB could manipulate files on the > remote system (mainly to get at /proc/auxv). Such a mechanism would > also address the core file problem. This is a reasonable idea, but I think our current remote protocol is not quite up to the task. Let's keep it on the list along with multiple channels (for I/O) and file upload/download... -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer