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


"Vikas K. Prasad" <vikas.prasad@ittiam.com> writes:

> Nick,
> 
> My program has a main, which turns on an LED on the board.
> After that there  is a while(1) loop.  Could  this  be the
> problem that  somehow GDB is not getting the control back?
> 
> NOTE: Putting a breakpoint  at main()  or cyg_user_start()
> did not help.

You may have to put the breakpoint earlier in the startup code, in
some of the HAL initialization routines. Ultimately, you may have to
plant a breakpoint at the start address and single step from there
until you find out where it goes wrong.

-- 
Nick Garnett                    eCos Kernel Architect
http://www.ecoscentric.com/     The eCos and RedBoot experts


-- 
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]