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
Not a DSP Question
Started by ●September 15, 2003
Reply by ●September 15, 20032003-09-15
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
Reply by ●September 16, 20032003-09-16
"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 > > CarlSee man gcc, the -g switch. Then you can use gdb with DDD or tornado. Cheers, Herman http://www.AerospaceSoftware.com