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: redboot problem


Kaustubh Purandare wrote:
> 
> Hi,
> 
> I am using redboot for iX86 PC. I have created a bootable floppy
> for booting the PC with eCos.
> 
> There is one problem I am facing whenever I load any thread for
> e.g. tcp_lo_test.exe, after executing correctly the redboot PC
> hangs. I always need to reboot the PC  with redboot to load any
> other thread.
> 
> Is this the correct procedure? Do we always need to reboot the PC
> each time with redboot for running different threads?

In general yes, as a new program can't start up when the hardware has been
left in an unknown state.

You could _try_ setting a breakpoint on cyg_test_exit, and then when it is
reached, just quitting GDB, and then run GDB again with a new program. But
it may not work at all, or may not work reliably. The only way to be sure
is to reboot each time.

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

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


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