From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 519 invoked by alias); 21 Jun 2014 01:11:05 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 502 invoked by uid 89); 21 Jun 2014 01:11:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 21 Jun 2014 01:11:03 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1Wy9pb-0006Iy-8d from Yao_Qi@mentor.com ; Fri, 20 Jun 2014 18:10:59 -0700 Received: from SVR-ORW-FEM-03.mgc.mentorg.com ([147.34.97.39]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Fri, 20 Jun 2014 18:10:59 -0700 Received: from qiyao.dyndns.org (147.34.91.1) by svr-orw-fem-03.mgc.mentorg.com (147.34.97.39) with Microsoft SMTP Server id 14.2.247.3; Fri, 20 Jun 2014 18:10:58 -0700 Message-ID: <53A4DB40.2040103@codesourcery.com> Date: Sat, 21 Jun 2014 01:11:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Fabricio de Novaes Kucinskis , Subject: Re: How to update an old GDBServer to implement gdb/mi? References: <20140621011016.M65772@satelite.dea.inpe.br> In-Reply-To: <20140621011016.M65772@satelite.dea.inpe.br> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2014-06/txt/msg00062.txt.bz2 On 06/21/2014 09:12 AM, Fabricio de Novaes Kucinskis wrote: > I have a SPARC V7 processor with an old GDB Server implemented for cross- > debugging. In order to debug my software with a modern front-end such as the > Eclipse CDT, I have to update this server to use the MI interface. > > I know reasonably well my old GDB Server implementation, but I have no idea what > changes I have to apply in order to support the MI interface. > > So I'd like to ask: from were should I start? Can someone send me usefull tips > or links for this task? GDBserver doesn't support MI but GDB does. You can configure and build gdb for sparc target, use this gdb in Eclipse CDT, and connect to your old GDBserver. -- Yao (齐尧)