Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ dbxrc(4) — Sun WorkShop 3.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

dbx(1)

workshop(1)

DBXRC(4)

NAME

dbxrc, .dbxrc − commands to dbx

DESCRIPTION

The .dbxrc file contains dbx commands executed when you start dbx you might include the button command to define custom buttons. 

dbx first searches for .dbxrc in the current working directory.  If .dbxrc does not exist in the current directory, dbx looks in the user’s home directory. If no .dbxrc file is found, the same search is made for the file .dbxinit.

Use the .dbxrc file to configure dbx.  .dbxrc to run commands that depend on the program having started execution, such as call, run, and step. 

USAGE

See the dbx(1) man page for a description of dbx commands. 

EXAMPLES

Here is an example of a .dbxrc file that a FORTRAN user of dbx might use:

dbxenv stack_max_size 10
dbxenv output_base 16
toolenv srclines 35
catch FPE

The output of the dbx command help dbxrc can be used as an initial .dbxrc file. For example:

help dbxrc > .dbxrc

Many helpful ksh functions are documented in this help dbxrc output. 

SEE ALSO

dbx(1), workshop(1), and Command-Line Utilities . 

NOTES

Users of earlier releases of dbx may have used their .dbxrc file to set breakpoints. The modules and Auto-Read facilities now cause dbx to read .dbxrc before the symbol table information rather than after.

As a workaround, you can define an alias in your .dbxrc file which sources another file of dbx commands; you can then set up this additional file to contain the breakpoint-setting commands.  Once you have set up this second file with the breakpoint commands, just call the alias immediately after you call dbx . 

SunOS 3.0.1  —  Last change: 04 Sep 1996

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026