[ECOS] RE: ctrl-c in GDB
Andrew Lunn
andrew@lunn.ch
Thu Sep 30 09:07:00 GMT 2004
On Thu, Sep 30, 2004 at 12:23:49PM +0530, Vikas K. Prasad wrote:
>
> Nick,
>
> Thank you for giving me the direction. Here is what happens
> when I try to put the break point in 'start()'.
>
> (gdb) b *0x4100190
> Breakpoint 1 at 0x4100190
> (gdb) c
> Continuing.
>
> Breakpoint 1, 0x04100190 in start ()
> (gdb) s
> Single stepping until exit from function start,
> which has no line number information.
>
> >From this, I am doubting if the code generation is proper.
What gdb it telling you is that it does not know which line of C code
is currently running. The startup code is written in assembly
language, so there is no C. So this is normal. Take a look at the
vectors.S file for your architecture.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss
mailing list