From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5966 invoked by alias); 9 May 2006 12:38:42 -0000 Received: (qmail 5956 invoked by uid 22791); 9 May 2006 12:38:41 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Tue, 09 May 2006 12:38:38 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1FdRU4-0000aW-MD; Tue, 09 May 2006 08:38:36 -0400 Date: Tue, 09 May 2006 13:20:00 -0000 From: Daniel Jacobowitz To: Nathan Sidwell Cc: gdb@sources.redhat.com, jr.peulve@wanadoo.fr Subject: Re: gdbserver for m68k-uclinux Message-ID: <20060509123836.GB2147@nevyn.them.org> Mail-Followup-To: Nathan Sidwell , gdb@sources.redhat.com, jr.peulve@wanadoo.fr References: <445F5278.3000900@codesourcery.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <445F5278.3000900@codesourcery.com> User-Agent: Mutt/1.5.8i Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-05/txt/msg00088.txt.bz2 On Mon, May 08, 2006 at 03:15:20PM +0100, Nathan Sidwell wrote: > This patch implements the necessary qOffsets logic tso that a uclinux > hosted gdbserver can tell a remote gdb what the text & data offsets are. > It also uses vfork on such systems. > > This implementation clearly separates the gdb protocol pieces of qOffsets > from the system specific pieces of determining the offsets. The original > diff I found on the uclinux site did not have such a separation, I used > that implementation for inspiration. > > Tested on a m5208evb hosted uclinux system. > > ok? Yes, this is OK. Thanks. > + m68*-*-uclinux*) srv_regobj=reg-m68k.o > + srv_tgtobj="linux-low.o linux-m68k-low.o" > + srv_linux_usrregs=yes > + srv_linux_regsets=yes > + srv_linux_thread_db=yes > + LDFLAGS=-elf2flt > + ;; Is LDFLAGS really necessary here? I thought the toolchain took care of it. -- Daniel Jacobowitz CodeSourcery