Method and apparatus for mapping debugging information when debugging integrated executables in a heterogeneous architecture
AssigneeInternational Business Machines Corporation
InventorsMichael Karl Gschwind, Kathryn M. O'Brien, John Kevin O'Brien, Valentina Salapura
Life of this patent
Estimating the term…
Abstract
The present invention provides for the employment of a dynamic debugger for a parallel processing environment. This is achieved by dynamically updating mapping information at run-time in a mapping table, wherein the mapping table is read by the dynamic debugger.
Claims23
A method for dynamically mapping from a mapping indicia to a memory address or other register address, the method comprising:
- determining if the mapping indicia is of the type associated with a selected separate execution environment;
- selecting at least one module in which the mapping indicia is located, wherein the module selected is also associated with the selected separate execution environment;
- determining if the at least one module selected is loaded into the memory of the selected separate execution environment;
- and
- providing at least one memory address of the mapping indicia if the at least one module selected is loaded into the memory of the selected separate execution environment.
A method for mapping from a memory address to mapping indicia, the method comprising:
- determining if the memory address is of the type associated with a selected separate execution environment;
- selecting at least one module to which the memory address is correlated, wherein the selected module is associated with the separate execution environment;
- determining if the at least one module, to which the memory address correlates, is loaded to the separate execution environment;
- and
- returning mapping indicia from the separate execution environment, wherein the mapping indicia corresponds to the memory address, if the at least one module is loaded to the separate execution environment.
A system data map for mapping between at least two separate execution environments, wherein the system map comprises:
- mapping indicia;
- at least one memory offset of the mapping indicia from a determined memory location;
- and
- indicia of the separate execution environment.
A method for mapping between mapping information and memory address, comprising:
- classifying information according to a targeted processor;
- associating software modules information with symbols;
- and
- tracking loading and unloading of the modules at runtime to provide accurate information about the state of the system.
A computer program product for dynamically mapping from a mapping indicia to a memory address or other register address, the computer program product having a medium with a computer program embodied thereon, the computer program comprising:
- computer code for determining if the mapping indicia is of the type associated with a selected separate execution environment;
- computer code for selecting at least one module in which the mapping indicia is located, wherein the module is also associated with the selected separate execution environment;
- computer code for determining if the at least one module associated with the mapping indicia is loaded into the memory of the selected separate execution environment;
- and
- computer code for providing at least one memory address of the desired mapping indicia if the at least one module is loaded into the memory of the selected separate execution environment.
A processor for dynamically mapping from a mapping indicia to a memory address or other register address, the processor including a computer program comprising:
- computer code for determining if the mapping indicia is of the type associated with a selected separate execution environment;
- computer code for selecting at least one module in which the mapping indicia is located, wherein the module is also associated with the selected separate execution environment;
- computer code for determining if the at least one module associated with the mapping indicia is loaded into the memory of the selected separate execution environment;
- and
- computer code for providing at least one memory address of the desired mapping indicia if the at least one module is loaded into the memory of the selected separate execution environment.
Dependencies are inferred from the claim text.