Browse Prior Art Database

Formatting DWARF debug information with DWARF format specifiers Disclosure Number: IPCOM000012871D
Original Publication Date: 2003-Jun-05
Included in the Prior Art Database: 2003-Jun-05

Publishing Venue



DWARF defines a format to hold information about symbolic and source level debugging. (The DWARF3 debugging information format specification can be found in Consumers of DWARF debug information (DWARF, from now on) often require a mechanism to format information within DWARF into a syntax that is similar to a programming language. For example, given a Debug Information Entry(DIE) for a integer variable 'a' defined within a C program, a debugger may choose to format it as "int a = 5;" or simply "int a;". Current debuggers solve this problem by implementing different logics to extract this information from different classes of DIE. All debuggers that need this functionality must create new code to handle the formatting of these language constructs. Furthermore, every debugger will need to implement these logics, and having so many different logics to handle the same task can be error prone. In order to unify the method in which the language constructs are formatted, it is necessary to design a common user interface to describe the DIEs.