This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Problem with eCos debugging
- From: Heiko Panther <heiko dot panther at web dot de>
- To: ecos-discuss at sources dot redhat dot com
- Date: Thu, 13 Nov 2003 10:52:14 +0100
- Subject: [ECOS] Problem with eCos debugging
My eCos platform is OpenRisc. We have ported the OpenRisc Reference
Platform (ORP) to a different FPGA development board, so I created a
Platform HAL based on Scott Furman's ORP HAL. I've got eCos up,
multitasking is running. I have a serial port and can exchange commands
with RedBoot through a terminal app (although these commands mostly
don't work). I can place a breakpoint() call in my code, and I can then
attach gdb and find that it stopped at breakpoint().
However, the gdb backtrace is empty. Sometimes there is only frame#0,
sometimes there is a frame#1 called "??". Stepping does not work.
What could be broken, and where should I look? Should it be possible to
attach gdb without the breakpoint()?
Heiko
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss