This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: gdbserver for m68k-uclinux
- From: Daniel Jacobowitz <dan at codesourcery dot com>
- To: Nathan Sidwell <nathan at codesourcery dot com>
- Cc: gdb at sources dot redhat dot com, jr dot peulve at wanadoo dot fr
- Date: Tue, 9 May 2006 08:38:36 -0400
- Subject: Re: gdbserver for m68k-uclinux
- References: <445F5278.3000900@codesourcery.com>
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