This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RE: ctrl-c in GDB


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]