This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Redboot and builtin functions
- To: Fabrice Gautier <Fabrice_Gautier at sdesigns dot com>
- Subject: Re: [ECOS] Redboot and builtin functions
- From: Jesper Skov <jskov at redhat dot com>
- Date: 19 Oct 2000 13:02:33 +0200
- Cc: "Ecos-List (E-mail)" <ecos-discuss at sourceware dot cygnus dot com>
- References: <5AF611D83988D4118ACF00E0B10400540557D1@mr-intranet.sdesigns.net>
>>>>> "Fabrice" == Fabrice Gautier <Fabrice_Gautier@sdesigns.com> writes:
Fabrice> One of this place is generic-stub.c where a comment says that
Fabrice> the stub can't use the same memcpy and memset than the rest
Fabrice> (I can't see really why but why not..)
Because while you are debugging the application, you may be setting
breakpoints at various places and single-stepping your way through
memcpy and memset. If the stub used the same functions as the
application it would crash, hang, or format the disks on your
neighbor's WinDOS machine.
Basically, the stub needs to be fully detached from the
application/eCos to function properly.
Jesper