Re: [uCsimm] debugging with GDB

From: Stuart Hughes (sehughes@zentropix.com)
Date: Thu Jan 27 2000 - 10:05:07 EST


Stuart Hughes wrote:
>
> Hi Kwonsk
>
> Thanks for your instructions, I have nearly got it working but still
> have some prombems, but this I mean that I have built gdb/gdbserver, but
> when I gdb, gdbserver
> does not complete the response correctly (e.g)
> Any ideas what might be wrong ???
>
> I tried to follow your instructions, but I could not understand the
> following:
>
> > 1.4.3 patch Makefile for gdbserver
> > chance CC to m68k-pic-coff-gcc, gdbserver will run on
> > uCsimm.
> > add line to change stack size using coff2flt (try 32768)
> > (Don't try make yet).

Hi All,

Chaning the makefile (too add the coff2flt line) as follows makes it
work

gdbserver: $(OBS) ${ADD_DEPS} ${CDEPS}
        rm -f gdbserver
        ${CC-LD} $(GLOBAL_CFLAGS) $(LDFLAGS) -o gdbserver $(OBS) \
          $(GDBSERVER_LIBS) $(XM_CLIBS)
        /opt/uClinux/m68k-pic-coff/bin/coff2flt -s 32768 -o gdbserver
gdbserver.coff

This is brutal and ugly, and suggestions for improvements greatly
accepted

Regards, Stuart
This message resent by the ucsimm@uclinux.com list server http://www.uClinux.com/



This archive was generated by hypermail 2b30 : Sun Apr 07 2002 - 00:01:34 EST