This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: gdbserver relocation?
- From: Miles Bader <miles at lsi dot nec dot co dot jp>
- To: Daniel Jacobowitz <drow at mvista dot com>
- Cc: Andrew Cagney <ac131313 at redhat dot com>, uclinux-dev at uclinux dot org, gdb at sources dot redhat dot com
- Date: 04 Mar 2003 12:41:59 +0900
- Subject: Re: gdbserver relocation?
- References: <buok7fqqdzi.fsf@mcspd15.ucom.lsi.nec.co.jp><20030224142831.GB24793@nevyn.them.org><20030224152608.GB2206@gnu.org> <3E5A3E20.5040706@redhat.com><buoheaj3ly5.fsf@mcspd15.ucom.lsi.nec.co.jp><20030304030318.GB31172@nevyn.them.org>
- Reply-to: Miles Bader <miles at gnu dot org>
Daniel Jacobowitz <drow at mvista dot com> 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)