A Tutorial Introduction to ADB

J. F. Maranzano

S. R. Bourne
UNIX Debugging C Programming

ABSTRACT

      Debugging tools generally provide a wealth of information about the inner workings of programs. These tools have been available on UNIXto allow users to examine ``core'' files that result from aborted programs. A new debugging program, ADB, provides enhanced capabilities to examine "core" and other program files in a variety of formats, run programs with embedded breakpoints and patch files.

      ADB is an indispensable but complex tool for debugging crashed systems and/or programs. This document provides an introduction to ADB with examples of its use. It explains the various formatting options, techniques for debugging C programs, examples of printing file system information and patching.


Table of Contents