This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Problem with eCos debugging
- From: "Robert Cragie" <rcc at jennic dot com>
- To: "Heiko Panther" <heiko dot panther at web dot de>, <ecos-discuss at sources dot redhat dot com>
- Date: Thu, 13 Nov 2003 13:07:27 -0000
- Subject: RE: [ECOS] Problem with eCos debugging
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