From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3778 invoked by alias); 5 Feb 2008 13:19:50 -0000 Received: (qmail 3766 invoked by uid 22791); 5 Feb 2008 13:19:50 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 05 Feb 2008 13:19:30 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id B1D4B98100; Tue, 5 Feb 2008 13:19:28 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 9B9EA980E0; Tue, 5 Feb 2008 13:19:28 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.68) (envelope-from ) id 1JMNhv-0002qo-Qs; Tue, 05 Feb 2008 08:19:27 -0500 Date: Tue, 05 Feb 2008 13:19:00 -0000 From: Daniel Jacobowitz To: rahul dev Cc: gdb@sourceware.org Subject: Re: elf core file format for powerpc Message-ID: <20080205131927.GC10652@caradoc.them.org> Mail-Followup-To: rahul dev , gdb@sourceware.org References: <212813.1619.qm@web94607.mail.in2.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <212813.1619.qm@web94607.mail.in2.yahoo.com> User-Agent: Mutt/1.5.17 (2007-12-11) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-02/txt/msg00025.txt.bz2 On Tue, Feb 05, 2008 at 06:37:08PM +0530, rahul dev wrote: > Also, is anyone aware of any link that describes the core file format (elf, linux over powerpc) ? I particulary need information about "note0, .reg, .reg2" sections. You're using objdump; try using readelf instead. That gives a more accurate picture of the contents. Then read the ELF gABI which describes the format of core files. > Also, is the code for "gcore" available on the internet. I need the > source code for "gcore" that creates a core file in elf format and > also adds sections "note0, .reg, .reg2". Of course it is. It's in the source package for GDB. But it uses the BFD library, so it's a little complicated to find out where each piece is implemented. -- Daniel Jacobowitz CodeSourcery