DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
sdb: symbolic debugger

sdb: symbolic debugger

The sdb(CP) program is useful both for examining core images of aborted programs and for providing an environment in which execution of a program can be monitored and controlled.

The sdb program allows interaction with a debugged program at the source-language level. When debugging a core image from an aborted program, sdb reports which line in the source program caused the error and allows all variables to be accessed symbolically and displayed in the correct format.

When executing, breakpoints may be placed at selected statements, or the program may be single-stepped on a line-by-line basis. To facilitate specification of lines in the program without a source listing, sdb provides a mechanism for examining the source text. Procedures may be called directly from the debugger. This feature is useful both for testing individual procedures and for calling user-provided routines, which give formatted printouts of structured data.

The sdb program only supports COFF files. To debug programs which use the ELF format, use dbXtra, dbxtra, or adb.

This chapter is organized as follows:


Next topic: Using sdb

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003