From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3720 invoked by alias); 6 Aug 2002 17:39:21 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 3712 invoked from network); 6 Aug 2002 17:39:20 -0000 Received: from unknown (HELO elixir.e.kth.se) (130.237.48.5) by sources.redhat.com with SMTP; 6 Aug 2002 17:39:20 -0000 Received: from staffan.e.kth.se (staffan.e.kth.se [130.237.48.118]) by elixir.e.kth.se (8.12.3/8.12.3) with ESMTP id g76HdG7w498434; Tue, 6 Aug 2002 19:39:16 +0200 (CEST) Received: (from lha@localhost) by staffan.e.kth.se (8.11.6/8.9.3) id g76HdGf08906; Tue, 6 Aug 2002 19:39:16 +0200 X-Authentication-Warning: staffan.e.kth.se: lha set sender to lha@stacken.kth.se using -f To: Andrew Cagney Cc: gdb-patches@sources.redhat.com Subject: Re: [Fwd: gcore for netbsd] References: <3D4D6C36.8050407@ges.redhat.com> <3D4F023B.A6B5BD9@redhat.com> <3D4F4E3B.4010801@ges.redhat.com> <3D4F4E88.9DDFB7BE@redhat.com> <3D4FF0DC.6090201@ges.redhat.com> From: Love Date: Tue, 06 Aug 2002 10:39:00 -0000 In-Reply-To: <3D4FF0DC.6090201@ges.redhat.com> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-08/txt/msg00130.txt.bz2 Andrew Cagney writes: > I've checked the attached in (first bit :-). > > Andrew > 2002-08-06 Andrew Cagney > > * gcore.c: Do not include . > * Makefile.in (gcore.o): Update dependencies. Thanks, There are three pieces of code left then. The memory dumper (nbsd_find_memory_regions), the corefile elf-note writer (nbsd_make_corefile_notes) and a optimation (start to use PT_IO). The first patch is somewhat iffy since I've not yet commited the ptrace PT_MEMMAP interface to netbsd what will make it work. I think I need some help where I should put the stuff right now I've put all in nbsd-nat.c, but I'm not sure that the elf-note stuff should live there. Dump core-file from a netbsd machine over gdbserver ? Also, should I just add #ifdef PT_IO and use that if it exists. Using PT_IO is about 7-10 times faster the using PT_READ_[ID], make large diffrence when writing large core-files. The patches are in http://www.e.kth.se/~lha/patches/netbsd/gdb-core/ Also, do I need to do dead tree work ? Love