RTOS awareness
Nicolas Moreau
nicolas@enttec.com
Tue Aug 6 18:57:00 GMT 2002
Hi Bill
We are not using a stub but a JTAG interface to the processor (ARM7 core), can we
still redirect the printf ?
How can you call a function form the GDB command line ?
Thanks
Nick
On 6 Aug 2002 at 20:33, William A. Gatliff wrote:
Date sent: Tue, 6 Aug 2002 20:33:50 -0500
From: "William A. Gatliff" <bgat@billgatliff.com>
To: Nicolas Moreau <nicolas@enttec.com>
Copies to: gdb@sources.redhat.com
Subject: Re: RTOS awareness
Send reply to: bgat@billgatliff.com
> Nick:
>
>
> Pardon me from providing an incomplete answer, but you may also
> consider just having some "helper functions" with your stub or
> application that provide the needed functionality via printf()
> (redirected to gdb's console, for example). You would call those
> functions from gdb's command line, rather than mucking with gdb source
> code. No gdb mods required.
>
> Just a thought. I think eCos (another RTOS) uses this technique.
>
>
> b.g.
>
> On Wed, Aug 07, 2002 at 11:20:19AM +1000, Nicolas Moreau wrote:
> > Hi
> >
> > I would like to write a UCOS II (embedded RTOS) awarness module for
> > GDB to use on our embedded system. What I want to display is the
> > data structure associated with each task, the display has to be in a
> > user friendly format (no raw memory dump) Where can I start ? How
> > can I extend the fucntionality of UCOS ? What source files should I
> > be looking at ?
> >
> > Thanks
> >
> > Nick
> >
>
> --
> Bill Gatliff
> bgat@billgatliff.com
>
More information about the Gdb
mailing list