This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: RE: ctrl-c in GDB
- From: Andrew Lunn <andrew at lunn dot ch>
- To: "Vikas K. Prasad" <vikas dot prasad at ittiam dot com>
- Cc: Nick Garnett <nickg at ecoscentric dot com>, ecos-discuss at sources dot redhat dot com
- Date: Thu, 30 Sep 2004 10:28:36 +0200
- Subject: Re: [ECOS] RE: ctrl-c in GDB
- References: <45A1F95BB9D7D84FAB0A1EB4D67EEF96B58E00@is01ex01.ittiam.com>
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