Man Page dbxrc.4




NAME

     dbxrc, .dbxrc - commands to dbx


DESCRIPTION

     The .dbxrc file contains  dbx  commands  executed  when  you
     start dbx. It is used primarily for defining aliases and ksh
     functions, setting dbxenv variables, and defining  GUI  but-
     tons.

     dbx first searches for .dbxrc in the current working  direc-
     tory.   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.



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
          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).


NOTES

     Users of earlier releases of dbx may have used their  .dbxrc
     file  to  set breakpoints. The modules and Auto-Read facili-
     ties 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 .