aarch64: unify armv7-a and armv8 debug entry decoding
Make DSCR_RUN_MODE() usable for armv8 and arm7 debug Change-Id: Ib3ba3000d5b6aa03e590f3ca4969e677474eb12c Signed-off-by: Matthias Welwarsky <matthias.welwarsky@sysgo.com>
This commit is contained in:
@@ -879,12 +879,8 @@ static int cortex_a_poll(struct target *target)
|
||||
TARGET_EVENT_DEBUG_HALTED);
|
||||
}
|
||||
}
|
||||
} else if (DSCR_RUN_MODE(dscr) == DSCR_CORE_RESTARTED)
|
||||
} else
|
||||
target->state = TARGET_RUNNING;
|
||||
else {
|
||||
LOG_DEBUG("Unknown target state dscr = 0x%08" PRIx32, dscr);
|
||||
target->state = TARGET_UNKNOWN;
|
||||
}
|
||||
|
||||
return retval;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user