From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15809 invoked by alias); 6 Nov 2003 15:04:14 -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 15780 invoked from network); 6 Nov 2003 15:04:13 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 6 Nov 2003 15:04:13 -0000 Received: from drow by nevyn.them.org with local (Exim 4.24 #1 (Debian)) id 1AHlg7-0007lA-D4; Thu, 06 Nov 2003 10:04:07 -0500 Date: Thu, 06 Nov 2003 15:04:00 -0000 From: Daniel Jacobowitz To: John Williams Cc: gdb@sources.redhat.com Subject: Re: gdbserver version quandry Message-ID: <20031106150407.GA29808@nevyn.them.org> Mail-Followup-To: John Williams , gdb@sources.redhat.com References: <3FA99AB8.60908@itee.uq.edu.au> <20031106003935.GA12798@nevyn.them.org> <3FA99FA2.2010600@itee.uq.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3FA99FA2.2010600@itee.uq.edu.au> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-11/txt/msg00051.txt.bz2 On Thu, Nov 06, 2003 at 11:10:58AM +1000, John Williams wrote: > Daniel Jacobowitz wrote: > >On Thu, Nov 06, 2003 at 10:50:00AM +1000, John Williams wrote: > > > >>Hi folks, > >> > >>I have recently completed a port of uClinux to the Xilinx Microblaze > >>soft-processor architecture. > >> > >>http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux. > >> > >>I am now investigating providing gdbserver support for this architecture. > > > >If your gdb 5.0 port supports remote debugging at all, then probably > >easiest is to take the most recent version of gdbserver and work from > >that. Then adapt it to speak to your older client. Not much should be > >required. > > Yes - microblaze gdb 5.0 does supoprt remote debugging. Xilinx never > intended to support (uC)linux, so they wrote their own gdbserver-type > program to run on the host, which then communicates with a stub on the > target via a proprietary serial interface. > > So then, the question becomes: is there any info online about providing > new arch support for gdb/gdbserver? About gdb, see the gdbint manual. About gdbserver, no. > Also looking at gdbserver version strings in the Makefiles - I see that > gdbserver versions don't track gdb versions. In both the gdb5.0 and > gdb5.1 distributions, the gdbserver version string is 4.12.3... ??? Didn't even know there was a version number. Gdbserver never displays it. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer