From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8527 invoked by alias); 26 Jan 2004 18:54:38 -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 8504 invoked from network); 26 Jan 2004 18:54:37 -0000 Received: from unknown (HELO mms1.broadcom.com) (63.70.210.58) by sources.redhat.com with SMTP; 26 Jan 2004 18:54:37 -0000 Received: from 63.70.210.1 by mms1.broadcom.com with ESMTP (Broadcom SMTP Relay (MMS v5.6.0)); Mon, 26 Jan 2004 10:54:23 -0800 X-Server-Uuid: 97B92932-364A-4474-92D6-5CFE9C59AD14 Received: from mail-sj1-5.sj.broadcom.com (mail-sj1-5.sj.broadcom.com [10.16.128.236]) by mon-irva-11.broadcom.com (8.9.1/8.9.1) with ESMTP id KAA08013; Mon, 26 Jan 2004 10:53:47 -0800 (PST) Received: from PCSJCASOCONNOR (dhcpe2-sj1-109 [10.16.75.109]) by mail-sj1-5.sj.broadcom.com (8.12.9/8.12.9/SSF) with SMTP id i0QIsIov011484; Mon, 26 Jan 2004 10:54:22 -0800 (PST) From: "Vijay Kamarshi" To: "Jon Ringle" , gdb@sources.redhat.com Subject: RE: minimal stub? (GDB Remote Serial Protocol) Date: Mon, 26 Jan 2004 18:54:00 -0000 Message-ID: MIME-Version: 1.0 In-Reply-To: <200401231955.12261.jon.ringle@comdial.com> X-WSS-ID: 6C0BBDD52AS1665695-01-01 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit X-SW-Source: 2004-01/txt/msg00307.txt.bz2 Jon, Thanks for the suggestion. It gives me a starting point. -Vijay -----Original Message----- From: gdb-owner@sources.redhat.com [mailto:gdb-owner@sources.redhat.com]On Behalf Of Jon Ringle Sent: Friday, January 23, 2004 4:55 PM To: gdb@sources.redhat.com Subject: Re: minimal stub? (GDB Remote Serial Protocol) On Friday 23 January 2004 06:06 pm, Vijay Kamarshi wrote: > Hi all, > > I am planning on using GDB to debug a remote processor running a debug > stub. It is quite concerning to me that the remote protocol document is > out-of-date. Is it that easy to figure out what the protocol is by > experimentation? For example if the GDB host sends a stream of commands to > the remote processor and it mis-interprets the first one, is the host not > going to just quit on that? That would make the experimentation process > pretty long! > > I am puzzled: > 1) are there no people out there who have this protocol figured out? I > would appreciate at least a starting point! > 2) are all the commands in the remote protocol document out of date or just > some of them? > > Any help would be gratefully received. > > -Vijay Kamarshi > PS: I heard that one way of figuring out this remote protocol is to peer > deeply into gdbserver, but people have warned me that it is a pretty hairy > piece of code. Hi Vijay, A while back I backported an arm kgdb patch for kernel 2.4.19 to a target based on kernel 2.2.16 found at: http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=1335/1 It may be helpful. Jon