[ECOS] Redboot and builtin functions

Jesper Skov jskov@redhat.com
Thu Oct 19 04:02:00 GMT 2000


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


More information about the Ecos-discuss mailing list