This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: redboot problem
- From: Jonathan Larmour <jlarmour at redhat dot com>
- To: Kaustubh Purandare <kaustubh_purandare at rediffmail dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Thu, 04 Apr 2002 06:57:00 +0100
- Subject: Re: [ECOS] redboot problem
- References: <20020401102031.4547.qmail@mailweb12.rediffmail.com>
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