This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Debugging Assembly Code
- From: "Harish Talanki" <htalanki at comtechefdata dot com>
- To: <ecos-discuss at ecos dot sourceware dot org>
- Date: Tue, 16 Jan 2007 15:22:30 -0700
- 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