From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13284 invoked by alias); 7 Aug 2002 01:57:40 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 13253 invoked from network); 7 Aug 2002 01:57:38 -0000 Received: from unknown (HELO mta06ps.bigpond.com) (144.135.25.138) by sources.redhat.com with SMTP; 7 Aug 2002 01:57:38 -0000 Received: from amdk7 ([144.135.25.75]) by mta06ps.bigpond.com (Netscape Messaging Server 4.15 mta06ps May 23 2002 23:53:28) with SMTP id H0GARY00.6U9; Wed, 7 Aug 2002 11:57:34 +1000 Received: from CPE-144-132-24-231.vic.bigpond.net.au ([144.132.24.231]) by PSMAM03.mailsvc.email.bigpond.com(MailRouter V3.0n 83/34262005); 07 Aug 2002 11:57:23 From: "Nicolas Moreau" To: "William A. Gatliff" , gdb@sources.redhat.com Date: Tue, 06 Aug 2002 18:57:00 -0000 MIME-Version: 1.0 Subject: Re: RTOS awareness Message-ID: <3D5108FD.14161.5CE929C@localhost> Priority: normal In-reply-to: <20020806203350.A1780@saturn.billgatliff.com> References: <3D510273.8727.5B50901@localhost>; from nicolas@enttec.com on Wed, Aug 07, 2002 at 11:20:19AM +1000 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-SW-Source: 2002-08/txt/msg00042.txt.bz2 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" To: Nicolas Moreau 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 >