This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: RedBoot: Restarting a program without reseting the target
- To: Fabrice Gautier <Fabrice_Gautier at sdesigns dot com>
- Subject: Re: [ECOS] RedBoot: Restarting a program without reseting the target
- From: Jonathan Larmour <jlarmour at cygnus dot co dot uk>
- Date: Tue, 07 Nov 2000 03:17:10 +0000
- CC: "Ecos-List (E-mail)" <ecos-discuss at sourceware dot cygnus dot com>
- Organization: Red Hat UK Ltd.
- References: <B1F6452C89AFD411AE0800A0CC734C23014FF4@EMAIL1>
Fabrice Gautier wrote:
>
> I was wondering if it is actually possible to stop a program and restart it
> without the need to reset the target and redboot.
> For now, when i want to restart the program I have to reset everything.
>
> Do you think there is some chance to implement this feature?
Use the "kill" command in gdb when the target is stopped (by ctrl-c). That
will reset it target for you. Of course the hardware may be in a funny
state, so no guarantees you get something sensible.
> And what is supposed to happen when using Redboot to run a program I hit a
> ctrl-C? For now with my i386 target, redboot sends a T packet as if there
> was a gdb listenning. I would like to have back the Redboot shell when I hit
> ctrl-C....
Over to Gary.
Jifl
--
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow." || These opinions are all my own fault