Closed ojayanth closed 2 years ago
This is not correct. FSI target is the parent of PIB target for both BMC kernel and sbefifo backends. The problem is with pdbg_target_require_parent()
function, which searches only the system tree.
I have pushed the correct fix upstream.
This commit is to fix below assert initiated by SBE state apis' ../git/libpdbg/libpdbg.c:265: require_target_parent: Assertion `parent' failed
SBE state api function input target is pib andin the api implementaion is trying to get fsi target using pdbg_target_require_parent(). This seems to be wrong because PIB and FSI got same hierarchy under processor pdbg target.
Proposed fix is get parent processor target from the PIB and then get associated fsi child target.