Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Nicolas Moreau" <nicolas@enttec.com>
To: "William A. Gatliff" <bgat@billgatliff.com>, gdb@sources.redhat.com
Subject: Re: RTOS awareness
Date: Tue, 06 Aug 2002 18:57:00 -0000	[thread overview]
Message-ID: <3D5108FD.14161.5CE929C@localhost> (raw)
In-Reply-To: <20020806203350.A1780@saturn.billgatliff.com>

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
> 



  reply	other threads:[~2002-08-07  1:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-06 18:17 Nicolas Moreau
2002-08-06 18:33 ` William A. Gatliff
2002-08-06 18:57   ` Nicolas Moreau [this message]
2002-08-06 19:21     ` William A. Gatliff
2002-08-14 21:22   ` Andrew Cagney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3D5108FD.14161.5CE929C@localhost \
    --to=nicolas@enttec.com \
    --cc=bgat@billgatliff.com \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox