From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22611 invoked by alias); 5 Aug 2004 21:08:11 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 22599 invoked from network); 5 Aug 2004 21:08:09 -0000 Received: from unknown (HELO lyte-mail1.lyse.net) (213.167.96.67) by sourceware.org with SMTP; 5 Aug 2004 21:08:09 -0000 Received: (qmail 8972 invoked from network); 5 Aug 2004 21:08:08 -0000 Received: from unknown (HELO famine) (84.234.138.230) by lyte-mail1.lyse.net with SMTP; 5 Aug 2004 21:08:08 -0000 From: =?ISO-8859-1?Q?=D8yvind?= Harboe To: ecos-discuss@sources.redhat.com, Alexander.Neundorf@jenoptik.com In-Reply-To: <1091733354.22994.ezmlm@ecos.sourceware.org> References: <1091733354.22994.ezmlm@ecos.sourceware.org> Content-Type: text/plain; charset=ISO-8859-1 Message-Id: <1091740087.15636.4.camel@famine> Mime-Version: 1.0 Date: Thu, 05 Aug 2004 21:08:00 -0000 Content-Transfer-Encoding: quoted-printable Subject: [ECOS] several remote gdb questions/problems X-SW-Source: 2004-08/txt/msg00110.txt.bz2 > Hi, >=20 > I'm using ecos cvs on an XScale. > Basically debugging with arm-elf-gdb/insight works. > It's gcc 3.2.1 and gdb 6.1 >=20 > Two (maybe three) issues: > It seems I am not able to pause a running program. > ecos/packages/hal/arm/xscale/pxa2x0/hal_diag.c contains code which seems = to check for ctrl-c . But pressing ctrl-c in arm-elf-gdb doesn't break the= program :-/ > Redboot is configured as rom-monitor, with gdb_break_support (not ctrl-c = support), since the stubs are present in redboot. > The app is configured without stubs, and checking gdb_break_support or ct= rlc_support doesn't change the behaviour. > Any hints why it doesn't work or how to find out the reason ? >=20 > Next one: I know this question was posted here several times already, but= I didn't find a definitive answer. I have (only) one serial port, which I = use for diag_printf(). On the xscale I read characters from /dev/ttydiag an= d interpret the commands. > gdb runs over the same serial line. > Is it possible to use gdb and at the same time see the diag_printf() outp= ut and be able to enter some commands via the serial line so that they reac= h my interpreter on the xscale ? >=20 > (third one: are there known problems with adding global object instances = to the watch window with insight 6.1 ? When I try this, insight stalls and = I have to kill it). >=20 > Thanks for any pointers Have you considered a hardware JTAG debugger?=20 For almost any non-trivial project it will be a major timesaver. I'm using the BDI2000 which also acts as a flash programmer. > Alex --=20 =D8yvind Harboe http://www.zylin.com -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss