This is the mail archive of the ecos-discuss@sources.redhat.com 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]

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


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