|
Message
From: "Robert Cragie" <rcc@j...>
Date: Tue, 11 Nov 2003 13:12:49 -0000
Subject: RE: [openrisc] gdb stub instead of JTAG?
> > I have used the GDB stubs supplied with eCos successfully over a UART
> > communicating with GDB 5.3 and DDD running GDB 5.3 being able to set
> > breakpoints, single step etc. The only problems I have
> encountered are that
> > global variables are somehow not visible to the debugger -
> haven't got to
> > the bottom of that one yet.
>
> Did you use RedBoot, or can gdb attach without it?
I included the GDB stubs in the configuration - worked out of the box.
> I've got eCos starting up now, only multitasking doesn't work yet. I see
> the tick timer exceptions, but it looks like the ecos system timer is
> not incrementing. Also, the eCos diag_printf does not print values, only
> the format string... is that what you experienced? Turning off
> optimizations for ecos didn't change anything.
I had problems with diag_printf() with optimisations turned on but works OK
with optimisation turned off. I am not using multi-tasking facilities of
eCos yet.
Has anyone else experienced problems using optimisation (-02) with the
compiler?
Robert Cragie, Design Engineer
_______________________________________________________________
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
http://www.jennic.com Tel: +44 (0) 114 281 2655
_______________________________________________________________
|
 |