:TRICK-MAN:™ FOREVER, Since 2007  
Front Page
Tag | Location | Media | Guestbook | Admin   
 
디버깅 : lkAddr on vxWorks
VxWorks에서 프로그램이 돌다가 갑자기 Exception 어쩌고 하면서 task가 suspend되는
경우가 있다. 여러개의 task가 동시에 돌아가다 보니 어떤 task가 에러를 유발했는지
판단하기 어려울 때가 많았다. 이 때 lkAddr이라는 함수는 중요한 정보를 주었다.
아래는 원문 그대로 넣었다. 한마디로 말하면 Exception을 일으키는 함수를 찾아주거나
그 주변 함수를 찾아준다.

lkAddr will give you the symbol near the address.
Do lkAddr on the target shell after the exception.

Or you can do:
% cd <your BSP/project>
% nmppc --numeric-sort vxWorks > tmpfile
Open the tmpfile and find the symbol nearest
to 0x00133exx.

then set a break point at the beginning of the function you got from lkAddr or nmppc,
step into the code till an exception occur.


BLOG main image
jskwak[@]gmail.com 또는 ♬♬♬ jskwak[@]trickman.net, ▷◁▷◁ http://about.me/jskwak
 Notice
반/갑/습/니/다
곽/자/섭 입니다...
 Category
분류 전체보기 (151)
전송기술 (53)
이더넷 (3)
시스코자격증 (7)
임베디드 (4)
책읽기 (8)
주절주절 (70)
MAC OS X Life (1)
 TAGS
CCNP 절체 OTN ITU-T SDH 1588 Telecom Profile CISCO SONET 구름 대립해소도 아이팟 CCNA Linux 코드검색 CRT 메모 ip T-SDN BLSR toc UPSR CDP 구글 모공 FRT OSX
 Calendar
«   2025/06   »
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30
 Recent Entries
 Recent Comments
 Archive
 Link Site
[01] 지원,지민 놀이터
 Visitor Statistics
Total :
Today :
Yesterday :
rss