发明名称 |
STEPPING CONTROL METHOD FOR DEBUGGING CONCURRENT PROGRAM EXECUTED IN POWER PC MICROPROCESSOR |
摘要 |
PURPOSE: A stepping control method for debugging a concurrent program executed in a power PC microprocessor is provided to increase the productivity of software by performing a unit source code line stepping in case that a concurrent program is executed in a power PC microprocessor, and by effectively debugging the concurrent program. CONSTITUTION: In case that a process is generated, a check point address to be used in executing a step over function is prepared(400). In case that a stepping request is received from a user or a debugger, it is checked whether a process to be stepped is stopped(401). A command stored in an address to be stepped is read(402). It is judged whether a function call command or not(403). It is judged whether a step over request or not(404). An address of a command after the function call command is recorded in a check pointer address storage area of a process control block(405). A single step trace of an MSR(Machine State Register) is set as '1' and activated(406). The process stopped is executed(407). In case that a step trap is generated, next address to be stepped is changed into a present program counter(408). It is judged whether the program counter is corresponded to the address stored in the area(409). A value of the storage area is initialized into '0'(410). It is checked whether the program counter comes to a stepping termination address(411). The single step trace bit of the MSR is set as '0' and inactivated(412).
|
申请公布号 |
KR20020049789(A) |
申请公布日期 |
2002.06.26 |
申请号 |
KR20000079077 |
申请日期 |
2000.12.20 |
申请人 |
ELECTRONICS AND TELECOMMUNICATIONS RESEARCH INSTITUTE;KT CORPORATION |
发明人 |
LEE, EUN HYANG;LIM, DONG SEON |
分类号 |
G06F9/06;(IPC1-7):G06F9/06 |
主分类号 |
G06F9/06 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|