A machine-independent debugger — revisited
✍ Scribed by David R. Hanson
- Publisher
- John Wiley and Sons
- Year
- 1999
- Tongue
- English
- Weight
- 123 KB
- Volume
- 29
- Category
- Article
- ISSN
- 0038-0644
No coin nor oath required. For personal study only.
✦ Synopsis
Most debuggers are notoriously machine-dependent, but some recent research prototypes achieve varying degrees of machine-independence with novel designs. Cdb, a simple source-level debugger for C, is completely independent of its target architecture. This independence is achieved by embedding symbol tables and debugging code in the target program, which costs both time and space. This paper describes a revised design and implementation of cdb that reduces the space cost by nearly one-half and the time cost by 13 per cent by storing symbol tables in external files. A symbol table is defined by a 31-line grammar in the Abstract Syntax Description Language (ASDL). ASDL is a domain-specific language for specifying tree data structures. The ASDL tools accept an ASDL grammar and generate code to construct, read, and write these data structures. Using ASDL automates implementing parts of the debugger, and the grammar documents the symbol table concisely. Using ASDL also suggested simplifications to the interface between the debugger and the target program. Perhaps most important, ASDL emphasizes that symbol tables are data structures, not file formats. Many of the pitfalls of working with low-level file formats can be avoided by focusing instead on high-level data structures and automating the implementation details.
📜 SIMILAR VOLUMES
BIOSSIM is a revised and extended biochemical simulation language which has been rewritten in structured (machine-independent) FORTRAN to facilitate maintenance and modification. Its original capability to translate chemical reactions into differential equations and solve them has been greatly enhan
A language for the simulation of the kinetic behavior of complex chemical or biochemical systems is described and defined. It is written in FORTRAN IV and should run on any medium or large size batch-processing computer (except that machines of short word-length will require double-precision arithme
Molecular dynamics simulations investigate local and global motion in molecules. Several parallel computing approaches have been taken to attack the most computationally expensive phase of molecular simulations, the evaluation of long range interactions. This paper reviews these approaches and devel
## Abstract This paper analyses the operation of a power unit with a doubly fed machine. A novel vector control method is presented which enables independent control of both positive‐ and negative‐sequence components of stator currents. Also, operation of the system under the condition of unbalance