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]

Re: Redboot and builtin functions


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

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