From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27716 invoked by alias); 9 May 2006 13:20:34 -0000 Received: (qmail 27707 invoked by uid 22791); 9 May 2006 13:20:33 -0000 X-Spam-Check-By: sourceware.org Received: from intranet.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.6) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 09 May 2006 13:20:30 +0000 Received: (qmail 18001 invoked from network); 9 May 2006 13:20:28 -0000 Received: from unknown (HELO ?192.168.189.145?) (nathan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 9 May 2006 13:20:28 -0000 Message-ID: <44609711.4030504@codesourcery.com> Date: Tue, 09 May 2006 14:13:00 -0000 From: Nathan Sidwell User-Agent: Mozilla Thunderbird 1.0.8 (X11/20060502) MIME-Version: 1.0 To: Daniel Jacobowitz CC: gdb@sources.redhat.com, jr.peulve@wanadoo.fr Subject: Re: gdbserver for m68k-uclinux References: <445F5278.3000900@codesourcery.com> <20060509123836.GB2147@nevyn.them.org> In-Reply-To: <20060509123836.GB2147@nevyn.them.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/msg00090.txt.bz2 Daniel Jacobowitz wrote: > 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. > > Is LDFLAGS really necessary here? I thought the toolchain took care of > it. I think at the point I developed this patch, the compiler didn't take care of it :) I can remove it. nathan -- Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk