target-arm: Improve semihosting debug prints
commit205ace55ffff77964e50af08c99639ec47db53f6
authorChristopher Covington <christopher.covington@linaro.org>
Mon, 7 Sep 2015 09:39:27 +0000 (7 10:39 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 7 Sep 2015 09:39:27 +0000 (7 10:39 +0100)
tree97890823cd32a74a290804663cbe0d76ed8b557e
parent857b55adb77004d9ec9202078b7f1f3a1a076112
target-arm: Improve semihosting debug prints

Print semihosting debugging information before the
do_arm_semihosting() call so that angel_SWIreason_ReportException,
which causes the function to not return, gets the same debug prints as
other semihosting calls. Also print out the semihosting call number.

Signed-off-by: Christopher Covington <christopher.covington@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Tested-by: Christopher Covington <cov@codeaurora.org>
Message-id: 1439483745-28752-3-git-send-email-peter.maydell@linaro.org
target-arm/helper.c