Transparent debugging of programs in dynamic translation systems
AssigneeIntel Corporation
InventorsNaveen Kumar, Ramesh Peri
Life of this patent
Estimating the term…
Abstract
In one aspect, a communication may be received from a debugger. The communication may specify an argument that pertains to an un-translated code. Information may also be received from a dynamic translation system. The information received from the dynamic translation system may be used to relate the argument pertaining to the un-translated code to an argument pertaining to a translated code. Then a call corresponding to the received communication may be provided to an operating system. The call may specify the argument pertaining to the translated code.
Claims18
A method comprising:
- intercepting a communication from a debugger, the communication specifying an address of an un-translated code;
- receiving translation information from a dynamic translation system;
- mapping the address of the un-translated code to an address of a translated code by using the translation information received from the dynamic translation system;
- and
- issuing an operating system service call corresponding to the intercepted communication to an operating system module, the operating system service call specifying the address of the translated code.
An article of manufacture comprising:
- a machine-accessible medium that provides instructions that if executed result in a machine performing operations including,
- receiving a communication from a debugger, the communication specifying an argument pertaining to an un-translated code;
- receiving information from a dynamic translation system;
- relating the argument pertaining to the un-translated code to an argument pertaining to a translated code by using the information received from the dynamic translation system;
- providing a call corresponding to the received communication to an operating system, the call specifying the argument pertaining to the translated code.
An apparatus comprising:
- an interceptor module including at least one instruction stored on a machine-accessible medium, the interceptor module to intercept a communication from a debugger, the communication specifying an address of an un-translated code;
- a mapping module in communication with the interceptor module and capable of communicating with a dynamic translation system to receive translation information, the mapping module to map the address of the un-translated code to an address of a translated code by using the translation information, and provide the address of the translated code to the interceptor module,
- wherein the interceptor module is to issue an operating system service call corresponding to the intercepted communication, the operating system service call specifying the address of the translated code.
A system comprising:
- a bus;
- one or more processors coupled with the bus;
- a dynamic random access memory (DRAM) coupled with the bus;
- and
- instructions stored on the DRAM that if executed result in the one or more processors performing operations including,
- receiving a communication from a debugger, the communication specifying an argument pertaining to an un-translated code;
- receiving information from a dynamic translation system;
- relating the argument pertaining to the un-translated code to an argument pertaining to a translated code by using the information received from the dynamic translation system;
- providing a call corresponding to the received communication to an operating system, the call specifying the argument pertaining to the translated code.
Dependencies are inferred from the claim text.