Re: gdbserver for m68k-uclinux

Daniel Jacobowitz
2006-05-09T12:38:42Z

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