2.7.1. Deleting pointers to registered callbacks

A caller typically registers at least one callback object of type CADICallbackObj to a connected target. To avoid any access violations from the target after a caller has disconnected, the essential first step in disconnecting is to remove the pointers to all registered callback objects of the caller.

After removal of the callback object pointers, no additional action is required by the caller on the target because the cleanup of the CADI objects is managed by the underlying CADI simulation.

Copyright © 2008-2010 ARM Limited. All rights reserved.ARM DUI 0444F
Non-ConfidentialID110210