From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29043 invoked by alias); 12 Apr 2006 20:59:19 -0000 Received: (qmail 29034 invoked by uid 22791); 12 Apr 2006 20:59:19 -0000 X-Spam-Check-By: sourceware.org Received: from sccrmhc13.comcast.net (HELO sccrmhc13.comcast.net) (63.240.77.83) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 12 Apr 2006 20:59:17 +0000 Received: from ultsol.com (c-24-147-245-185.hsd1.ma.comcast.net[24.147.245.185]) by comcast.net (sccrmhc13) with ESMTP id <200604122059160130024io5e>; Wed, 12 Apr 2006 20:59:16 +0000 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Wed, 12 Apr 2006 20:59:00 -0000 Message-ID: <81C69D96BDD30640952C7A404004AA2543A5A7@ultsol01.tewks.ultsol.local> From: "Fahd Abidi" To: "Andrew Lunn" Cc: X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: RE: [ECOS] Trying to Debug Ecos using GDB X-SW-Source: 2006-04/txt/msg00154.txt.bz2 So you're saying that I won't be able to build an executable that contains symbol information from the ecos kernel? Just the symbol information from the application that I created? In other words the debug symbols from the libtarget.a library will not get carried over into hello.o during linking? Thanks, Fahd =20 -----Original Message----- From: ecos-discuss-owner@ecos.sourceware.org [mailto:ecos-discuss-owner@ecos.sourceware.org] On Behalf Of Andrew Lunn Sent: Wednesday, April 12, 2006 5:00 PM To: Fahd Abidi Cc: ecos-discuss@ecos.sourceware.org Subject: Re: [ECOS] Trying to Debug Ecos using GDB On Wed, Apr 12, 2006 at 04:46:21PM -0400, Fahd Abidi wrote: > I'm trying to create a test case where I will use a BDI2000 JTAG=20 > emulator to debug the ecos kernel, for that I need an image that has=20 > all the symbols built in. I will then strip the executable to create=20 > an image that does not have any debug symbols to load onto the target, > that way I can debug the kernel thru a JTAG probe. The larger image=20 > with debug symbols is used only on the host GDB and the stipped=20 > executable sits on the target. >=20 > Is this possible? Is there any way to tell the linker to leave the=20 > debug symbols in place? After linking with the application to form an image The debug symbols will be in place, but just symbols you need. The debug information for symbols that are not in the image will not be in the image. There is also no need to strip the image before loading it onto the target. Your BDI2000 will be able to parse the elf image and download only what is needed onto the target, ie it won't download the debug information. Andrew --=20 Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss