[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ddd/dbx wrongly add command line arguments
From: |
Tuomo Takkula |
Subject: |
ddd/dbx wrongly add command line arguments |
Date: |
Wed, 20 Dec 2000 15:15:23 +0100 (MET) |
Hi,
If invoked with dbx as minor debugger ddd changes the command
line arguments by adding things like like ">2 tty" to it. I think this is
a bug. argv[argc+1] is supposed to be '\0' according to the C standard and
some (my) programs expect that this remains so.
Sample program output:
-----------
process 0 started at moment 0.018383
OPT_BEGIN
START 0.018383
NPROC 1
/users/cs/tuomo/src/paqs.v4.4/paract/paqs 2> /dev/pts/17
bf0432-007-unsat.gff
10000 5 0.001 1000 0.000555556
using load balancing by randomization of variables. Good for ab
constraints.
LOADBALHACK 2
OPTio : nextline : error: unable to read file '2>'
------------
The program takes filenames as command line arguments. It was called by
paqs bf0432-007-unsat.gff
which then was changed by ddd/dbx to
paqs 2> /dev/pts/17 bf0432-007-unsat.gff
whichs is wrong.
Settings:
GNU DDD 3.2.1 (sparc-sun-solaris2.6)
Copyright (C) 1995-1999 Technische Universitaet Braunschweig, Germany.
Copyright (C) 1999-2000 Universitaet Passau, Germany.
Compiled with SunPRO CC 0x420
Requires X11R6, Xt11R6, Motif 1.2.6 (OSF/Motif Version 1.2.6)
Includes DDD core, Manual, App defaults, XPM 3.4.10, Athena Panner
Built 2000-07-05 by Andreas Jonasson <andreas@cs.chalmers.se>.
dbx: Workshop 5.0 12/15/98 [dbx 5.0]
~/.ddd/log:
GNU DDD 3.2.1 (sparc-sun-solaris2.6)
Copyright (C) 1995-1999 Technische Universitaet Braunschweig, Germany.
Copyright (C) 1999-2000 Universitaet Passau, Germany.
Compiled with SunPRO CC 0x420
Requires X11R6, Xt11R6, Motif 1.2.6 (OSF/Motif Version 1.2.6)
Includes DDD core, Manual, App defaults, XPM 3.4.10, Athena Panner
Built 2000-07-05 by Andreas Jonasson <andreas@cs.chalmers.se>.
$ ddd paqs
+ /bin/sh -c 'exec dbx '\''paqs'\'''
# Hello, world!
# Opening session ".ddd"...
# Running DBX (pid 4084, tty /dev/pts/15)...
# Current language: c/c++
<- "The major new features of this release relative to 4.0 are:\n"
"\n"
"o Even faster and more functional data watchpoints (see `help event
watchpoint\')\n"
" (Solaris 2.6,2.7).\n"
"o New shell variables $machtype & $datamodel (see `help event
variables\').\n"
"o `pop -c\' can be used to clean up after a `call\' that failed (see \n"
" `help pop\' and `help call\').\n"
"o More functional, \"extended\", button command (see `help buttonx\').\n"
"o Symbolic information of loadobjects can be skipped during startup (see\n"
" `help loadobjects\' and `help loadobject management\').\n"
"o Symbolic information of loadobjects can be preloaded so that
breakpoints\n"
" may be placed in shared objects that will be dlopen()\'ed in the future\n"
" (see `help loadobjects\' and `help loadobject management\').\n"
"o New commands dealing with thread-level synchronization (locks) (see
`help\n"
" sync\' and `help thread\').\n"
"o The debugging information of modules compiled with -xs option is not \n"
" loaded during dbx start up anymore. Instead it is loaded on demand.\n"
" This results in substantial startup speed improvements making the use\n"
" of -xs less prohibitive. (see `delay_xs\' in `help dbxenv\').\n"
"o Dbx provides explicit control over wether unhandled and unexpexted C++\n"
" exception are intercepted. Previously they were always intercepted.\n"
" (see `help intercept\').\n"
"o Support for debugging of corefiles from remote hosts. (see\n"
" `help loadobject exclusion\').\n"
"\n"
"The following incompatibilities exist between this version and release
4.0:\n"
"\n"
"o Event specification modifiers without `-\' are no longer accepted. See\n"
" `help anachronisms\'.\n"
"\n"
"The major new features of 3.2 (SPARCWorks 3.1) relative to 3.1 are:\n"
"\n"
"o Objective C support (see `help ObjC\')\n"
"o Fortran 90 support (see `help fortran\')\n"
"o Runtime checking (RTC) gives information about memory usage\n"
" (see `help check\' and `help showmemuse\')\n"
"o `whereis -a\' shows symbolic name of address (see `help whereis\')\n"
"o Support for Pascal\'s `with\' statement\n"
"o SPARC V8+ support (see `help dbxenv\' and `help registers\')\n"
"o Better support for stripped binaries\n"
"o One-line descriptions of all commands (see `help commands\')\n"
"o dbx outputs and accepts the suffixes `U\', `L\', and `LL\' to denote\n"
" unsigned, long, and long long quantities.\n"
"\n"
"See also `help changes31\'.\n"
"The major new features of 3.1 (SparcWorks 3.0.2) relative to 3.0.1 are:\n"
"\n"
"o Runtime Checking (RTC) now supports multi-threaded applications.\n"
" See `help rtc mt\'.\n"
"o `adb\' mode (see `help adb\' for details)\n"
"o Output format control (see `help dbxenv\' under `output_base\')\n"
"o Array-slicing for C and C++ (see `help array-slicing\')\n"
"o Support for Fortran intrinsic functions.\n"
"o `print\' flags for $[] (see `help ksh expressions\')\n"
"o Printf-like output format control (see `help format\')\n"
"o Support for user-supplied pretty printing functions (see \n"
" `help prettyprint\')\n"
"o The `runargs\' command (see `help runargs\')\n"
"\n"
"See also `help changes301\'.\n"
"\n"
"To suppress this message, add the following line to your .dbxrc file:\n"
"\n"
" dbxenv suppress_startup_message 5.0"
<- "Reading paqs"
<- "Reading ld.so.1\n"
"Reading libsocket.so.1\n"
"Reading libnsl.so.1"
<- "Reading libm.so.1\n"
"Reading libC.so.5\n"
"Reading libw.so.1\n"
"Reading libc.so.1"
<- "Reading libdl.so.1\n"
"Reading libmp.so.2\n"
"Reading libc_psr.so.1"
<- "(dbx) "
-> "sh stty -echo -onlcr"
<- "(dbx) "
-> "set $page = 1"
<- "warning: setting positional parameters; use `assign\' to set target process
variable\n"
"(dbx) "
-> "frame"
<- "dbx: program is not active\n"
"(dbx) "
-> "func"
<- "main\n"
"(dbx) "
-> "dbxenv run_io"
<- "stdio\n"
"(dbx) "
-> "print -r 4711"
<- "4711\n"
"(dbx) "
-> "where -h"
<- "dbx: program is not active\n"
"(dbx) "
-> "display"
<- "(dbx) "
-> "clear"
<- "dbx: warning: No executable here to clear events from\n"
"(dbx) "
-> "help handler"
<- "A handler is created for each event that needs to be managed in a
debugging\n"
"session. The commands `trace\', `stop\', and `when\' create handlers.
Each\n"
"of these commands returns a number known as the `handler ID\' (<hid>). The
\n"
"`handler\', `status\', and `delete\' commands manipulate or\n"
"provide information about handlers in a generic fashion:\n"
"\n"
"handler -enable <hid> ... # enable given handlers, `all\' for all\n"
"handler -disable <hid> ... # disable given handlers, `all\' for all\n"
"handler -count <hid> # print value of trip counter for given
handler\n"
"handler -count <hid> <newlimit> # set new count limit for given event\n"
"handler -reset <hid> # reset trip counter counter for given
handler\n"
"\n"
"See also `help event\'.\n"
"(dbx) "
-> "pwd"
<- "/users/cs/tuomo/src/paqs.v4.4/paract\n"
"(dbx) "
-> "help setenv"
<- "setenv <name> <string> # Set environment variable <name> to <string>\n"
"(dbx) "
-> "help edit"
<- "edit # Edit the current file\n"
"edit <filename> # Edit the specified file <filename>\n"
"edit <proc> # Edit the file containing function or procedure
<proc>\n"
"\n"
"`edit\' uses $EDITOR if dbx is not running under the GUI. Otherwise,\n"
"it sends a message to the GUI to display the appropriate file. "
<- "(dbx) "
-> "help make"
<- "make is /usr/ccs/bin/make\n"
"(dbx) "
-> "help regs"
<- "regs [-f] [-F] # Print value of registers\n"
" # -f: include floating-point registers (single
precision).\n"
" # -F: Include floating-point registers (double
precision)\n"
" # SPARC only.\n"
"\n"
"Example (SPARC):\n"
"dbx[13] regs -F\n"
"current thread: t@1\n"
"current frame: [1]\n"
"g0-g3 0x00000000 0x0011d000 0x00000000 0x00000000\n"
"g4-g7 0x00000000 0x00000000 0x00000000 0x00020c38\n"
"o0-o3 0x00000003 0x00000014 0xef7562b4 0xeffff420\n"
"o4-o7 0xef752f80 0x00000003 0xeffff3d8 0x000109b8\n"
"l0-l3 0x00000014 0x0000000a 0x0000000a 0x00010a88\n"
"l4-l7 0xeffff438 0x00000001 0x00000007 0xef74df54\n"
"i0-i3 0x00000001 0xeffff4a4 0xeffff4ac 0x00020c00\n"
"i4-i7 0x00000001 0x00000000 0xeffff440 0x000108c4\n"
"y 0x00000000\n"
"psr 0x40400086\n"
"pc 0x000109c0:main+0x4 mov 0x5, %l0\n"
"npc 0x000109c4:main+0x8 st %l0, [%fp - 0x8]\n"
"f0f1 +0.00000000000000e+00\n"
"f2f3 +0.00000000000000e+00\n"
"f4f5 +0.00000000000000e+00\n"
"f6f7 +0.00000000000000e+00\n"
"...\n"
"\n"
"See also `help registers\'."
<- "(dbx) "
-> "print \"DDD\""
<- "\"DDD\"\n"
"(dbx) "
-> "help when"
<- "when at <line> { cmd; } # Execute command(s) when <line> reached\n"
"when in <proc> { cmd; } # Execute command(s) when <proc> called\n"
"\n"
"`when\' has a general syntax as follows:\n"
"\n"
" when <event-specification> [ <modifier> ] { <cmd> ... ; }\n"
"\n"
"When the specified event occurs, the <cmd>s are executed.\n"
"For a list and the syntax of all events see `help event specification\'.\n"
"For a general discussion of event management commands see `help events\'.\n"
"See also `wheni\' for executing commands on given low-level event.\n"
"(dbx) "
-> "delete 4711 4711"
<- "dbx: warning: no such handler id 4711\n"
"dbx: warning: no such handler id 4711\n"
"(dbx) "
-> "help run"
<- "run # Begin executing the program with the current
arguments\n"
"run <args> # Begin executing the program with new arguments\n"
" Use ^C to stop executing the program.\n"
"\n"
"See also `help rerun\', `help runargs\' and `help prog\'."
<- "(dbx) "
-> "help givenfile"
<- "givenfile is unknown"
<- "(dbx) "
-> "help cont"
<- "cont # Continue execution. In an MT process all threads
are\n"
" # resumed. Use ^C to stop executing the program.\n"
"cont ... -sig <signo> # Continue execution with signal <signo>\n"
"cont ... <id> # The <id> specifies which thread or LWP to
continue.\n"
"cont at <line> [ <id> ] # Continue execution at line <line>. <id> is
required\n"
" # if the application is multi-threaded.\n"
"cont ... -follow parent|child|both\n"
" # If $DBX_follow_fork_mode is set to `ask\', and\n"
" # you\'ve chosen `stop\', use this option to choose
\n"
" # which process to follow. `both\' is only
applicable\n"
" # under WorkShop.\n"
"\n"
"See also `help dbxenv\'.\n"
" \n"
"See `help continue\' for dbx command language loop control."
<- "(dbx) "
-> "help examine"
<- "examine [ <addr> ] [ / [ <count> ] [ <fmt> ] ]\n"
"\n"
" Display the contents of memory starting at <addr> for <count>
items\n"
" in format <fmt>. The default <addr> is the next one after the
last\n"
" address previously displayed. The default <count> is 1. The
default\n"
" <fmt> is the same as was used in the previous `examine\' command,
or\n"
" `X\' if this is the first one.\n"
"\n"
"examine <addr1> , <addr2> [ / [ <fmt> ] ]\n"
"\n"
" Display the contents of memory from <addr1> through <addr2>\n"
" inclusive, in format <fmt>.\n"
"\n"
"examine <addr> = [ <fmt> ]\n"
"\n"
" Display the address (instead of the contents of the address) in
the\n"
" given format.\n"
" \n"
" The <addr> may be `+\' which indicates the address just after the
last\n"
" one previously displayed (the same as omitting it).\n"
"\n"
" `x\' is a predefined alias for `examine\'.\n"
"\n"
" Legal values for <fmt> are:\n"
"\n"
" i instruction (disassembly)\n"
" d,D decimal (2 or 4 bytes)\n"
" o,O octal (2 or 4 bytes)\n"
" x,X hexadecimal (2 or 4 bytes)\n"
" b octal (1 byte)\n"
" c character\n"
" w wide character\n"
" s string\n"
" W wide character string\n"
" f hex and float (4 bytes, 6 digit prec.)\n"
" F hex and float (8 bytes, 14 digit prec.)\n"
" g same as `F\'\n"
" E hex and float (16 bytes, 14 digit prec.)\n"
" ld,lD decimal (4 bytes, same as D)\n"
" lo,lO octal (4 bytes, same as O)\n"
" lx,lX hexadecimal (4 bytes, same as X)\n"
" Ld,LD decimal (8 bytes)\n"
" Lo,LO octal (8 bytes)\n"
" Lx,LX hexadecimal (8 bytes)"
<- "(dbx) "
-> "help rerun"
<- "rerun # Begin executing the program with no arguments\n"
"rerun <args> # Begin executing the program with new arguments\n"
" by the save command.\n"
"\n"
"See also `help run\'.\n"
"(dbx) "
-> "language"
<- "c++\n"
"(dbx) "
-> "sh pwd"
<- "/users/cs/tuomo/src/paqs.v4.4/paract\n"
"(dbx) "
-> "file"
<- "main.cc\n"
"(dbx) "
-> "list"
<- " 27 initParallel(&argc,&argv); // arguments needed for MPI_init\n"
" 28 \n"
" 29 double startmoment=0.0, startSetUpmoment=0.0,
terminationmoment=0.0;\n"
" 30 startmoment = wallClockTime();\n"
" 31 cout << \"process \" << rankOfProcess() << \" started at moment
\" << startmoment << endl;\n"
" 32 clock_t start_time=clock();\n"
" 33 \n"
" 34 // now different parts for master and workers\n"
" 35 \n"
" 36 if (rankOfProcess() == 0) { // Main process\n"
"(dbx) "
-> "status"
<- "(dbx) "
# Reading file "/users/cs/tuomo/src/paqs.v4.4/paract/main.cc"...
# Reading file "/users/cs/tuomo/src/paqs.v4.4/paract/main.cc"...done.
# File "/users/cs/tuomo/src/paqs.v4.4/paract/main.cc" 83 lines, 2470 characters
# Setting buttons...
# Setting buttons...done.
-> "debug "
<- "Debugging: paqs \n"
"(dbx) "
-> "list main"
<- " 22 int main(int argc, char **argv)\n"
" 23 // runs on all PEs\n"
" 24 { \n"
" 25 // intialization of parallel communication for all PEs\n"
" 26 \n"
" 27 initParallel(&argc,&argv); // arguments needed for MPI_init\n"
" 28 \n"
" 29 double startmoment=0.0, startSetUpmoment=0.0,
terminationmoment=0.0;\n"
" 30 startmoment = wallClockTime();\n"
" 31 cout << \"process \" << rankOfProcess() << \" started at moment
\" << startmoment << endl;\n"
" 32 clock_t start_time=clock();\n"
"(dbx) "
-> "list main"
<- " 22 int main(int argc, char **argv)\n"
" 23 // runs on all PEs\n"
" 24 { \n"
" 25 // intialization of parallel communication for all PEs\n"
" 26 \n"
" 27 initParallel(&argc,&argv); // arguments needed for MPI_init\n"
" 28 \n"
" 29 double startmoment=0.0, startSetUpmoment=0.0,
terminationmoment=0.0;\n"
" 30 startmoment = wallClockTime();\n"
" 31 cout << \"process \" << rankOfProcess() << \" started at moment
\" << startmoment << endl;\n"
" 32 clock_t start_time=clock();\n"
"(dbx) "
-> "file"
<- "main.cc\n"
"(dbx) "
-> "set confirm off"
<- "(dbx) "
-> "file /users/cs/tuomo/src/paqs.v4.4/paract/paqs"
<- "dbx: no such source file: \"/users/cs/tuomo/src/paqs.v4.4/paract/paqs\"\n"
"(dbx) "
-> "info line "
<- "info: Terminal type \"dumb\" is not smart enough to run Info.\n"
"(dbx) "
-> "handle SIGHUP stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGHUP print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGHUP pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGINT stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGINT print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGINT ignore"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGQUIT stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGQUIT print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGQUIT pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGILL stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGILL print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGILL pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGTRAP stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGTRAP print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGTRAP ignore"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGABRT stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGABRT print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGABRT pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGEMT stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGEMT print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGEMT pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGFPE stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGFPE print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGFPE pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGKILL stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGKILL print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGKILL pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGBUS stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGBUS print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGBUS pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGSEGV stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGSEGV print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGSEGV pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGSYS stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGSYS print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGSYS pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGPIPE stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGPIPE print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGPIPE pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGALRM nostop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGALRM noprint"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGALRM pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGTERM stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGTERM print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGTERM pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGURG nostop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGURG noprint"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGURG pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGSTOP stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGSTOP print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGSTOP pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGTSTP stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGTSTP print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGTSTP pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGCONT stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGCONT print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGCONT pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGCHLD nostop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGCHLD noprint"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGCHLD pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGTTIN stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGTTIN print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGTTIN pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGTTOU stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGTTOU print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGTTOU pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGIO nostop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGIO noprint"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGIO pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGXCPU stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGXCPU print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGXCPU pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGXFSZ stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGXFSZ print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGXFSZ pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGVTALRM nostop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGVTALRM noprint"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGVTALRM pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGPROF nostop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGPROF noprint"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGPROF pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGWINCH nostop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGWINCH noprint"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGWINCH pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGLOST stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGLOST print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGLOST pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGUSR1 stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGUSR1 print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGUSR1 pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGUSR2 stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGUSR2 print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGUSR2 pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGPWR stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGPWR print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGPWR pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGPOLL nostop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGPOLL noprint"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGPOLL pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGWIND stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGWIND print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGWIND pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGPHONE stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGPHONE print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGPHONE pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGWAITING nostop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGWAITING noprint"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGWAITING pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGLWP nostop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGLWP noprint"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGLWP pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGDANGER stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGDANGER print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGDANGER pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGGRANT stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGGRANT print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGGRANT pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGRETRACT stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGRETRACT print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGRETRACT pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGMSG stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGMSG print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGMSG pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGSOUND stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGSOUND print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGSOUND pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGSAK stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGSAK print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGSAK pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGPRIO stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGPRIO print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGPRIO pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG33 stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG33 print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG33 pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG34 stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG34 print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG34 pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG35 stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG35 print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG35 pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG36 stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG36 print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG36 pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG37 stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG37 print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG37 pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG38 stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG38 print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG38 pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG39 stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG39 print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG39 pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG40 stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG40 print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG40 pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG41 stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG41 print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG41 pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG42 stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG42 print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG42 pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG43 stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG43 print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG43 pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG44 stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG44 print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG44 pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG45 stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG45 print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG45 pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG46 stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG46 print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG46 pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG47 stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG47 print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG47 pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG48 stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG48 print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG48 pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG49 stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG49 print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG49 pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG50 stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG50 print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG50 pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG51 stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG51 print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG51 pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG52 stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG52 print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG52 pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG53 stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG53 print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG53 pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG54 stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG54 print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG54 pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG55 stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG55 print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG55 pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG56 stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG56 print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG56 pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG57 stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG57 print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG57 pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG58 stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG58 print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG58 pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG59 stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG59 print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG59 pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG60 stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG60 print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG60 pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG61 stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG61 print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG61 pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG62 stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG62 print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG62 pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG63 stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG63 print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG63 pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGCANCEL nostop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGCANCEL noprint"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGCANCEL pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG32 stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG32 print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIG32 pass"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGINFO stop"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGINFO print"
<- "handle: not found\n"
"(dbx) "
-> "handle SIGINFO pass"
<- "handle: not found\n"
"(dbx) "
-> "# reset"
<- "(dbx) "
-> "file"
<- "main.cc\n"
"(dbx) "
-> "list"
<- " 33 \n"
" 34 // now different parts for master and workers\n"
" 35 \n"
" 36 if (rankOfProcess() == 0) { // Main process\n"
" 37 \n"
" 38 // startup PE 0\n"
" 39 \n"
" 40 cout << \"OPT_BEGIN\" << endl;\n"
" 41 cout << \"START\\t\" << startmoment << endl;\n"
" 42 cout << \"NPROC\\t\" << noOfProcesses() << endl; \n"
"(dbx) "
-> "status"
<- "(dbx) "
-> "display"
<- "(dbx) "
-> "setenv TERM dumb"
<- "(dbx) "
-> "debug "
<- "Debugging: paqs \n"
"(dbx) "
-> "help detach"
<- "detach # Detach dbx from the targe, and cancel any\n"
" # pending signals.\n"
"detach -sig <sig> # Detach while forwarding the given signal.\n"
"(dbx) "
# Opening session ".ddd"...done.
# Welcome to DDD 3.2.1 "Liftoff" (sparc-sun-solaris2.6)
# Current session is [none].
-> "help run"
<- "run # Begin executing the program with the current
arguments\n"
"run <args> # Begin executing the program with new arguments\n"
" Use ^C to stop executing the program.\n"
"\n"
"See also `help rerun\', `help runargs\' and `help prog\'.\n"
"(dbx) "
-> "help step"
<- "step # Single step one line (step INTO calls).\n"
" # With MT programs when a function call is skipped\n"
" # over, all LWPs are implicitly resumed for the\n"
" # duration of that function call in order to\n"
" # avoid deadlock.\n"
" # Non-active threads cannot be stepped.\n"
"step <n> # Single step <n> lines (step INTO calls)\n"
"step up # ... and out of the current function\n"
"step ... -sig <sig> # ... and deliver the given signal\n"
"\n"
"The dbxenv variable `step_events\' controls whether breakpoints are
enabled\n"
"during a step.\n"
"\n"
"step ... <tid> # Step the given thread. Does not apply to `step
up\'.\n"
"step ... <lwpid> # Step the given LWP. Will not implicitly resume
all\n"
" LWPs when skipping a function.\n"
"When an explicit <tid> or <lwpid> is given, the deadlock avoidance
measure\n"
"of the generic `step\' is defeated.\n"
"See also `stepi\' for machine-level stepping."
<- "(dbx) "
-> "help stepi"
<- "stepi # Single step one machine instruction (step INTO
calls)\n"
"stepi <n> # Single step <n> machine instructions (step INTO
calls)\n"
"stepi -sig <sig> # ... and deliver the given signal\n"
"stepi ... <lwpid> # ... the given LWP.\n"
"stepi ... <tid> # ... the LWP on which the given thread is active."
<- "(dbx) "
-> "help next"
<- "next # Step one line (step OVER calls).\n"
" # With MT programs when a function call is skipped\n"
" # over, all LWPs are implicitly resumed for the\n"
" # duration of that function call in order to\n"
" # avoid deadlock.\n"
" # Non-active threads cannot be stepped.\n"
"next <n> # Step <n> lines (skip OVER calls)\n"
"next ... -sig <sig> # Deliver the given signal while nexting\n"
"\n"
"The dbxenv variable `step_events\' controls whether breakpoints are
enabled\n"
"during a step.\n"
"\n"
"next ... <tid> # Step the given thread.\n"
"next ... <lwpid> # Step the given LWP. Will not implicitly resume
all\n"
" LWPs when skipping a function.\n"
"When an explicit <tid> or <lwpid> is given, the deadlock avoidance
measure\n"
"of the generic `next\' is defeated.\n"
"See also `nexti\' for machine-level stepping over calls. "
<- "(dbx) "
-> "help nexti"
<- "nexti # Step one machine instruction (skip OVER calls)\n"
"nexti <n> # Step <n> machine instructions (skip OVER calls)\n"
"nexti -sig <sig> # deliver the given signal while nexting\n"
"nexti ... <lwpid> # ... the given LWP.\n"
"nexti ... <tid> # ... the LWP on which the given thread is active.
Will\n"
" not implicitly resume all LWPs when skipping a
function."
<- "(dbx) "
-> "help until"
<- "until is a shell keyword"
<- "(dbx) "
-> "help cont"
<- "cont # Continue execution. In an MT process all threads
are\n"
" # resumed. Use ^C to stop executing the program.\n"
"cont ... -sig <signo> # Continue execution with signal <signo>\n"
"cont ... <id> # The <id> specifies which thread or LWP to
continue.\n"
"cont at <line> [ <id> ] # Continue execution at line <line>. <id> is
required\n"
" # if the application is multi-threaded.\n"
"cont ... -follow parent|child|both\n"
" # If $DBX_follow_fork_mode is set to `ask\', and\n"
" # you\'ve chosen `stop\', use this option to choose
\n"
" # which process to follow. `both\' is only
applicable\n"
" # under WorkShop.\n"
"\n"
"See also `help dbxenv\'.\n"
" \n"
"See `help continue\' for dbx command language loop control."
<- "(dbx) "
-> "help signal"
<- "signal is unknown"
<- "(dbx) "
-> "help kill"
<- "kill -l # List all known signal numbers, names, and
descriptions\n"
"kill # Kill the controlled process\n"
"kill <job>... # Send the SIGTERM signal to the listed jobs\n"
"kill -<sig> <job>... # Send the given signal to the listed jobs\n"
" <job> may be a process ID or may be specified
in\n"
" any of the ways listed under `help fg\', but the
`%\'\n"
" is not optional in this case."
<- "(dbx) "
-> "help up"
<- "up # Move up the call stack one level\n"
"up <number> # Move up the call stack <number> levels\n"
"up -h [<number>] # Move up the call stack, but don\'t skip hidden
frames"
<- "(dbx) "
-> "help down"
<- "down # Move down the call stack one level\n"
"down <number> # Move down the call stack <number> levels\n"
"down -h [<number>] # Move down the call stack, but don\'t skip hidden
frames"
<- "(dbx) "
# Retrieving DBX Settings...
# Retrieving DBX Settings...
-> "dbxenv"
<- "allow_critical_exclusion off\n"
"aout_cache_size 1\n"
"array_bounds_check on\n"
"cfront_demangling off\n"
"delay_xs on\n"
"disassembler_version autodetect\n"
"fix_verbose off\n"
"follow_fork_inherit off\n"
"follow_fork_mode parent\n"
"follow_fork_mode_inner unset\n"
"input_case_sensitive autodetect\n"
"language_mode autodetect\n"
"locache_enable on\n"
"mt_watchpoints off\n"
"output_auto_flush on\n"
"output_base automatic\n"
"output_dynamic_type off\n"
"output_inherited_members off\n"
"output_list_size 10\n"
"output_log_file_name /tmp/dbx.log.4084.0\n"
"output_max_string_length 512\n"
"output_pretty_print off\n"
"output_short_file_name on\n"
"overload_function on\n"
"overload_operator on\n"
"pop_auto_destruct on\n"
"rtc_auto_continue off\n"
"rtc_auto_suppress on\n"
"rtc_biu_at_exit on\n"
"rtc_error_limit 1000\n"
"rtc_error_log_file_name /tmp/dbx.errlog.4084.3\n"
"rtc_mel_at_exit on\n"
"run_autostart off\n"
"run_io stdio\n"
"run_pty \n"
"run_quick off\n"
"run_savetty on\n"
"run_setpgrp off\n"
"scope_global_enums off\n"
"scope_look_aside on\n"
"session_log_file_name \n"
"stack_max_size 100\n"
"stack_verbose on\n"
"step_events off\n"
"suppress_startup_message 3.01\n"
"symbol_info_compression on\n"
"trace_speed 0.50\n"
"(dbx) "
-> "set"
<- "CDD=/users/cs/tuomo/cdd\n"
"CDDLIB=/users/cs/tuomo/cddlib\n"
"CDDPLUS=/users/cs/tuomo/cdd+\n"
"CPLEXLICDIR=/net/bert.md.chalmers.se/volatile/cplex/license\n"
"CVSROOT=/users/cs/tuomo/CVS\n"
"DBX_allow_critical_exclusion=off\n"
"DBX_aout_cache_size=1\n"
"DBX_array_bounds_check=on\n"
"DBX_cfront_demangling=off\n"
"DBX_delay_xs=on\n"
"DBX_disassembler_version=autodetect\n"
"DBX_fix_verbose=off\n"
"DBX_follow_fork_inherit=off\n"
"DBX_follow_fork_mode=parent\n"
"DBX_follow_fork_mode_inner=unset\n"
"DBX_input_case_sensitive=autodetect\n"
"DBX_language_mode=autodetect\n"
"DBX_locache_enable=on\n"
"DBX_mt_watchpoints=off\n"
"DBX_output_auto_flush=on\n"
"DBX_output_base=automatic\n"
"DBX_output_dynamic_type=off\n"
"DBX_output_inherited_members=off\n"
"DBX_output_list_size=10\n"
"DBX_output_log_file_name=/tmp/dbx.log.4084.0\n"
"DBX_output_max_string_length=512\n"
"DBX_output_pretty_print=off\n"
"DBX_output_short_file_name=on\n"
"DBX_overload_function=on\n"
"DBX_overload_operator=on\n"
"DBX_pop_auto_destruct=on\n"
"DBX_rtc_auto_continue=off\n"
"DBX_rtc_auto_suppress=on\n"
"DBX_rtc_biu_at_exit=on\n"
"DBX_rtc_error_limit=1000\n"
"DBX_rtc_error_log_file_name=/tmp/dbx.errlog.4084.3\n"
"DBX_rtc_mel_at_exit=on\n"
"DBX_run_autostart=off\n"
"DBX_run_io=stdio\n"
"DBX_run_pty=\n"
"DBX_run_quick=off\n"
"DBX_run_savetty=on\n"
"DBX_run_setpgrp=off\n"
"DBX_scope_global_enums=off\n"
"DBX_scope_look_aside=on\n"
"DBX_session_log_file_name=\n"
"DBX_stack_max_size=100\n"
"DBX_stack_verbose=on\n"
"DBX_step_events=off\n"
"DBX_suppress_startup_message=3.01\n"
"DBX_symbol_info_compression=on\n"
"DBX_trace_speed=0.50\n"
"DDD=ddd-3.2.1-sparc-sun-solaris2.6\n"
"DDD_SESSION=.ddd\n"
"DISPLAY=:0.0\n"
"DOOMWADDIR=/usr/pd/games/lib/doom\n"
"DTXSERVERLOCATION=local\n"
"EDITOR=emacsclient\n"
"FDYNAMIC=0x2\n"
"FFORMAT=0x8\n"
"FLITERAL=0x10\n"
"FMHOME=/usr/lic/Frame5.5\n"
"FRECURSE=0x4\n"
"FROM_DTLOGIN=true\n"
"FVERBOSE=0x1\n"
"GEOMVIEW=/users/cs/tuomo/geomview\n"
"GRAPHLET=/users/cs/tuomo/graphlet\n"
"GRAPHLET_DIR=/users/cs/tuomo/graphlet\n"
"HARMONY_HOME=/usr/pd/www/harmony\n"
"HOME=/users/cs/tuomo\n"
"HOST=muppet38.cs.chalmers.se\n"
"HOSTNAME=muppet38.cs.chalmers.se\n"
"HOSTNAME_SHORT=muppet38\n"
"HOSTTYPE=sun4\n"
"IFS= \t\n"
"\n"
"ILOG_LICENSE_FILE=/usr/lic/ilog/ilm/access.ilm\n"
"KSH_VERSION=@(#)PD KSH v4.9 93/09/29 (extended for dbx)\n"
"LANG=C\n"
"LC_CTYPE=iso_8859_1\n"
"LC_NUMERIC=C\n"
"LD_LIBRARY_PATH=/usr/X11/lib:/usr/pd/tex/teTeX-0.9-990323/lib:/opt/SUNWspro/lib:/usr/lic/Matlab-5.3.1/extern/lib/sol2:/usr/lic/LEDA:/usr/pd/X11/lib/:/usr/pd/X11/lib/:/usr/pd/tex/teTeX-1.0/lib:/usr/pd/X11/lib/\n"
"LEDAROOT=/usr/lic/LEDA\n"
"LOGNAME=tuomo\n"
"LRS=/users/cs/tuomo/lrs\n"
"MAILCHECK=600\n"
"MANPATH=/usr/local/man:/usr/lic/man:/usr/pd/man:/usr/local/X11/man:/usr/pd/X11/man:/usr/lic/X11/man:/usr/X11/man:/usr/man:/usr/pd/www/man:/usr/pd/news/man:/users/cs/tuomo/man:/users/cs/paros/mpich/man:/usr/pd/gnu/man:/opt/SUNWspro/man:/share/usr/pd/gnu/emacs/man:/usr/pd/games/man:/usr/lic/Maple/man:/usr/lic/Mathematica-4.0/man:/usr/openwin/share/man:/usr/pd/pvm3/man:/opt/SUNWsunpc/man:/usr/pd/tex/teTeX-1.0/man:/usr/lic/sicstus3.8.1/lib/sicstus-3.8.1/doc/man:/users/cs/paros/man\n"
"MFINPUTS=/users/cs/tuomo/lib/:\n"
"MM_CHARSET=iso-8859-1\n"
"MORE=-sd\n"
"MORG=cs\n"
"MPICHBIN=/users/cs/paros/mpich/bin\n"
"NETSCAPE_VERSION=4\n"
"NLSPATH=/opt/SUNWspro/bin/../WS5.0/bin/../lib/locale/C/LC_MESSAGES/%N.cat\n"
"OLDPWD=/users/cs/tuomo/src/paqs.v4.4/paract\n"
"OPENWINHOME=/usr/openwin\n"
"OPTIND=1\n"
"PAGER=cat\n"
"PATH=:/users/cs/tuomo/bin:/users/cs/tuomo/bin.sun4u_5:.:/users/cs/paros/bin:/usr/local/bin:/usr/bin:/usr/ucb:/usr/sbin:/usr/ccs/bin:/usr/lic/bin:/usr/pd/bin:/usr/local/X11/bin:/usr/pd/X11/bin:/usr/lic/X11/bin:/usr/X11/bin:/usr/pd/www/bin:/usr/pd/news/bin:/bin:/usr/pd/gnu/bin:/usr/lic/acrobat/Acrobat4/bin:/opt/SUNWspro/bin:/usr/pd/java/JDK/bin:/usr/lic/cplex:/share/usr/pd/gnu/emacs/bin:/usr/pd/gnu/emacs/bin:/usr/lic/Frame5.5/bin:/usr/pd/games/bin:/usr/lic/LEDA/Manual/cmd:/usr/lic/Maple/bin:/usr/lic/Mathematica-4.0:/usr/lic/Matlab-5.3.1/bin:/usr/pd/tcl/8.2.2/bin:/usr/openwin/bin:/usr/lic/pure/purify-5.1-solaris2:/usr/pd/pvm3/bin:/usr/pd/pvm3/lib/SUN4SOL2:/opt/SUNWsunpc/bin:/usr/pd/tex/teTeX-1.0/bin:/usr/pd/tex/local/bin:/usr/lic/sicstus3.8.1/bin:/users/cs/tuomo/porta:/users/cs/tuomo/geomview/bin:/users/cs/tuomo/graphlet/bin:/users/cs/tuomo/lrs:/users/cs/tuomo/polymake/bin:/users/cs/tuomo/polymake/perl:/users/cs/tuomo/cdd:/users/cs/tuomo/cdd+:/users/cs/tuomo/cddlib/makedir\!
n"
"POLYMAKE=/users/cs/tuomo/polymake\n"
"PORTA=/users/cs/tuomo/porta\n"
"PPID=4074\n"
"PRINTER=csps2.ds\n"
"PS1=(dbx) \n"
"PS2=> \n"
"PS3=#? \n"
"PVM_ROOT=/usr/pd/pvm3\n"
"PWD=/users/cs/tuomo/src/paqs.v4.4/paract\n"
"RANDOM=17008\n"
"RCOPT_ACROBAT=\n"
"RCOPT_ALIAS=\n"
"RCOPT_CHARSET=iso_8859_1\n"
"RCOPT_COMPILERS=CCsun:ADAnone\n"
"RCOPT_CPLEX=6.5\n"
"RCOPT_EMACS=new\n"
"RCOPT_FRAME=5.5\n"
"RCOPT_GAMES=\n"
"RCOPT_HISTORY=250\n"
"RCOPT_LEDA=\n"
"RCOPT_LSF=\n"
"RCOPT_MAPLE=\n"
"RCOPT_MATHEMATICA=\n"
"RCOPT_MATLAB=5.3.1\n"
"RCOPT_METAMAIL=\n"
"RCOPT_NEWS=\n"
"RCOPT_OBS=\n"
"RCOPT_OPENWIN=\n"
"RCOPT_PURIFY=\n"
"RCOPT_PVM=\n"
"RCOPT_REDUCE=\n"
"RCOPT_SICSTUS=3.8.1\n"
"RCOPT_SOUND=\n"
"RCOPT_SUNHPC=\n"
"RCOPT_SUNPC=\n"
"RCOPT_SUNSOLVE=\n"
"RCOPT_TEX=teTeX-1.0\n"
"RCOPT_USERLEVEL=Expert\n"
"RCOPT_WABI=\n"
"RCOPT_WWW=beta%http://www.cs.chalmers.se/%4\n"
"RC_OPTIONS=RCOPT_ACROBAT RCOPT_ALIAS RCOPT_CHARSET RCOPT_COMPILERS
RCOPT_CPLEX RCOPT_EMACS RCOPT_FRAME RCOPT_GAMES RCOPT_HISTORY RCOPT_LEDA
RCOPT_LSF RCOPT_MAPLE RCOPT_MATHEMATICA RCOPT_MATLAB RCOPT_METAMAIL RCOPT_NEWS
RCOPT_OBS RCOPT_OPENWIN RCOPT_PURIFY RCOPT_PVM RCOPT_REDUCE RCOPT_SOUND
RCOPT_SUNHPC RCOPT_SUNPC RCOPT_SUNSOLVE RCOPT_TEX RCOPT_USERLEVEL RCOPT_WABI
RCOPT_WWW RCOPT_SICSTUS\n"
"SECONDS=19\n"
"SHELL=/bin/tcsh\n"
"SHLVL=3\n"
"SSH_AGENT_PID=2380\n"
"SSH_AUTH_SOCK=/tmp/ssh-tuomo/ssh-2346-agent\n"
"SVR4=\n"
"SYSFAMILY=sun4u_5\n"
"SYSTYPE=sun4u_56\n"
"TERM=dumb\n"
"TERMCAP=\n"
"TEST=/usr/bin/test\n"
"TEXINPUTS=.:/local::/users/cs/tuomo/sty/:/users/cs/tuomo/lib/:/usr/pd/tex/teTeX-0.4/texmf/tex/generic/pstricks/:/usr/src/math/extra.26/usr/pd/tex/teTeX-0.4/texmf/tex/latex/koma-script/:/usr/pd/tex/lib/tex/cweb\n"
"TFMFONTS=/users/cs/tuomo/lib/:\n"
"TROFF=groff -Tps\n"
"TTY=/dev/pts/13\n"
"TWMFILE=/dev/null\n"
"TZ=MET\n"
"USER=tuomo\n"
"USRPDX11LIB=/usr/pd/X11/lib/\n"
"VERSION=beta\n"
"WINDOWID=113246222\n"
"WRASTER_COLOR_RESOLUTION0=4\n"
"WWW_HOME=http://www.cs.chalmers.se/\n"
"XDMHOME=/usr/local/X11/lib/xdm\n"
"XKEYSYMDB=/usr/X11/lib/X11/XKeysymDB\n"
"XMCD_LIBDIR=/users/cs/tuomo/xmcd\n"
"XPVM_ROOT=/usr/pd/pvm3/xpvm\n"
"XSESS_REENTERED=1\n"
"XUSERFILESEARCHPATH=/users/cs/tuomo/%L/%N:/users/cs/tuomo/%l/%N:/users/cs/tuomo/%N:./%N.ad:/usr/local/X11/lib/X11/app-defaults/%L/%N:/usr/local/X11/lib/X11/app-defaults/%l/%N:/usr/local/X11/lib/X11/app-defaults/%N:/usr/pd/X11/lib/X11/app-defaults/%L/%N:/usr/pd/X11/lib/X11/app-defaults/%l/%N:/usr/pd/X11/lib/X11/app-defaults/%N:/usr/lic/X11/lib/X11/app-defaults/%L/%N:/usr/lic/X11/lib/X11/app-defaults/%l/%N:/usr/lic/X11/lib/X11/app-defaults/%N:/usr/X11/lib/X11/app-defaults/%L/%N:/usr/X11/lib/X11/app-defaults/%l/%N:/usr/X11/lib/X11/app-defaults/%N:/usr/pd/www/lib/app-defaults/%L/%N:/usr/pd/www/lib/app-defaults/%l/%N:/usr/pd/www/lib/app-defaults/%N:/usr/pd/news/lib/app-defaults/%L/%N:/usr/pd/news/lib/app-defaults/%l/%N:/usr/pd/news/lib/app-defaults/%N\n"
"X_CONSOLE=/dev/pts/1\n"
"X_DIM_SCREEN_0=1280x1024\n"
"X_KBD=sun.US_UNIX5\n"
"X_PLANES=24\n"
"X_SESSIONLIB=/usr/local/X11/lib/xdm/session-cthe\n"
"X_TWM_FILES=/dev/null:/users/cs/.rc.machine.d/csh/RCOPT_SUNPC.twmrc\n"
"X_WINDOW_MANAGER=/usr/local/X11/lib/xdm/session-cthe/starttwm\n"
"_=set\n"
"_PAGER=/usr/bin/cat\n"
"havegui=false\n"
"reduce=/usr/lic/reduce3.6\n"
"(dbx) "
-> "help dbxenv"
<- "dbxenv # Display the dbx customization variables\n"
"\n"
"dbxenv allow_critical_exclusion <on | off>\n"
" # Normally `loadobjects -x\' disallows
the\n"
" # exclusion of certain shared libraries
critical\n"
" # to dbx functionality. By setting this
variable\n"
" # to `on\' that restriction is defeated.\n"
" # While this variable is on only corefiles
can\n"
" # be debugged.\n"
" # default: $DBX_allow_critical_exclusion\n"
"dbxenv aout_cache_size <num> \n"
" # Size of a.out loadobject cache; set
this\n"
" # to <n> when debugging <n> programs
serially\n"
" # from a single dbx. Setting to zero
still\n"
" # allows caching of shared objects. Also
see\n"
" # entry for `locache_enable\'. Default: 1\n"
"dbxenv array_bounds_check <on | off> \n"
" # (f77 and f90)If on, dbx checks the array
bounds. \n"
" # Default: on\n"
"dbxenv cfront_demangling <on | off>\n"
" # Governs demangling of Cfront (SC 2.0
and\n"
" # SC 2.0.1) names while loading a program.
If \n"
" # debugging programs compiled with Cfront
\n"
" # or programs linked with Cfront compiled
\n"
" # libraries, it is not necessary to set
this\n"
" # parameter to `on\' or start dbx with the
-F \n"
" # option. If set to `off\', dbx loads\n"
" # the program approximately 15% faster.\n"
" # Default: off\n"
"dbxenv delay_xs <on | off>\n"
" # The debugging information of modules
compiled\n"
" # with -xs option are not loaded during
dbx\n"
" # start up when delay_xs is on. The
debugging\n"
" # information are loaded later when they
are\n"
" # required. This may shorten dbx start up
time\n"
" # when there are modules compiled with
-xs\n"
" # option.\n"
" # Default: on\n"
"dbxenv disassembler_version <autodetect | v8 | v9 | v9vis>\n"
" # SPARC:\n"
" # \n"
" # Set the version of dbx\'s built-in \n"
" # disassembler for SPARC V8, V9, or V9 with
\n"
" # the Visual Instruction set. Default:\n"
" # autodetect, which sets the mode\n"
" # dynamically depending on the type of \n"
" # machine a.out is running on.\n"
" # \n"
" # non-SPARC:\n"
" # \n"
" # Only choice is autodetect.\n"
" # \n"
"dbxenv fix_verbose <on | off> \n"
" # Governs the printing of the compilation
line\n"
" # during a `fix\'. Default: off\n"
"dbxenv follow_fork_inherit <on | off>\n"
" # When following child ...\n"
" follow_fork_inherit on # ... inherit events\n"
" follow_fork_inherit off # ... don\'t inherit events. Default: off\n"
"dbxenv follow_fork_mode <parent | child | both | ask>\n"
" # When process executes a fork/vfork/fork1
...\n"
" follow_fork_mode parent # ... stay with parent\n"
" follow_fork_mode child # ... follow child\n"
" follow_fork_mode both # ... follow both parent and child
(WorkShop only)\n"
" follow_fork_mode ask # ... ask which of the above the user
wants\n"
" # Default: parent\n"
"dbxenv follow_fork_mode_inner <unset | parent | child | both>\n"
" # Only of relevance after a fork has been\n"
" # detected and if follow_fork_mode was set
to\n"
" # `ask\', and you chose `stop\'. By setting
this\n"
" # variable you need not use `cont -follow
...\'.\n"
"dbxenv input_case_sensitive <autodetect | true | false>\n"
" # If set to `autodetect\', dbx
automatically \n"
" # selects case sensitivity based on the
language\n"
" # of the file: `false\' for fortran
files,\n"
" # otherwise `true\'. If true, case \n"
" # matters in variable and function names;
\n"
" # otherwise, case is not significant. \n"
" # Default: autodetect\n"
"dbxenv language_mode <autodetect | main | c | ansic | c++ | objc |\n"
" pascal | fortran | fortran90>\n"
" # Governs the language used for parsing
and\n"
" # evaluationg expressions.\n"
" # \n"
" # mode `autodetect\': sets expression \n"
" # evaluation language to language of
current \n"
" # file. Useful if debugging programs with
\n"
" # mixed languages (default mode).\n"
" # mode `main\': sets expression evaluation
\n"
" # language to the language of the main
routine \n"
" # in the program. Useful if debugging \n"
" # homogeneous programs.\n"
" # mode `c\', `c++\', `ansic\', `c++\',
`objc\', \n"
" # `pascal\', `fortran\', `fortran90\' :
sets \n"
" # expression language to selected
language.\n"
"See also `help language\'.\n"
"\n"
"dbxenv locache_enable <on | off>\n"
" # Enable or disable loadobject cache
entirely\n"
" # Default: on\n"
"dbxenv mt_watchpoints <on | off>\n"
" # Only relevant to Solaris 2.5.1\n"
" # Allow or disallow watchpoint facility
for\n"
" # MT programs. Default: off\n"
" # (Warning: Be aware that when using
watchpoints\n"
" # on an MT program that the application
may\n"
" # deadlock if a semaphore occurs on a
page\n"
" # that is being watched.)\n"
"dbxenv output_auto_flush <on | off>\n"
" # Automatically call fflush() after each
`call\'\n"
" # Default: on\n"
"dbxenv output_base <auto[matic] | 8 | 10 | 16>\n"
" # Default base for printing integer
constants\n"
" # Default: automatic\n"
"dbxenv output_dynamic_type <on | off>\n"
" # When on, `-d\' is the default for
printing\n"
" # and displaying. Default: off\n"
"dbxenv output_inherited_members <on | off>\n"
" # When on, `-r\' is the default for
printing\n"
" # and displaying. Default: off\n"
"dbxenv output_list_size # Governs the default number of lines to
print \n"
" # in the list command. Default: 10\n"
"dbxenv output_log_file_name <filename>\n"
" # Name of the command logfile.\n"
" # Default: /tmp/dbx.log.<uniqueID>\n"
"dbxenv output_max_string_length <num>\n"
" # Set # of chars printed for `char *\'s.\n"
" # Default: 512\n"
"dbxenv output_pretty_print <on | off>\n"
" # When `on\', `-p\' is the default for
printing\n"
" # and displaying. Default: off\n"
" # See `help prettyprint\'.\n"
"dbxenv output_short_file_name <on | off>\n"
" # Display short pathnames for files.\n"
" # Default: on\n"
"dbxenv overload_function <on | off>\n"
" # If on, do automatic function overload\n"
" # resolution (C++ only). Default: on\n"
"dbxenv overload_operator <on | off>\n"
" # If on, do automatic operator overload\n"
" # resolution (C++ only). Default: on\n"
"dbxenv pop_auto_destruct <on | off>\n"
" # If on, automatically call appropriate\n"
" # destructors for locals when popping a
frame.\n"
" # Default: on\n"
"dbxenv rtc_auto_continue <on | off>\n"
" # Log RTC errors to
rtc_error_log_file_name\n"
" # and continue. Default: off\n"
"dbxenv rtc_auto_suppress <on | off>\n"
" # If on, an RTC error at a given location
is\n"
" # reported only once. Default: on\n"
"dbxenv rtc_biu_at_exit <on | off | verbose>\n"
" # Used when `check -memuse\' is on
explicitly or \n"
" # via `check -all\'. If the value is `on\',
a non-verbose \n"
" # memory use (blocks in use) report is
produced\n"
" # at program exit. If `verbose\', a verbose
report\n"
" # is produced at program exit. If `off\',
no output\n"
" # is produced. This variable has no effect
on the \n"
" # `showmemuse\' command. Default: on\n"
"\n"
"See also `help check\' and `help showmemuse\'.\n"
"\n"
"dbxenv rtc_error_limit <num> \n"
" # Number of RTC errors that will be
reported.\n"
" # Default: 1000\n"
"dbxenv rtc_error_log_file_name <filename>\n"
" # Name of file where RTC errors are
logged\n"
" # if `rtc_auto_continue\' is set.\n"
" # Default: /tmp/dbx.errlog.<uniqueID>\n"
"dbxenv rtc_mel_at_exit <on | off | verbose>\n"
" # Used when leaks checking is on.\n"
" # \n"
" # If the value is `on\', a non-verbose
memory \n"
" # leak report is produced at program
exit.\n"
" # If `verbose\', a verbose memory leak
report is\n"
" # produced at program exit. If `off\', no
output\n"
" # is produced. This variable has no effect
on the \n"
" # `showleaks\' command. Default: on\n"
"dbxenv run_autostart <on | off> \n"
" # If on and there is no active program,
`step\',\n"
" # `next\', `stepi\', and `nexti\'
implicitly\n"
" # run the program and stop at the
language-\n"
" # dependent \"main\" routine, and `cont\'
implies\n"
" # `run\' whenever necessary.\n"
" # Default: off\n"
"dbxenv run_io <stdio | pty> \n"
" # Governs whether the user program\'s I/O
is\n"
" # redirected to dbx\'s stdio or a specific
pty.\n"
" # The pty is provided via $DBX_run_pty.\n"
" # Default: stdio\n"
"dbxenv run_pty <ptyname> \n"
" # Sets the name of the pty to use when\n"
" # $DBX_run_io is set to `pty\'. Ptys are\n"
" # mainly used by GUI wrappers for dbx.\n"
"dbxenv run_quick <on | off> \n"
" # If on, no symbolic information is loaded
upon\n"
" # `debug\'. The symbolic information can
be\n"
" # loaded on demand using \"prog
-readsysms\".\n"
" # Until then dbx behaves as if the
program\n"
" # being debugged is stripped.\n"
" # Default: off\n"
"dbxenv run_savetty <on | off> \n"
" # Multiplexes tty settings, process group,
and\n"
" # keyboard settings (if -kbd was used on
the\n"
" # command line) between dbx and the
debuggee;\n"
" # useful when debugging editors and shells.
\n"
" # Set it to `on\' if dbx gets SIGTTIN or
SIGTTOU\n"
" # and pops back into the shell. Setting it
to \n"
" # `off\' to gain a slight speed
advantage.\n"
" # The setting is irrelevant if dbx
attached\n"
" # to the debugee or is running under
WorkShop.\n"
" # Default: on\n"
"dbxenv run_setpgrp <on | off> \n"
" # If on, when a program is `run\'
`setgprp(2)\'\n"
" # is called right after the fork.\n"
" # Default: off\n"
"dbxenv scope_global_enums <on | off>\n"
" # If on, enumerators are put in global
scope\n"
" # and not in file scope. Set before\n"
" # debugging information is processed \n"
" # (~/.dbxrc). Default: off\n"
"dbxenv scope_look_aside <on | off>\n"
" # Find file static symbols, even when not
in\n"
" # scope. Default: on\n"
"dbxenv session_log_file_name <filename>\n"
" # Name of the file where dbx logs all \n"
" # commands and their output. Output is \n"
" # appended to the file.\n"
" # Default: \"\" (no session logging)\n"
"dbxenv stack_max_size <num> \n"
" # Set the default size for the `where\'
command.\n"
" # Default: 100\n"
"dbxenv stack_verbose <on | off> \n"
" # Governs the printing of arguments and\n"
" # line information in `where\'.\n"
" # Default: on\n"
"dbxenv step_events <on | off> \n"
" # Allow breakpoints while step/next\'ing.\n"
" # Default: off\n"
"dbxenv suppress_startup_message <num>\n"
" # Set the release level below which the
startup\n"
" # message is not printed. Default: 3.01\n"
"dbxenv symbol_info_compression <on | off>\n"
" # Read debugging information for each
include\n"
" # file only once, and create the common
block\n"
" # symbol table for FORTRAN only once.\n"
" # Default: on\n"
"dbxenv trace_speed <num>\n"
" # Set the speed of tracing execution. Value
is\n"
" # number of seconds to pause between
steps.\n"
" # Default: 0.50\n"
"\n"
"Each of the above has a corresponding ksh environment variable such as
DBX_trace_speed.\n"
" The variable may be assigned directly, or the dbxenv command may be used;
\n"
"they are equivalent.\n"
"\n"
"The following obsolete names are recognized as aliases:\n"
"\n"
" Old name New name\n"
"\n"
" autocontinue rtc_auto_continue\n"
" autoflush output_auto_flush\n"
" autosuppress rtc_auto_suppress\n"
" case input_case_sensitive\n"
" compress_stabs symbol_info_compression\n"
" dynamic_type output_dynamic_type\n"
" errlogfile rtc_error_log_file_name\n"
" error_limit rtc_error_limit\n"
" func_overload overload_function\n"
" lo_cache locache_enable\n"
" logfile output_log_file_name\n"
" lookaside scope_look_aside\n"
" oper_overload overload_operator\n"
" pop_autodestruct pop_auto_destruct\n"
" setpgrp run_setpgrp\n"
" shortfname output_short_file_name\n"
" speed trace_speed\n"
" stackmaxsize stack_max_size\n"
" stackverbose stack_verbose\n"
" stepevents step_events\n"
" stringlen output_max_string_length\n"
" warnings symbol_info_warnings\n"
" \n"
"(dbx) "
# Retrieving DBX Settings...done.
# Retrieving DBX Settings...done.
-> "dbxenv output_short_file_name off"
<- "(dbx) "
-> "dbxenv"
<- "allow_critical_exclusion off\n"
"aout_cache_size 1\n"
"array_bounds_check on\n"
"cfront_demangling off\n"
"delay_xs on\n"
"disassembler_version autodetect\n"
"fix_verbose off\n"
"follow_fork_inherit off\n"
"follow_fork_mode parent\n"
"follow_fork_mode_inner unset\n"
"input_case_sensitive autodetect\n"
"language_mode autodetect\n"
"locache_enable on\n"
"mt_watchpoints off\n"
"output_auto_flush on\n"
"output_base automatic\n"
"output_dynamic_type off\n"
"output_inherited_members off\n"
"output_list_size 10\n"
"output_log_file_name /tmp/dbx.log.4084.0\n"
"output_max_string_length 512\n"
"output_pretty_print off\n"
"output_short_file_name off\n"
"overload_function on\n"
"overload_operator on\n"
"pop_auto_destruct on\n"
"rtc_auto_continue off\n"
"rtc_auto_suppress on\n"
"rtc_biu_at_exit on\n"
"rtc_error_limit 1000\n"
"rtc_error_log_file_name /tmp/dbx.errlog.4084.3\n"
"rtc_mel_at_exit on\n"
"run_autostart off\n"
"run_io stdio\n"
"run_pty \n"
"run_quick off\n"
"run_savetty on\n"
"run_setpgrp off\n"
"scope_global_enums off\n"
"scope_look_aside on\n"
"session_log_file_name \n"
"stack_max_size 100\n"
"stack_verbose on\n"
"step_events off\n"
"suppress_startup_message 3.01\n"
"symbol_info_compression on\n"
"trace_speed 0.50\n"
"(dbx) "
# Off
-> "dbxenv output_short_file_name on"
<- "(dbx) "
-> "dbxenv"
<- "allow_critical_exclusion off\n"
"aout_cache_size 1\n"
"array_bounds_check on\n"
"cfront_demangling off\n"
"delay_xs on\n"
"disassembler_version autodetect\n"
"fix_verbose off\n"
"follow_fork_inherit off\n"
"follow_fork_mode parent\n"
"follow_fork_mode_inner unset\n"
"input_case_sensitive autodetect\n"
"language_mode autodetect\n"
"locache_enable on\n"
"mt_watchpoints off\n"
"output_auto_flush on\n"
"output_base automatic\n"
"output_dynamic_type off\n"
"output_inherited_members off\n"
"output_list_size 10\n"
"output_log_file_name /tmp/dbx.log.4084.0\n"
"output_max_string_length 512\n"
"output_pretty_print off\n"
"output_short_file_name on\n"
"overload_function on\n"
"overload_operator on\n"
"pop_auto_destruct on\n"
"rtc_auto_continue off\n"
"rtc_auto_suppress on\n"
"rtc_biu_at_exit on\n"
"rtc_error_limit 1000\n"
"rtc_error_log_file_name /tmp/dbx.errlog.4084.3\n"
"rtc_mel_at_exit on\n"
"run_autostart off\n"
"run_io stdio\n"
"run_pty \n"
"run_quick off\n"
"run_savetty on\n"
"run_setpgrp off\n"
"scope_global_enums off\n"
"scope_look_aside on\n"
"session_log_file_name \n"
"stack_max_size 100\n"
"stack_verbose on\n"
"step_events off\n"
"suppress_startup_message 3.01\n"
"symbol_info_compression on\n"
"trace_speed 0.50\n"
"(dbx) "
# On
-> "dbxenv output_short_file_name off"
<- "(dbx) "
-> "dbxenv"
<- "allow_critical_exclusion off\n"
"aout_cache_size 1\n"
"array_bounds_check on\n"
"cfront_demangling off\n"
"delay_xs on\n"
"disassembler_version autodetect\n"
"fix_verbose off\n"
"follow_fork_inherit off\n"
"follow_fork_mode parent\n"
"follow_fork_mode_inner unset\n"
"input_case_sensitive autodetect\n"
"language_mode autodetect\n"
"locache_enable on\n"
"mt_watchpoints off\n"
"output_auto_flush on\n"
"output_base automatic\n"
"output_dynamic_type off\n"
"output_inherited_members off\n"
"output_list_size 10\n"
"output_log_file_name /tmp/dbx.log.4084.0\n"
"output_max_string_length 512\n"
"output_pretty_print off\n"
"output_short_file_name off\n"
"overload_function on\n"
"overload_operator on\n"
"pop_auto_destruct on\n"
"rtc_auto_continue off\n"
"rtc_auto_suppress on\n"
"rtc_biu_at_exit on\n"
"rtc_error_limit 1000\n"
"rtc_error_log_file_name /tmp/dbx.errlog.4084.3\n"
"rtc_mel_at_exit on\n"
"run_autostart off\n"
"run_io stdio\n"
"run_pty \n"
"run_quick off\n"
"run_savetty on\n"
"run_setpgrp off\n"
"scope_global_enums off\n"
"scope_look_aside on\n"
"session_log_file_name \n"
"stack_max_size 100\n"
"stack_verbose on\n"
"step_events off\n"
"suppress_startup_message 3.01\n"
"symbol_info_compression on\n"
"trace_speed 0.50\n"
"(dbx) "
# Off
-> "dbxenv output_short_file_name on"
<- "(dbx) "
-> "dbxenv"
<- "allow_critical_exclusion off\n"
"aout_cache_size 1\n"
"array_bounds_check on\n"
"cfront_demangling off\n"
"delay_xs on\n"
"disassembler_version autodetect\n"
"fix_verbose off\n"
"follow_fork_inherit off\n"
"follow_fork_mode parent\n"
"follow_fork_mode_inner unset\n"
"input_case_sensitive autodetect\n"
"language_mode autodetect\n"
"locache_enable on\n"
"mt_watchpoints off\n"
"output_auto_flush on\n"
"output_base automatic\n"
"output_dynamic_type off\n"
"output_inherited_members off\n"
"output_list_size 10\n"
"output_log_file_name /tmp/dbx.log.4084.0\n"
"output_max_string_length 512\n"
"output_pretty_print off\n"
"output_short_file_name on\n"
"overload_function on\n"
"overload_operator on\n"
"pop_auto_destruct on\n"
"rtc_auto_continue off\n"
"rtc_auto_suppress on\n"
"rtc_biu_at_exit on\n"
"rtc_error_limit 1000\n"
"rtc_error_log_file_name /tmp/dbx.errlog.4084.3\n"
"rtc_mel_at_exit on\n"
"run_autostart off\n"
"run_io stdio\n"
"run_pty \n"
"run_quick off\n"
"run_savetty on\n"
"run_setpgrp off\n"
"scope_global_enums off\n"
"scope_look_aside on\n"
"session_log_file_name \n"
"stack_max_size 100\n"
"stack_verbose on\n"
"step_events off\n"
"suppress_startup_message 3.01\n"
"symbol_info_compression on\n"
"trace_speed 0.50\n"
"(dbx) "
# On
-> "dbxenv output_short_file_name off"
<- "(dbx) "
-> "dbxenv"
<- "allow_critical_exclusion off\n"
"aout_cache_size 1\n"
"array_bounds_check on\n"
"cfront_demangling off\n"
"delay_xs on\n"
"disassembler_version autodetect\n"
"fix_verbose off\n"
"follow_fork_inherit off\n"
"follow_fork_mode parent\n"
"follow_fork_mode_inner unset\n"
"input_case_sensitive autodetect\n"
"language_mode autodetect\n"
"locache_enable on\n"
"mt_watchpoints off\n"
"output_auto_flush on\n"
"output_base automatic\n"
"output_dynamic_type off\n"
"output_inherited_members off\n"
"output_list_size 10\n"
"output_log_file_name /tmp/dbx.log.4084.0\n"
"output_max_string_length 512\n"
"output_pretty_print off\n"
"output_short_file_name off\n"
"overload_function on\n"
"overload_operator on\n"
"pop_auto_destruct on\n"
"rtc_auto_continue off\n"
"rtc_auto_suppress on\n"
"rtc_biu_at_exit on\n"
"rtc_error_limit 1000\n"
"rtc_error_log_file_name /tmp/dbx.errlog.4084.3\n"
"rtc_mel_at_exit on\n"
"run_autostart off\n"
"run_io stdio\n"
"run_pty \n"
"run_quick off\n"
"run_savetty on\n"
"run_setpgrp off\n"
"scope_global_enums off\n"
"scope_look_aside on\n"
"session_log_file_name \n"
"stack_max_size 100\n"
"stack_verbose on\n"
"step_events off\n"
"suppress_startup_message 3.01\n"
"symbol_info_compression on\n"
"trace_speed 0.50\n"
"(dbx) "
# Off
-> "help dbxenv"
<- "dbxenv # Display the dbx customization variables\n"
"\n"
"dbxenv allow_critical_exclusion <on | off>\n"
" # Normally `loadobjects -x\' disallows
the\n"
" # exclusion of certain shared libraries
critical\n"
" # to dbx functionality. By setting this
variable\n"
" # to `on\' that restriction is defeated.\n"
" # While this variable is on only corefiles
can\n"
" # be debugged.\n"
" # default: $DBX_allow_critical_exclusion\n"
"dbxenv aout_cache_size <num> \n"
" # Size of a.out loadobject cache; set
this\n"
" # to <n> when debugging <n> programs
serially\n"
" # from a single dbx. Setting to zero
still\n"
" # allows caching of shared objects. Also
see\n"
" # entry for `locache_enable\'. Default: 1\n"
"dbxenv array_bounds_check <on | off> \n"
" # (f77 and f90)If on, dbx checks the array
bounds. \n"
" # Default: on\n"
"dbxenv cfront_demangling <on | off>\n"
" # Governs demangling of Cfront (SC 2.0
and\n"
" # SC 2.0.1) names while loading a program.
If \n"
" # debugging programs compiled with Cfront
\n"
" # or programs linked with Cfront compiled
\n"
" # libraries, it is not necessary to set
this\n"
" # parameter to `on\' or start dbx with the
-F \n"
" # option. If set to `off\', dbx loads\n"
" # the program approximately 15% faster.\n"
" # Default: off\n"
"dbxenv delay_xs <on | off>\n"
" # The debugging information of modules
compiled\n"
" # with -xs option are not loaded during
dbx\n"
" # start up when delay_xs is on. The
debugging\n"
" # information are loaded later when they
are\n"
" # required. This may shorten dbx start up
time\n"
" # when there are modules compiled with
-xs\n"
" # option.\n"
" # Default: on\n"
"dbxenv disassembler_version <autodetect | v8 | v9 | v9vis>\n"
" # SPARC:\n"
" # \n"
" # Set the version of dbx\'s built-in \n"
" # disassembler for SPARC V8, V9, or V9 with
\n"
" # the Visual Instruction set. Default:\n"
" # autodetect, which sets the mode\n"
" # dynamically depending on the type of \n"
" # machine a.out is running on.\n"
" # \n"
" # non-SPARC:\n"
" # \n"
" # Only choice is autodetect.\n"
" # \n"
"dbxenv fix_verbose <on | off> \n"
" # Governs the printing of the compilation
line\n"
" # during a `fix\'. Default: off\n"
"dbxenv follow_fork_inherit <on | off>\n"
" # When following child ...\n"
" follow_fork_inherit on # ... inherit events\n"
" follow_fork_inherit off # ... don\'t inherit events. Default: off\n"
"dbxenv follow_fork_mode <parent | child | both | ask>\n"
" # When process executes a fork/vfork/fork1
...\n"
" follow_fork_mode parent # ... stay with parent\n"
" follow_fork_mode child # ... follow child\n"
" follow_fork_mode both # ... follow both parent and child
(WorkShop only)\n"
" follow_fork_mode ask # ... ask which of the above the user
wants\n"
" # Default: parent\n"
"dbxenv follow_fork_mode_inner <unset | parent | child | both>\n"
" # Only of relevance after a fork has been\n"
" # detected and if follow_fork_mode was set
to\n"
" # `ask\', and you chose `stop\'. By setting
this\n"
" # variable you need not use `cont -follow
...\'.\n"
"dbxenv input_case_sensitive <autodetect | true | false>\n"
" # If set to `autodetect\', dbx
automatically \n"
" # selects case sensitivity based on the
language\n"
" # of the file: `false\' for fortran
files,\n"
" # otherwise `true\'. If true, case \n"
" # matters in variable and function names;
\n"
" # otherwise, case is not significant. \n"
" # Default: autodetect\n"
"dbxenv language_mode <autodetect | main | c | ansic | c++ | objc |\n"
" pascal | fortran | fortran90>\n"
" # Governs the language used for parsing
and\n"
" # evaluationg expressions.\n"
" # \n"
" # mode `autodetect\': sets expression \n"
" # evaluation language to language of
current \n"
" # file. Useful if debugging programs with
\n"
" # mixed languages (default mode).\n"
" # mode `main\': sets expression evaluation
\n"
" # language to the language of the main
routine \n"
" # in the program. Useful if debugging \n"
" # homogeneous programs.\n"
" # mode `c\', `c++\', `ansic\', `c++\',
`objc\', \n"
" # `pascal\', `fortran\', `fortran90\' :
sets \n"
" # expression language to selected
language.\n"
"See also `help language\'.\n"
"\n"
"dbxenv locache_enable <on | off>\n"
" # Enable or disable loadobject cache
entirely\n"
" # Default: on\n"
"dbxenv mt_watchpoints <on | off>\n"
" # Only relevant to Solaris 2.5.1\n"
" # Allow or disallow watchpoint facility
for\n"
" # MT programs. Default: off\n"
" # (Warning: Be aware that when using
watchpoints\n"
" # on an MT program that the application
may\n"
" # deadlock if a semaphore occurs on a
page\n"
" # that is being watched.)\n"
"dbxenv output_auto_flush <on | off>\n"
" # Automatically call fflush() after each
`call\'\n"
" # Default: on\n"
"dbxenv output_base <auto[matic] | 8 | 10 | 16>\n"
" # Default base for printing integer
constants\n"
" # Default: automatic\n"
"dbxenv output_dynamic_type <on | off>\n"
" # When on, `-d\' is the default for
printing\n"
" # and displaying. Default: off\n"
"dbxenv output_inherited_members <on | off>\n"
" # When on, `-r\' is the default for
printing\n"
" # and displaying. Default: off\n"
"dbxenv output_list_size # Governs the default number of lines to
print \n"
" # in the list command. Default: 10\n"
"dbxenv output_log_file_name <filename>\n"
" # Name of the command logfile.\n"
" # Default: /tmp/dbx.log.<uniqueID>\n"
"dbxenv output_max_string_length <num>\n"
" # Set # of chars printed for `char *\'s.\n"
" # Default: 512\n"
"dbxenv output_pretty_print <on | off>\n"
" # When `on\', `-p\' is the default for
printing\n"
" # and displaying. Default: off\n"
" "
<- " # See `help prettyprint\'.\n"
"dbxenv output_short_file_name <on | off>\n"
" # Display short pathnames for files.\n"
" # Default: on\n"
"dbxenv overload_function <on | off>\n"
" # If on, do automatic function overload\n"
" # resolution (C++ only). Default: on\n"
"dbxenv overload_operator <on | off>\n"
" # If on, do automatic operator overload\n"
" # resolution (C++ only). Default: on\n"
"dbxenv pop_auto_destruct <on | off>\n"
" # If on, automatically call appropriate\n"
" # destructors for locals when popping a
frame.\n"
" # Default: on\n"
"dbxenv rtc_auto_continue <on | off>\n"
" # Log RTC errors to
rtc_error_log_file_name\n"
" # and continue. Default: off\n"
"dbxenv rtc_auto_suppress <on | off>\n"
" # If on, an RTC error at a given location
is\n"
" # reported only once. Default: on\n"
"dbxenv rtc_biu_at_exit <on | off | verbose>\n"
" # Used when `check -memuse\' is on
explicitly or \n"
" # via `check -all\'. If the value is `on\',
a non-verbose \n"
" # memory use (blocks in use) report is
produced\n"
" # at program exit. If `verbose\', a verbose
report\n"
" # is produced at program exit. If `off\',
no output\n"
" # is produced. This variable has no effect
on the \n"
" # `showmemuse\' command. Default: on\n"
"\n"
"See also `help check\' and `help showmemuse\'.\n"
"\n"
"dbxenv rtc_error_limit <num> \n"
" # Number of RTC errors that will be
reported.\n"
" # Default: 1000\n"
"dbxenv rtc_error_log_file_name <filename>\n"
" # Name of file where RTC errors are
logged\n"
" # if `rtc_auto_continue\' is set.\n"
" # Default: /tmp/dbx.errlog.<uniqueID>\n"
"dbxenv rtc_mel_at_exit <on | off | verbose>\n"
" # Used when leaks checking is on.\n"
" # \n"
" # If the value is `on\', a non-verbose
memory \n"
" # leak report is produced at program
exit.\n"
" # If `verbose\', a verbose memory leak
report is\n"
" # produced at program exit. If `off\', no
output\n"
" # is produced. This variable has no effect
on the \n"
" # `showleaks\' command. Default: on\n"
"dbxenv run_autostart <on | off> \n"
" # If on and there is no active program,
`step\',\n"
" # `next\', `stepi\', and `nexti\'
implicitly\n"
" # run the program and stop at the
language-\n"
" # dependent \"main\" routine, and `cont\'
implies\n"
" # `run\' whenever necessary.\n"
" # Default: off\n"
"dbxenv run_io <stdio | pty> \n"
" # Governs whether the user program\'s I/O
is\n"
" # redirected to dbx\'s stdio or a specific
pty.\n"
" # The pty is provided via $DBX_run_pty.\n"
" # Default: stdio\n"
"dbxenv run_pty <ptyname> \n"
" # Sets the name of the pty to use when\n"
" # $DBX_run_io is set to `pty\'. Ptys are\n"
" # mainly used by GUI wrappers for dbx.\n"
"dbxenv run_quick <on | off> \n"
" # If on, no symbolic information is loaded
upon\n"
" # `debug\'. The symbolic information can
be\n"
" # loaded on demand using \"prog
-readsysms\".\n"
" # Until then dbx behaves as if the
program\n"
" # being debugged is stripped.\n"
" # Default: off\n"
"dbxenv run_savetty <on | off> \n"
" # Multiplexes tty settings, process group,
and\n"
" # keyboard settings (if -kbd was used on
the\n"
" # command line) between dbx and the
debuggee;\n"
" # useful when debugging editors and shells.
\n"
" # Set it to `on\' if dbx gets SIGTTIN or
SIGTTOU\n"
" # and pops back into the shell. Setting it
to \n"
" # `off\' to gain a slight speed
advantage.\n"
" # The setting is irrelevant if dbx
attached\n"
" # to the debugee or is running under
WorkShop.\n"
" # Default: on\n"
"dbxenv run_setpgrp <on | off> \n"
" # If on, when a program is `run\'
`setgprp(2)\'\n"
" # is called right after the fork.\n"
" # Default: off\n"
"dbxenv scope_global_enums <on | off>\n"
" # If on, enumerators are put in global
scope\n"
" # and not in file scope. Set before\n"
" # debugging information is processed \n"
" # (~/.dbxrc). Default: off\n"
"dbxenv scope_look_aside <on | off>\n"
" # Find file static symbols, even when not
in\n"
" # scope. Default: on\n"
"dbxenv session_log_file_name <filename>\n"
" # Name of the file where dbx logs all \n"
" # commands and their output. Output is \n"
" # appended to the file.\n"
" # Default: \"\" (no session logging)\n"
"dbxenv stack_max_size <num> \n"
" # Set the default size for the `where\'
command.\n"
" # Default: 100\n"
"dbxenv stack_verbose <on | off> \n"
" # Governs the printing of arguments and\n"
" # line information in `where\'.\n"
" # Default: on\n"
"dbxenv step_events <on | off> \n"
" # Allow breakpoints while step/next\'ing.\n"
" # Default: off\n"
"dbxenv suppress_startup_message <num>\n"
" # Set the release level below which the
startup\n"
" # message is not printed. Default: 3.01\n"
"dbxenv symbol_info_compression <on | off>\n"
" # Read debugging information for each
include\n"
" # file only once, and create the common
block\n"
" # symbol table for FORTRAN only once.\n"
" # Default: on\n"
"dbxenv trace_speed <num>\n"
" # Set the speed of tracing execution. Value
is\n"
" # number of seconds to pause between
steps.\n"
" # Default: 0.50\n"
"\n"
"Each of the above has a corresponding ksh environment variable such as
DBX_trace_speed.\n"
" The variable may be assigned directly, or the dbxenv command may be used;
\n"
"they are equivalent.\n"
"\n"
"The following obsolete names are recognized as aliases:\n"
"\n"
" Old name New name\n"
"\n"
" autocontinue rtc_auto_continue\n"
" autoflush output_auto_flush\n"
" autosuppress rtc_auto_suppress\n"
" case input_case_sensitive\n"
" compress_stabs symbol_info_compression\n"
" dynamic_type output_dynamic_type\n"
" errlogfile rtc_error_log_file_name\n"
" error_limit rtc_error_limit\n"
" func_overload overload_function\n"
" lo_cache locache_enable\n"
" logfile output_log_file_name\n"
" lookaside scope_look_aside\n"
" oper_overload overload_operator\n"
" pop_autodestruct pop_auto_destruct\n"
" setpgrp run_setpgrp\n"
" shortfname output_short_file_name\n"
" speed trace_speed\n"
" stackmaxsize stack_max_size\n"
" stackverbose stack_verbose\n"
" stepevents step_events\n"
" stringlen output_max_string_length\n"
" warnings symbol_info_warnings\n"
" "
<- "(dbx) "
-> "dbxenv run_io pty"
<- "(dbx) "
-> "dbxenv"
<- "allow_critical_exclusion off\n"
"aout_cache_size 1\n"
"array_bounds_check on\n"
"cfront_demangling off\n"
"delay_xs on\n"
"disassembler_version autodetect\n"
"fix_verbose off\n"
"follow_fork_inherit off\n"
"follow_fork_mode parent\n"
"follow_fork_mode_inner unset\n"
"input_case_sensitive autodetect\n"
"language_mode autodetect\n"
"locache_enable on\n"
"mt_watchpoints off\n"
"output_auto_flush on\n"
"output_base automatic\n"
"output_dynamic_type off\n"
"output_inherited_members off\n"
"output_list_size 10\n"
"output_log_file_name /tmp/dbx.log.4084.0\n"
"output_max_string_length 512\n"
"output_pretty_print off\n"
"output_short_file_name off\n"
"overload_function on\n"
"overload_operator on\n"
"pop_auto_destruct on\n"
"rtc_auto_continue off\n"
"rtc_auto_suppress on\n"
"rtc_biu_at_exit on\n"
"rtc_error_limit 1000\n"
"rtc_error_log_file_name /tmp/dbx.errlog.4084.3\n"
"rtc_mel_at_exit on\n"
"run_autostart off\n"
"run_io pty\n"
"run_pty \n"
"run_quick off\n"
"run_savetty on\n"
"run_setpgrp off\n"
"scope_global_enums off\n"
"scope_look_aside on\n"
"session_log_file_name \n"
"stack_max_size 100\n"
"stack_verbose on\n"
"step_events off\n"
"suppress_startup_message 3.01\n"
"symbol_info_compression on\n"
"trace_speed 0.50\n"
"(dbx) "
# Pty
-> "print -r workers"
<- "dbx: \"workers\" is not defined in the scope `paqs`main.cc`main`\n"
"dbx: see `help scope\' for details\n"
"(dbx) "
# Starting execution window...
+ /bin/sh -c 'tmp=${TMPDIR-/tmp}/ddd$$; export tmp; trap "rm -f $tmp" 0; trap
'\''exit 1'\'' 1 2 15; xterm -bg '\''grey96'\'' -fg '\''black'\'' -cr
'\''DarkGreen'\'' -fn
'\''-*-lucidatypewriter-medium-r-*-*-*-120-*-*-*-*-iso8859-*'\'' -title
'\''DDD: Execution Window'\'' -e /bin/sh -c '\''echo `tty` $$ $TERM $WINDOWID
>$tmp; trap "" 2; while true; do sleep 3600; done'\'' >/dev/null </dev/null
2>&1 & while test ! -s $tmp; do sleep 1; done; cat $tmp'
# Starting execution window...done.
# Initializing execution window...
# Initializing execution window...done.
-> "setenv TERM xterm"
<- "(dbx) "
-> "run < /dev/pts/17 2> /dev/pts/17 > /dev/pts/17 bf0432-007-unsat.gff"
<- "Running: paqs 2> /dev/pts/17 bf0432-007-unsat.gff < /dev/pts/17 >
/dev/pts/17 "
<- "dbx: cannot open pty \"\" -- No such file or directory"
<- "dbx: program could not begin execution"
<- "(dbx) "
-> "file"
<- "dbx: No current source file"
<- "(dbx) "
-> "status"
<- "(dbx) "
-> "frame"
<- "dbx: program is not active"
<- "(dbx) "
-> "commands"
<- "dbx Commands:"
<- " adb Execute an `adb-style\' command or enter `adb\' mode"
<- " assign Assign a new value to a program variable"
<- " bsearch Search backward in the current source file"
<- " button Define a new button for the WorkShop Custom Button window"
<- " buttonx Define a new button for the WorkShop Custom Button window"
<- " call Call a procedure"
<- " cancel Cancel the current signal"
<- " catch Catch the given signal(s)"
<- " check Enable checking of memory access, leaks, or usage (RTC)"
<- " clear Clear breakpoints"
<- " collector Collect performance data"
<- " commands List all built-in commands with one-line descriptions"
<- " cont Cause the process to continue execution"
<- " dbxdebug Displays internal state of dbx (for dbx developers\' use)"
<- " dbxenv List or set dbx customization variables"
<- " debug List or change the program being debugged"
<- " delete Delete breakpoints and other events"
<- " detach Release the target process from dbx\'s control"
<- " dis Disassemble machine instructions"
<- " display Evaluate and print expressions at every stopping point"
<- " document Add help information for a command or topic"
<- " down Move down the call stack (away from `main\')"
<- " dump Print all variables local to a procedure"
<- " edit Invoke $EDITOR on a source file (GUI: display the source)"
<- " examine Show memory contents"
<- " exception Print the value of the current C++ exception"
<- " exists Check for existence of a symbol name"
<- " file List or change the current file"
<- " files List file names that match a regular expression"
<- " fix Recompile and relink a source file"
<- " fixed List names of all `fixed\' files"
<- " frame List or change the current stack frame number"
<- " func List or change the current function"
<- " funcs List all function names that match a regular expression"
<- " handler Modify event handlers (enable, disable, etc.)"
<- " help Provide more information about a command or topic"
<- " hide Hide stack frames that match a regular expression"
<- " history Manipulate the command history list"
<- " ignore Don\'t catch the given signal(s)"
<- " import Import commands from a dbx command library"
<- " intercept Intercept throws (C++ exceptions) of the given type (C++
only)"
<- " language List or change the current source language"
<- " line List or change the current line number"
<- " list Display lines of a source file"
<- " listi Display source and disassembled instructions"
<- " loadobject Print the name of the current loadobject"
<- " loadobjects List and manage loadobjects"
<- " lwp List or change the current LWP"
<- " lwps List all LWPs in the process"
<- " mmapfile mmap a file that was mmapped during a core dump"
<- " module Read debugging information for one or more modules"
<- " modules List module names"
<- " next Step one source line (stepping over calls)"
<- " nexti Step one machine instruction (stepping over calls)"
<- " pathmap Map one pathname to another for finding source files, etc."
<- " pop Remove one or more frames from the callstack"
<- " print Print the value of an expression"
<- " prog Manage programs being debugged and their attributes"
<- " quit Exit dbx"
<- " regs Print current value of registers"
<- " replay Replay debugging commands since last `run\'"
<- " rerun Run the program with no arguments"
<- " restore Restore dbx to a previously saved state\n"
" rprint Print an expression using shell quoting rules\n"
" run Run the program with arguments\n"
" runargs Change the arguments of the target process"
<- " save Save commands to a file"
<- " scopes Print list of active scopes"
<- " search Search forward in the current source file"
<- " setenv Set an environment variable"
<- " showblock Show where the particular heap block was allocated from
(RTC)"
<- " showleaks Report new memory leaks since last `showleaks\' command
(RTC)"
<- " showmemuse Show memory used since last `showmemuse\' command (RTC)"
<- " source Execute commands from a given file"
<- " status List event handlers (breakpoints, etc.)"
<- " step Step one source line or statement (stepping into calls)"
<- " stepi Step one machine instruction (stepping into calls)"
<- " stop Set a source-level breakpoint"
<- " stopi Set a machine-level breakpoint"
<- " suppress Suppress reporting of memory errors (RTC)"
<- " sync Show information about a given synchronization object"
<- " syncs List all synchronization objects (locks)"
<- " thread List or change the current thread"
<- " threads List all threads"
<- " trace Show executed source lines, function calls, or variable
changes"
<- " tracei Show machine instructions, function calls, or variable
changes"
<- " unbutton Remove GUI buttons"
<- " uncheck Disable checking of memory access, leaks, or usage (RTC)"
<- " undisplay Undo `display\' commands"
<- " unhide Undo `hide\' commands"
<- " unintercept Undo `intercept\' commands (C++ only)"
<- " unsuppress Undo `suppress\' commands (RTC)"
<- " up Move up the call stack (toward `main\')"
<- " use List or change the directory search path"
<- " vitem Data Visualization interface"
<- " whatis Print type of expression or declaration of type"
<- " where Print the call stack"
<- " whereami Display the current source line"
<- " whereis Print all uses of a given name, or symbolic name of an
address"
<- " which Print the full qualification of a given name"
<- " whocatches Tell where a C++ exception would be caught"
<- "ksh Commands:"
<- " . Read commands from a file"
<- " : No-op"
<- " [ `[ <expr> ]\' is shorthand for `test <expr>\'"
<- " bg Put a job into the background"
<- " bind Display or modify the emacs editing key bindings"
<- " break Break out of `while\', `until\', or `for\' loop"
<- " builtin Use builtin version of command, ignoring functions and
aliases"
<- " cd Change the working directory"
<- " continue Go to next iteration of `while\', `until\', or `for\' loop"
<- " dalias Define a dbx-style (csh-style) alias"
<- " eval Evaluate text as a command"
<- " exec Execute a new program (terminate dbx)"
<- " exit Exit dbx"
<- " export Mark given environment variables to be exported"
<- " false Does nothing and returns non-zero"
<- " fc (Fix Command) Manipulate history list"
<- " fg Put a job into the foreground"
<- " getopts Parse positional parameters for options"
<- " hash Manipulate tracked aliases (fast command lookup)"
<- " jobs List all active jobs"
<- " kalias Define a ksh-style alias"
<- " kill Send a signal to a process; kill the target process"
<- " kprint (Korn print) Echo the arguments"
<- " let Evaluate ksh arithmetic expressions"
<- " read Read a line from a file or standard input"
<- " readonly Mark environment variables unchangeable"
<- " return Return from a ksh function"
<- " set Set ksh options or positional parameters\n"
" sh Execute a command explicitly from $PATH"
<- " shift Shift the positional parameters"
<- " test Check various file attributes, string comparison, etc."
<- " times Print accumulated user and system times for dbx and
children"
<- " trap Associate ksh commands with signals or process exit"
<- " true Does nothing and returns zero"
<- " typeset Set attributes of environment variables"
<- " ulimit List or change various resource limits"
<- " umask Restrict read/write/execute permissions for new files"
<- " unalias Remove alias definition"
<- " unset Remove definition of environment variables"
<- " wait Wait for background jobs to terminate"
<- " whence Display meaning of name (alias, function, builtin,
command)"
<- "ksh Keywords:"
<- " case Multiway branching: case <string> in <cases> esac"
<- " do Command grouping: while <test> do <cmds> done"
<- " done Command grouping: while <test> do <cmds> done"
<- " elif Conditional execution: if then elif else fi"
<- " else Conditional execution: if then elif else fi\n"
" esac Multiway branching: case <string> in <cases> esac\n"
" fi Conditional execution: if then elif else fi\n"
" for Loop over a list: for <var> in <list> do <cmds> done\n"
" function Define a ksh function: function <name> { <cmds> }\n"
" if Conditional execution: if then elif else fi\n"
" in for ... in ... do ... done or case ... in ... esac\n"
" select Selection loop: select <var> in <list> do <cmds> done"
<- " then Conditional execution: if then elif else fi"
<- " time Report user and system times: time <cmd>"
<- " until Loop until condition is true: until <test> do <cmds> done"
<- " when Execute commands on given event"
<- " wheni Execute commands on given low-level event"
<- " while Loop while condition is true: while <test> do <cmds> done"
<- " { Command grouping: { <cmd>; <cmd>; }"
<- " } Command grouping: { <cmd>; <cmd>; }"
<- "(dbx) "
-> "print -r rankOfProcess"
<- "dbx: warning: unknown language, \'c++\' assumed"
<- "rankOfProcess = &rankOfProcess(void) at 0x56490"
<- "(dbx) "
-> "print -r PEs"
<- "dbx: \"PEs\" is not defined in the scope `paqs`(unknown)`\n"
"(dbx) "
-> "dbxenv run_io stdio"
<- "(dbx) "
-> "dbxenv"
<- "allow_critical_exclusion off\n"
"aout_cache_size 1\n"
"array_bounds_check on\n"
"cfront_demangling off\n"
"delay_xs on\n"
"disassembler_version autodetect\n"
"fix_verbose off\n"
"follow_fork_inherit off\n"
"follow_fork_mode parent\n"
"follow_fork_mode_inner unset\n"
"input_case_sensitive autodetect\n"
"language_mode autodetect\n"
"locache_enable on\n"
"mt_watchpoints off\n"
"output_auto_flush on\n"
"output_base automatic\n"
"output_dynamic_type off\n"
"output_inherited_members off\n"
"output_list_size 10\n"
"output_log_file_name /tmp/dbx.log.4084.0\n"
"output_max_string_length 512\n"
"output_pretty_print off\n"
"output_short_file_name off\n"
"overload_function on\n"
"overload_operator on\n"
"pop_auto_destruct on\n"
"rtc_auto_continue off\n"
"rtc_auto_suppress on\n"
"rtc_biu_at_exit on\n"
"rtc_error_limit 1000\n"
"rtc_error_log_file_name /tmp/dbx.errlog.4084.3\n"
"rtc_mel_at_exit on\n"
"run_autostart off\n"
"run_io stdio\n"
"run_pty \n"
"run_quick off\n"
"run_savetty on\n"
"run_setpgrp off\n"
"scope_global_enums off\n"
"scope_look_aside on\n"
"session_log_file_name \n"
"stack_max_size 100\n"
"stack_verbose on\n"
"step_events off\n"
"suppress_startup_message 3.01\n"
"symbol_info_compression on\n"
"trace_speed 0.50\n"
"(dbx) "
# Stdio
# Initializing execution window...
# Initializing execution window...done.
-> "setenv TERM xterm"
<- "(dbx) "
-> "run < /dev/pts/17 2> /dev/pts/17 > /dev/pts/17 bf0432-007-unsat.gff"
<- "Running: paqs 2> /dev/pts/17 bf0432-007-unsat.gff < /dev/pts/17 >
/dev/pts/17 "
<- "(process id 4257)"
<- "OPTio : nextline : error: unable to read file \'"
<- "2>"
<- "\'"
<- ""
<- "\n"
"execution completed, exit code is -1"
<- "(dbx) "
-> "file"
<- "main.cc"
<- "(dbx) "
-> "status"
<- "(dbx) "
-> "frame"
<- "dbx: program is not active"
<- "(dbx) "
# Invoking WWW browser for "http://www.gnu.org/software/ddd/"...
+ /bin/sh -c 'mozilla -remote
'\''openURL(http://www.gnu.org/software/ddd/)'\'' || netscape -remote
'\''openURL(http://www.gnu.org/software/ddd/)'\'' || ${WWWBROWSER-false}
'\''http://www.gnu.org/software/ddd/'\'' || mozilla
'\''http://www.gnu.org/software/ddd/'\'' || gnome-help-browser
'\''http://www.gnu.org/software/ddd/'\'' || netscape
'\''http://www.gnu.org/software/ddd/'\'' || gnudoit '\''(w3-fetch
"http://www.gnu.org/software/ddd/")'\'' || mosaic
'\''http://www.gnu.org/software/ddd/'\'' || Mosaic
'\''http://www.gnu.org/software/ddd/'\'' || xterm -e lynx
'\''http://www.gnu.org/software/ddd/'\'' &'
# Invoking WWW browser for "http://www.gnu.org/software/ddd/"...done.
- ddd/dbx wrongly add command line arguments,
Tuomo Takkula <=