[ECOS] Re: Trying to Debug Ecos using GDB

Grant Edwards grante@visi.com
Wed Apr 12 21:59:00 GMT 2006

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

More information about the Ecos-discuss mailing list