From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9289 invoked by alias); 5 Feb 2008 13:26:14 -0000 Received: (qmail 9281 invoked by uid 22791); 5 Feb 2008 13:26:13 -0000 X-Spam-Check-By: sourceware.org Received: from web94601.mail.in2.yahoo.com (HELO web94601.mail.in2.yahoo.com) (203.104.17.133) by sourceware.org (qpsmtpd/0.31) with SMTP; Tue, 05 Feb 2008 13:25:43 +0000 Received: (qmail 35144 invoked by uid 60001); 5 Feb 2008 13:25:40 -0000 X-YMail-OSG: M_t5EEUVM1kNU7YRw1q8h5SlmEf_dAQz9tD8YTKtcttNA_09O8rcbIKI3BrlId0KVdj45lsYcwpyW5dBoIBPvDqbnuJRr5ov_YyPHtHZ_9DYN.BTCqEJ3PfHPHXanA-- Received: from [203.145.174.100] by web94601.mail.in2.yahoo.com via HTTP; Tue, 05 Feb 2008 18:55:40 IST X-Mailer: YahooMailWebService/0.7.162 Date: Tue, 05 Feb 2008 13:26:00 -0000 From: rahul dev Reply-To: rahul_dev_agg@yahoo.co.in Subject: Re: elf core file format for powerpc To: gdb@sourceware.org In-Reply-To: <20080205131927.GC10652@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-ID: <328739.18777.qm@web94601.mail.in2.yahoo.com> 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/msg00027.txt.bz2 Thanks for your reply. But, is there any link/documentation that describes the core file format for EM_PPC ? --- On Tue, 5/2/08, Daniel Jacobowitz wrote: > From: Daniel Jacobowitz > Subject: Re: elf core file format for powerpc > To: "rahul dev" > Cc: gdb@sourceware.org > Date: Tuesday, 5 February, 2008, 6:49 PM > 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. >=20 > 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. >=20 > > 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". >=20 > Of course it is. It's in the source package for GDB.=20 > But it uses the > BFD library, so it's a little complicated to find out > where each piece > is implemented. >=20 > --=20 > Daniel Jacobowitz > CodeSourcery 5, 50, 500, 5000 - Store N number of mails in your inbox. Go to http:= //help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html