From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11926 invoked by alias); 29 Mar 2005 01:31:29 -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 11905 invoked from network); 29 Mar 2005 01:31:25 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 29 Mar 2005 01:31:25 -0000 Received: from drow by nevyn.them.org with local (Exim 4.50 #1 (Debian)) id 1DG5ai-0001g9-FB; Mon, 28 Mar 2005 20:32:24 -0500 Date: Tue, 29 Mar 2005 01:31:00 -0000 From: Daniel Jacobowitz To: Jon Ringle Cc: gdb@sources.redhat.com Subject: Re: arm core analysis on x86 host Message-ID: <20050329013224.GA6373@nevyn.them.org> Mail-Followup-To: Jon Ringle , gdb@sources.redhat.com References: <200503281829.19775.jon.ringle@comdial.com> <20050328235715.GA3654@nevyn.them.org> <200503281948.44498.jon.ringle@comdial.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200503281948.44498.jon.ringle@comdial.com> User-Agent: Mutt/1.5.6+20040907i X-SW-Source: 2005-03/txt/msg00272.txt.bz2 On Mon, Mar 28, 2005 at 07:48:44PM -0500, Jon Ringle wrote: > On Monday 28 March 2005 18:57, Daniel Jacobowitz wrote: > > On Mon, Mar 28, 2005 at 06:29:19PM -0500, Jon Ringle wrote: > > > 1) Can the current gdb analyze an arm core dump? > > > 2) If not, I would appreciate some pointers to help me add this support. > > > > Take a look at any target which registers core functions in a tdep > > file, instead of a nat file. arm-linux still does it in the nat file. > > That just needs to be fixed. > > I looked at mips-linux-tdep.c as an example and it uses: > deprecated_add_core_fns (®set_core_fns); > > Is there a non-deprecated version I should be use instead? Is there a better > example to follow? Try anything using set_gdbarch_regset_from_core_section. -- Daniel Jacobowitz CodeSourcery, LLC