Forums

Not a DSP Question

Started by k September 15, 2003
I am trying to source level debug my embedded code thru a JTAG emulator. I
am using gcc. At the moment I am generating a motorola hex file format that
does not contain any debug information. What type of file I need to generate
with gcc that allows me to source level debug and how do I generate this
file.

Thanks

Carl



I am trying to source level debug my embedded code thru a JTAG emulator. I
am using gcc. At the moment I am generating a motorola hex file format that
does not contain any debug information. What type of file I need to generate
with gcc that allows me to source level debug and how do I generate this
file.

Thanks

Carl



"k" <ka@aol.com> wrote in message news:<xmn9b.2360$Dk6.167@newssvr33.news.prodigy.com>...
> I am trying to source level debug my embedded code thru a JTAG emulator. I > am using gcc. At the moment I am generating a motorola hex file format that > does not contain any debug information. What type of file I need to generate > with gcc that allows me to source level debug and how do I generate this > file. > > Thanks > > Carl
See man gcc, the -g switch. Then you can use gdb with DDD or tornado. Cheers, Herman http://www.AerospaceSoftware.com