From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3014 invoked by alias); 15 Jul 2002 14:20:39 -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 2998 invoked from network); 15 Jul 2002 14:20:37 -0000 Received: from unknown (HELO motgate2.mot.com) (136.182.1.10) by sources.redhat.com with SMTP; 15 Jul 2002 14:20:37 -0000 Received: [from mothost.mot.com (mothost.mot.com [129.188.137.101]) by motgate2.mot.com (motgate2 2.1) with ESMTP id HAA21365; Mon, 15 Jul 2002 07:20:57 -0700 (MST)] Received: [from mail.wm.sps.mot.com ([199.10.246.2]) by mothost.mot.com (MOT-pobox 2.0) with ESMTP id HAA13533; Mon, 15 Jul 2002 07:20:47 -0700 (MST)] Received: from hyper.wm.sps.mot.com (hyper.wm.sps.mot.com [199.10.246.43]) by mail.wm.sps.mot.com (8.9.3/8.9.3) with ESMTP id KAA02045; Mon, 15 Jul 2002 10:20:33 -0400 Received: by hyper.wm.sps.mot.com (8.11.2) id g6FEKTq23706; Mon, 15 Jul 2002 10:20:29 -0400 Date: Mon, 15 Jul 2002 07:20:00 -0000 Message-Id: <200207151420.g6FEKTq23706@hyper.wm.sps.mot.com> From: Peter Barada To: aminayev@yahoo.com CC: gdb@sources.redhat.com In-reply-to: <20020714055803.62733.qmail@web13505.mail.yahoo.com> (message from Alexei Minayev on Sat, 13 Jul 2002 22:58:03 -0700 (PDT)) Subject: Re: gdb-h8-stub... please help. References: <20020714055803.62733.qmail@web13505.mail.yahoo.com> X-SW-Source: 2002-07/txt/msg00151.txt.bz2 >(gdb) cont >Continuing. >Sending packet: $m18,2#34...Ack >Packet received: 0000 >binary downloading NOT suppported by target >Sending packet: $M18,2:5730#1d...Ack >Packet received: OK >Sending packet: $Hc0#db...Ack >Packet received: >Sending packet: $c#63...putpkt: Junk: @ >Timed out. >Packet received: S05 >Sending packet: $c#63...putpkt: Junk: >Timed out. > >end quote. >I would appreciate any light that you can shine on this. Do I need to patch >GDB? Do I need to process binary downloading (I don't do it now)? Add extra >cases to my command switch? > GDB tried the binary download('m'), and when that failed, fell back to hex download('M'). So you don't need to add binary download. To me it looks like the problem is in the stub since the communication between the host and stub is not working correctly. If you have a spare serial port on the target, add code to the stub to dump each packet that is recieved and sent. Run through the sequence again, and then decode the packets in the debug output and compare it against the documentation. I'm sure you'll eventually find what's wrong in your stub... -- Peter Barada Peter.Barada@motorola.com Wizard 781-852-2768 (direct) WaveMark Solutions(wholly owned by Motorola) 781-270-0193 (fax)