This repository was archived by the owner on Dec 3, 2021. It is now read-only.
This repository was archived by the owner on Dec 3, 2021. It is now read-only.
Handle bookkeeping of instrumentation extension packets #19
Open
Description
TracePacket::Extension
-logic is non-trivial. From the reference documentation one finds the port of the payload bytes via id = (page * 32) + port
where page
is from the extension packet and port
is from the instrumentation packet. However, the document (D4.2.8) also says
Whenever a debugger receives an Instrumentation packet, it uses the page number from the last Extension packet it received, or a page number of 0 if it has not received an Extension packet since it last received a Synchronization.
itm-decode
should handle this and yield complete messages to the end-user.