From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Larmour To: Jesper Skov Cc: Fabrice Gautier , "Ecos-List (E-mail)" Subject: Re: [ECOS] Redboot and builtin functions Date: Thu, 19 Oct 2000 06:13:00 -0000 Message-id: <39EEF34F.537AABD0@redhat.com> References: <5AF611D83988D4118ACF00E0B10400540557D1@mr-intranet.sdesigns.net> X-SW-Source: 2000-10/msg00214.html Jesper Skov wrote: > > >>>>> "Fabrice" == Fabrice Gautier 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. That's fair enough for stubs inside the application. It doesn't apply to redboot though - the memcpy() etc. it links in will be a separate instance to the ones in the app. 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