From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26182 invoked by alias); 6 Nov 2003 21:29:55 -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 26174 invoked from network); 6 Nov 2003 21:29:54 -0000 Received: from unknown (HELO gum.itee.uq.edu.au) (130.102.66.1) by sources.redhat.com with SMTP; 6 Nov 2003 21:29:54 -0000 Received: from nut.itee.uq.edu.au (nut.itee.uq.edu.au [130.102.66.13]) by gum.itee.uq.edu.au (8.12.10/8.12.9) with ESMTP id hA6LTAqR006308; Fri, 7 Nov 2003 07:29:10 +1000 (EST) Received: from itee.uq.edu.au (g435-9029.itee.uq.edu.au [130.102.66.250]) by nut.itee.uq.edu.au (8.12.10/8.12.9) with ESMTP id hA6LTASq015756; Fri, 7 Nov 2003 07:29:11 +1000 (EST) Message-ID: <3FAAC221.3060409@itee.uq.edu.au> Date: Thu, 06 Nov 2003 21:29:00 -0000 From: John Williams Reply-To: jwilliams@itee.uq.edu.au Organization: ITEE, University of Queensland User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030529 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Jacobowitz CC: gdb@sources.redhat.com Subject: Re: gdbserver version quandry References: <3FA99AB8.60908@itee.uq.edu.au> <20031106003935.GA12798@nevyn.them.org> <3FA99FA2.2010600@itee.uq.edu.au> <20031106150407.GA29808@nevyn.them.org> In-Reply-To: <20031106150407.GA29808@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checked: This message probably not SPAM X-Spam-Score: -2.6 X-Spam-Tests: EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_MOZILLA_UA,X_ACCEPT_LANG X-Spam-Report: -2.60 points, 8 required; * -0.5 -- Has a valid-looking References header * -0.5 -- Has a In-Reply-To header * 0.0 -- User-Agent header indicates a non-spam MUA (Mozilla) * -0.1 -- Has a X-Accept-Language header * -0.5 -- BODY: Contains what looks like an email attribution * -0.5 -- BODY: Contains what looks like a quoted email text * -0.5 -- Reply with quoted text X-Scanned-By: MIMEDefang 2.35 X-SW-Source: 2003-11/txt/msg00057.txt.bz2 Daniel Jacobowitz wrote: > 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. OK thanks. Looking at versions of gdbserver post gdb5.2, it's cleaned up a lot, and I can easily work with what's there. >>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. It's in the Makefile - not sure if it actually goes anywhere though. Cheers, John