[ECOS] Problem with eCos debugging

Robert Cragie rcc@jennic.com
Thu Nov 13 13:07:00 GMT 2003


I remember having problems before setting
CYGDBG_HAL_COMMON_INTERRUPTS_SAVE_MINIMUM_CONTEXT to 0 - have you tried
this?

Robert Cragie, Design Engineer
_______________________________________________________________
Jennic Ltd, Furnival Street, Sheffield, S1 4QT,  UK
http://www.jennic.com  Tel: +44 (0) 114 281 2655
_______________________________________________________________

> -----Original Message-----
> From: ecos-discuss-owner@sources.redhat.com
> [mailto:ecos-discuss-owner@sources.redhat.com]On Behalf Of Heiko Panther
> Sent: 13 November 2003 09:52
> To: ecos-discuss@sources.redhat.com
> 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
>
>


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list