Re: [uCsimm] gdbserver problem !!!

From: Javier Ripoll (jripoll@cajamadrid.es)
Date: Fri Apr 14 2000 - 16:10:38 EDT


Paugam Luc wrote:

> Many thanks for all your answers.
> By copying my simple test program to /var on my uCsimm module, solve the
> problem.
> I am now able to debug remotely this program.
>
> But there is again a little problem: when i do several step into the
> debugger, GDB steps 2 lines each time.
> GDB is unable to step (and to show) 1 line only. At each step, 1 line is
> missing.
>
> Does anyone know why this is happening ?
> Thanks in advance for any help.
> Luc
>
> > -----Original Message-----
> > From: Javier Ripoll [SMTP:jripoll@cajamadrid.es]
> > Sent: Tuesday, April 11, 2000 2:55 PM
> > To: ucsimm@uClinux.com
> > Subject: RE: [uCsimm] gdbserver problem !!!
> >
> > The problem (I think) is that you are debugging your target in Flash
> > Memory and it is not possible to put breakpoints in Flash.
> > Copy you program to the /var directory (the ramdisk filesystem) and try
> > again.
> >
> > Regards.
> >
> This message resent by the ucsimm@uclinux.com list server http://www.uClinux.com/

Humm..., this can happen when you use some optimization options of the compiler. Try
to remove the option -fomit-frame-pointer (if you use it).
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:35 EST