From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25486 invoked by alias); 26 Jul 2004 19:33:54 -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 25476 invoked from network); 26 Jul 2004 19:33:54 -0000 Received: from unknown (209.128.65.135) by sourceware.org with QMTP; 26 Jul 2004 19:33:54 -0000 Received: (qmail 27231 invoked by uid 10); 26 Jul 2004 19:33:53 -0000 Received: (qmail 23415 invoked by uid 500); 26 Jul 2004 19:33:45 -0000 From: Ian Lance Taylor To: "xinan tang" Cc: Subject: Re: "GDB remote protocol?" References: <52BBA75459915749B68F93B604B636CD217D@neptune.TidalNetworks.net> Date: Mon, 26 Jul 2004 20:51:00 -0000 In-Reply-To: <52BBA75459915749B68F93B604B636CD217D@neptune.TidalNetworks.net> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2004-07/txt/msg00327.txt.bz2 "xinan tang" writes: > For other targets, I found out files with names of *-remote.c such as > file remote-mips.c. Does remote-mips.c use the GDB remote protocol or > other protocol specialized for MIPS vendors? remote-mips.c uses a different protocol which is completely different from the GDB remote protocol. I can't remember who developed it, but I think it was IDT. The protocol framing is described in a long comment starting around line 150 of the file. The protocol commands are described in a comment before the function mips_request(). Looking at the code, I see that some new commands have been added here and there; I'm not sure whether those are documented in the file anywhere. Ian