From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12525 invoked by alias); 28 Feb 2003 16:51:11 -0000 Mailing-List: contact ecos-maintainers-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: ecos-maintainers-owner@sources.redhat.com Received: (qmail 12505 invoked from network); 28 Feb 2003 16:51:09 -0000 From: "Janez Ulcakar" To: "Jonathan Larmour" Cc: "Andrew Lunn" , Subject: RE: Debugger OS-awareness Date: Fri, 28 Feb 2003 16:51:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <3E5F8C38.204@eCosCentric.com> X-OriginalArrivalTime: 28 Feb 2003 16:50:12.0037 (UTC) FILETIME=[75B79F50:01C2DF49] X-SW-Source: 2003-02/txt/msg00074.txt.bz2 Thanks so far. I think we'll be able to delve in next month. -----Original Message----- From: Jonathan Larmour [mailto:jifl@eCosCentric.com] Sent: Friday, February 28, 2003 17:20 To: Janez Ulcakar Cc: Andrew Lunn; ecos-maintainers@sources.redhat.com Subject: Re: Debugger OS-awareness Janez Ulcakar wrote: > Hi, > > You're correct in your assumptions. We've encountered that 'special function > spawned by the ICE' approach before, and I think it's better suited for an > ICE. > > a) Does eCos already provide such a function (how's it called, where does it > take it's params from, and where do we read the results from and what > format) It wasn't made generic but there's one that was *intended* to be made generic in the hal/v85x ports. Search for CYGDBG_HAL_V850_ICE, and in particular look at hal/v85x/v850/current/src/v850_ice.cxx. There's also one for the ARM at hal/arm/arch/current/src/arm_stub.c but that isn't quite as good as it requires stubs to be included in applications. > b) should a debugger (we) provide a C source that the user includes in his > build Ideally such support should be built into the eCos port! If it's for an existing target, contributing it back to the community would be the best thing for users. Of course the support would want to be default off for users who don't need it. Jifl -- eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts --[ "You can complain because roses have thorns, or you ]-- --[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine