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]

Re: RedBoot


Anthony Massa wrote:
> 
> > >
> > > I initially single-stepped through the first for loop and the board
> >hung.
> > > Then I read the very detailed comment before which explicitly says not
> >to do
> > > this.  So I re-ran the application and stepped over it and it still hung
> >the
> > > board.  I tried to set a breakpoint at the next function call after
> > > hal_if_init(), and the board still hangs before hitting the breakpoint.
> > >
> > > Is there something I should look at or try?
> >
> >Setting a breakpoint much further in the initialization, like cyg_start.
> 
> Are you talking about setting it in stubrom.c or in vectors.S?

Hold on, stubrom.c? It sounds like you're trying to run a GDB stub rom
image under RedBoot? All I was talking about was setting a breakpoint at
some point _after_ system initialization time.

You should have just got a clean build tree and rebuilt from scratch in the
default configuration. Just try that in the first instance and make sure
that works. Unless you know that does already work, in which case we'd want
to know what you've changed!

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine


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