10.07.2015 Views

PDF version - ARM Information Center

PDF version - ARM Information Center

PDF version - ARM Information Center

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

세미호스팅8.3.2 angel_SWIreason_ReportException (0x18)이 SVC는 응용 프로그램에서 호출되어 디버거에 예외를 직접 보고할 수 있습니다. 가장 일반적인 용도는 ADP_Stopped_ApplicationExit를 사용하여 실행이 완료되었음을 보고하는 것입니다.시작시작 시 R1은 표 8-1 및 표 8-2에 나열된 값 중 하나로 설정됩니다. 이러한 값은angel_reasons.h에 정의되어 있습니다.하드웨어 예외는 디버거 변수 vector_catch가 예외 유형을 캐치하도록 설정되고디버그 에이전트가 해당 예외 유형을 보고할 수 있을 경우에 생성됩니다.표 8-1 하드웨어 벡터 이유 코드이름ADP_Stopped_BranchThroughZeroADP_Stopped_UndefinedInstrADP_Stopped_SoftwareInterruptADP_Stopped_PrefetchAbortADP_Stopped_DataAbortADP_Stopped_AddressExceptionADP_Stopped_IRQADP_Stopped_FIQ16진수 값0x200000x200010x200020x200030x200040x200050x200060x20007예외 처리기는 기본 작업으로 처리기 체인 끝에서 이러한 SVC를 사용하여 예외가 처리되지 않았음을 나타낼 수 있습니다.표 8-2 소프트웨어 이유 코드이름ADP_Stopped_BreakPointADP_Stopped_WatchPointADP_Stopped_StepComplete16진수 값0x200200x200210x200228-10 Copyright © 2002-2008 <strong>ARM</strong> Limited. All rights reserved. <strong>ARM</strong> DUI 0203IKNon-ConfidentialUnrestricted Access

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!