From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10755 invoked by alias); 3 Jan 2003 14:20:20 -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 10748 invoked from network); 3 Jan 2003 14:20:15 -0000 Received: from unknown (HELO mail.s.netic.de) (212.9.160.11) by 209.249.29.67 with SMTP; 3 Jan 2003 14:20:15 -0000 Received: from isdn056.s.netic.de ([212.9.162.56] helo=schleim.qwe.de) by mail.s.netic.de with esmtp (Exim 4.10) id 18UScB-000HyR-00 for gdb@sources.redhat.com; Fri, 03 Jan 2003 15:15:59 +0100 Received: from schleim (localhost [127.0.0.1]) by schleim.qwe.de (Postfix) with ESMTP id D2D29FD8 for ; Fri, 3 Jan 2003 14:49:23 +0100 (CET) Content-Type: text/plain; charset="iso-8859-1" From: Torsten Mohr To: gdb Subject: Re: patch for gdb Date: Fri, 03 Jan 2003 14:20:00 -0000 User-Agent: KMail/1.4.3 References: <200301031326.54192.tmohr@s.netic.de> In-Reply-To: <200301031326.54192.tmohr@s.netic.de> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200301031449.23559.tmohr@s.netic.de> X-SW-Source: 2003-01/txt/msg00036.txt.bz2 Hi, i received a hint by mail that it would be better to write an external "Monitor" that understands "GDB Remote Protocol". Can anybody tell me where to get some info about that? "info gdbint" didn't help and i didn't find anything in "insight/gdb/doc/". I still like the idea to teach gdb how to use the parallel port. I'd be glad to hear about comments about the patch i wrote. As there is very little response i think you don't like it that much? Best regards, Torsten. > Hi everybody, > > i'm quite glad i could use my patched "insight-5.3" > to download a program into my ARM evaluation board > and start a program, all via the parallel port, > Linux-only at the moment. > > But of course there are some things not yet working, > it would be great if someone could give me some hints: > > The program starts, "to_wait" is called cyclically, > the Run-Button changed to a Stop-Button, but the > mouse pointer only shows a clock and i can't stop > the target. > > Also, when i set a breakpoint somewhere at the beginning > in "main()", the target stops (debug output) but continues > after that breakpoint immediately. > > In "to_wait" i set target_status->kind to either > "TARGET_WAITKIND_IGNORE" (if the target is running) > or to "TARGET_WAITKIND_SPURIOUS" (if the target is > stopped). I don't know what else to do there, is > this a problem? > > I've put the actual version here: > > http://www.s.netic.de/tmohr/gdbpatch.tar.bz2 > > I'd be really glad if it could be integrated into > gdb/insight. > > > Best regards, > Torsten.