From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 564 invoked by alias); 28 Feb 2003 16:20:17 -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 556 invoked from network); 28 Feb 2003 16:20:17 -0000 Message-ID: <3E5F8C38.204@eCosCentric.com> Date: Fri, 28 Feb 2003 16:20:00 -0000 From: Jonathan Larmour User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.2) Gecko/20021203 X-Accept-Language: en-gb, en, en-us MIME-Version: 1.0 To: Janez Ulcakar Cc: Andrew Lunn , ecos-maintainers@sources.redhat.com Subject: Re: Debugger OS-awareness References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-02/txt/msg00073.txt.bz2 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