From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25769 invoked by alias); 12 Apr 2006 21:59:29 -0000 Received: (qmail 25761 invoked by uid 22791); 12 Apr 2006 21:59:28 -0000 X-Spam-Check-By: sourceware.org Received: from conn.mc.mpls.visi.com (HELO conn.mc.mpls.visi.com) (208.42.156.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 12 Apr 2006 21:59:25 +0000 Received: from rivatek.dnsalias.net (rrcs-67-52-40-201.west.biz.rr.com [67.52.40.201]) by conn.mc.mpls.visi.com (Postfix) with ESMTP id BAFC5831B for ; Wed, 12 Apr 2006 16:59:22 -0500 (CDT) Received: by rivatek.dnsalias.net (Postfix, from userid 1000) id 50FDF540D8; Wed, 12 Apr 2006 16:59:22 -0500 (CDT) To: ecos-discuss@ecos.sourceware.org From: Grant Edwards In-Reply-To: <20060412204530.GA10362@lunn.ch> References: <81C69D96BDD30640952C7A404004AA2543A5A6@ultsol01.tewks.ultsol.local> <20060412204530.GA10362@lunn.ch> Date: Wed, 12 Apr 2006 21:59:00 -0000 Message-Id: <20060412215922.50FDF540D8@rivatek.dnsalias.net> 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: [ECOS] Re: Trying to Debug Ecos using GDB X-SW-Source: 2006-04/txt/msg00158.txt.bz2 In gmane.os.ecos.general, you wrote: > 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 >> emulator to debug the ecos kernel, for that I need an image that has all >> the symbols built in. I will then strip the executable to create 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 with >> debug symbols is used only on the host GDB and the stipped executable >> sits on the target. >> >> Is this possible? Is there any way to tell the linker to leave the 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. Is the kernel built with debug symbols enabled? I recall having to tweak on something to get that enabled. -- Grant Edwards grante Yow! Do you guys know we at just passed thru a BLACK visi.com HOLE in space? -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss