Method of Displaying a Source/listing View Based On A Given Offset/range In A Program
Original Publication Date: 2008-Mar-05
Included in the Prior Art Database: 2008-Mar-05
Providing a source/listing view based on a given offset/range in a program.
Method of Displaying a Source/listing View Based On A Given Offset /range In A Program
Modern operating systems typically have a way of disclosing the contents of an area in memory - which can often be categorized as "program area", "heap area" or "system area". For entries that are marked as "program area" the operating system typically provides a way to disclose the disassembled instructions at that location.
In the z/TPF operating system we utilize the "ZDPGM" program to disassemble the contents of a program in memory. To further facilitate a application developer or system administrator to diagnose problems we extended this capability to additionally disable the original source form of the related program. On the z/TPF operating system, we store the debugging information in the file system. This debugging information may contain the original source files or processed source files, in addition to mappings between the source files and the program resident locations of these source files.
When using the ZDPGM program we offer a new option that will read in the debugging information from the file system, parse the requested locations or range of locations, and retrieve the source files or processed source files from the debugging information, and use this to disclose the additional information as output from the command.
To facilitate this mapping, we preserve different levels of information for each program. Programs on T...