You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently have two fields in DebuggedThread object, namely Id and TargetId.
We store the global numeric ID assigned to the thread by GDB in Id.
However, we strip all the target-specific string information and only use the numeric value to store in the TargetId. This can lead to complications when we are debugging with multiple devices. The target ID may be no longer unique. The TargetId needs to be a string and we need to fetch it as is. We had to temporarily change the "target-id" field from ZE to Thread but this cannot be up-streamed to gdb.
Also in AD7Thread that implements IDebugThread2.GetThreadId, we use TargetId to get ThreadId.
Convert TargetId field to string and remove all parsing logic.
This way, the unique global ID is stored in Id and target specific
target-id is stored in its string format. Stopped events fetch global ID
for thread identification.
This fix should also address [issue 1448](microsoft#1448).
Signed-off-by: intel-rganesh rakesh.ganesh@intel.com
The thread ID is not correctly parsed.
Output from
-thread-info 1
:The text was updated successfully, but these errors were encountered: