From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30781 invoked by alias); 4 Mar 2003 03:42:23 -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 30763 invoked from network); 4 Mar 2003 03:42:20 -0000 Received: from unknown (HELO TYO201.gate.nec.co.jp) (210.143.35.51) by 172.16.49.205 with SMTP; 4 Mar 2003 03:42:20 -0000 Received: from mailgate3.nec.co.jp ([10.7.69.187]) by TYO201.gate.nec.co.jp (8.11.6/3.7W01080315) with ESMTP id h243g2w17896; Tue, 4 Mar 2003 12:42:02 +0900 (JST) Received: from mailsv4.nec.co.jp (mailgate52.nec.co.jp [10.7.69.191]) by mailgate3.nec.co.jp (8.11.6/3.7W-MAILGATE-NEC) with ESMTP id h243g1E12023; Tue, 4 Mar 2003 12:42:01 +0900 (JST) Received: from mcsss2.ucom.lsi.nec.co.jp ([10.30.114.133]) by mailsv4.nec.co.jp (8.11.6/3.7W-MAILSV4-NEC) with ESMTP id h243g0H00983; Tue, 4 Mar 2003 12:42:00 +0900 (JST) Received: from mcspd15.ucom.lsi.nec.co.jp (mcspd15 [10.30.114.174]) by mcsss2.ucom.lsi.nec.co.jp (8.10.2+Sun/3.7Wlsi_mx_6.0) with ESMTP id h243fxB09352; Tue, 4 Mar 2003 12:41:59 +0900 (JST) Received: by mcspd15.ucom.lsi.nec.co.jp (Postfix, from userid 31295) id CA0D0370F; Tue, 4 Mar 2003 12:41:59 +0900 (JST) To: Daniel Jacobowitz Cc: Andrew Cagney , uclinux-dev@uclinux.org, gdb@sources.redhat.com Subject: Re: gdbserver relocation? References: <20030224142831.GB24793@nevyn.them.org> <20030224152608.GB2206@gnu.org> <3E5A3E20.5040706@redhat.com> <20030304030318.GB31172@nevyn.them.org> Reply-To: Miles Bader System-Type: i686-pc-linux-gnu Blat: Foop From: Miles Bader Date: Tue, 04 Mar 2003 03:42:00 -0000 In-Reply-To: <20030304030318.GB31172@nevyn.them.org> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-03/txt/msg00073.txt.bz2 Daniel Jacobowitz writes: > > What do you think of the following patch (I added the `handle_query' > > target callback, and then provided a linux-low.c implementation)? > > It looks reasonable to me. Do you have GDB copyright papers on file? I don't think so; ac131313 sent me a form to do this, which I CC'd to the FSF a week ago or so, but I haven't received any reply yet (I will certainly sign an assignment, but it may take a while to get a copyright disclaimer from my work). > Hmm, this only works if the executable is linked at 0 with data right > after text. Is that the case for all/most uClinux targets? Yes, so far as I know. Also, so far there's no standardization of the ptrace PT_TEXT_ADDR &c macros; I justed added them to the v850 implementation. The m68knommu target uses hardwired numeric constants for the same functionality, but hopefully the maintainers will add defines so this implementation will work on it (gerg? davidm?). -Miles -- Saa, shall we dance? (from a dance-class advertisement)