DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Using the UDK

Configuration example

Here is a useful set of entries to put in $HOME/.debugrc to tailor debug commands and initial behaviour to be similar to dbx.

   #---- UW7 debug ~/.debugrc file for migrating from dbx style usage ----------
   #
   # default cmdline editing
   set %mode "emacs"
   # where/stack trace
   alias w stack
   # Continue
   alias c run -f
   # swap +/- up/down for gdebug - depends on %frame_numbers
   alias up set %frame %frame +1; list -c 1
   alias down set %frame %frame -1 ; list -c 1
   # status
   alias st events
   #remove existing alias
   alias unalias alias -r
   # breakpoints
   #alias b stop
   alias d delete
   alias dis disable
   alias di disable
   alias en enable
   # rerun - load and run
   alias load create
   unalias rr
   alias rr create -f none $* ; run -u main
   # general useful
   alias a alias
   unalias h; alias h history
   alias H help $* |$PAGER
   alias P $* |$PAGER
   alias mem dump -b
   alias echo {print -f "%s\n" $*; }
   #disassemble with as much info as poss
   set %dis_mode="source"
   alias dasm dis
   # don't follow any forked processes - does this actually work ??
   set %follow "none"
   set %thread_change="ignore"
   #set %thread_change="announce"
   # shutup signals we don't normally care about
   signal -d -i sigcld sigalrm
   # Where to look for src
   set %global_path="/tmp/vtcl"
   alias path {if ($# > 0) set  %global_path $* ""; print %global_path; }
   #
   # User variables
   set $MALLOC_CHECKS=6
   set $MALLOC_STATS=6
   # into env
   alias EMC export $MALLOC_CHECKS ; stop malloc.c@checkmsg
   alias EMS export $MALLOC_STATS

Next topic: General Tips
Previous topic: Setup

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004