This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]