Harish, Try adding -Wa,-gstabs to the compile line and see if this helps
--Chris -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Harish Talanki Sent: Tuesday, January 16, 2007 10:23 PM To: [email protected] Subject: [ECOS] Debugging Assembly Code Hello Ecos Users, I am using JTAG based ICE box to debug code on IXP2350 Processor, and happen to see some issues in debugging the assembly code included in hal_platform_set.h. My debugger can show the code in raw assembly but doesnot convey much. For regular "C" code it is able to show the assembly listing properly for each C-statement. How can I build this assembly code with debug symbols, so I can easily step through the processor/DDRRAM initialisation code using the JTAG ICE box? Right now I am building all the Redboot with -g and tookout -O2 flag. Are there any other flags I need for easy debugging? Thanks, -- 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
