发明名称 DEBUGING METHOD FOR OUTPUT CALL STACK INFORMATION IN RUNTIME
摘要 A debugging method for checking function call stack information in runtime is provided to check a superordinate function with a function name by inserting a debug message into a required position. A debugging method for checking a function call stack information in runtime includes the steps of: finding an address of a superordinate function with respect to a position where a debug message is inserted; detecting a function name which corresponds to the address of the found superordinate function; and displaying the detected function name(S180). The step of finding the address of the superordinate function includes the steps of: finding a program counter and a stack pointer of the position where the debug message is inserted(S110); finding a push command by interpreting the value stored in a memory based on a memory address indicated by the program counter(S120); and obtaining a link register value by finding the number of registers inserted by the push command and the absolute address of a stack into which the link register is pushed(S140,S150).
申请公布号 KR20070109539(A) 申请公布日期 2007.11.15
申请号 KR20060042630 申请日期 2006.05.11
申请人 PANTECH & CURITEL COMMUNICATIONS, INC. 发明人 YANG, JIN WOO;BANG, CHANG BAE
分类号 G06F11/36;G06F11/00 主分类号 G06F11/36
代理机构 代理人
主权项
地址