bug-ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ddd 3.3.1 Edit->Save Options doesn't work?


From: Kevin Finn
Subject: ddd 3.3.1 Edit->Save Options doesn't work?
Date: Fri, 09 Nov 2001 16:02:45 -0600

     Hello,

     I'm seeing a simple but annoying problem with DDD 3.3.1, which I'm
almost sure must be my setup somehow but I can't figure out how.  If I
go into Edit->GDB Options, and add a path to the "Search path for source
files" by adding ":/usr/src" to the end of the line, then select Apply,
Close, and then Edit->Save Options, the option does not get written to
~/.ddd/init, and the next time I restart DDD my setting is not
restored.  Things do seem to be saved correctly when I save a named
session and then restore that session the next time I run DDD, so it's
only the default session that has problems.

     I'm running:

GNU DDD 3.3.1 (powerpc-unknown-linux-gnu)
GNU gdb 4.18

on a Linux/PPC (prep) machine.

     I have attached the results of ddd --configuration, a log of the
first DDD session where I alter the source code search path, and a log
of the next session where I start up DDD to find that my options were
not saved before.  Also attached is the ~/.ddd/init file that is written
that does not seem to include /usr/src.  The init file modification time
is updated after I do Edit->Save Options, so the file is being
rewritten, it just doesn't include the setting change that I did.

     Thanks for any ideas on what to do to fix this,

     Kevin

--

Kevin Finn
Kevin dot Finn dash Motorola dot com
GNU DDD 3.3.1 (powerpc-unknown-linux-gnu)
Copyright (C) 1995-1999 Technische Universität Braunschweig, Germany.
Copyright (C) 1999-2001 Universität Passau, Germany.

Compiled with GCC 2.95.2 19991024 (release/franzo), GNU libc 2.1
Requires X11R6, Xt11R6, Motif 1.2 (GNU LessTif 0.88 1)
Includes XPM 3.4.11, Athena Panner, DDD core
Built 2001-11-09 by root <address@hidden>.
GNU DDD 3.3.1 (powerpc-unknown-linux-gnu)
Copyright (C) 1995-1999 Technische Universität Braunschweig, Germany.
Copyright (C) 1999-2001 Universität Passau, Germany.

Compiled with GCC 2.95.2 19991024 (release/franzo), GNU libc 2.1
Requires X11R6, Xt11R6, Motif 1.2 (GNU LessTif 0.88 1)
Includes XPM 3.4.11, Athena Panner, DDD core
Built 2001-11-09 by root <address@hidden>.
$  ddd
+  /bin/sh -c 'exec gdb -q -fullname'
#  Hello, world!
#  Starting GDB...
#  Warning: core dumps are disabled
#  Running GDB (pid 26251, tty /dev/pts/2)...
<- "(gdb) "
-> "set prompt (gdb) \n"
#  Current language: C/C++
#  Searching "vsllib/ddd.vsl"...
#  Trying "/home/kevinfi/.ddd/vsllib/ddd.vsl"
#  Trying "/usr/local/share/ddd-3.3.1/vsllib/ddd.vsl"
#  Searching "vsllib/ddd.vsl"..."/usr/local/share/ddd-3.3.1/vsllib/ddd.vsl".
<- "(gdb) "
-> "set height 0\n"
<- "(gdb) "
-> "set width 0\n"
<- "(gdb) "
-> "set annotate 1\n"
<- "(gdb) "
-> " set verbose off\n"
<- "(gdb) "
-> "info line\n"
<- "No line number information available.\n"
   "(gdb) "
-> "list\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info line\n"
<- "No line number information available.\n"
   "(gdb) "
-> "output 4711\n"
<- "4711(gdb) "
-> "show language\n"
<- "The current source language is \"auto; currently c\".\n"
   "(gdb) "
-> "show version\n"
<- "GNU gdb 4.18\n"
   "Copyright 1998 Free Software Foundation, Inc.\n"
   "GDB is free software, covered by the GNU General Public License, and you 
are\n"
   "welcome to change it and/or distribute copies of it under certain 
conditions.\n"
   "Type \"show copying\" to see the conditions.\n"
   "There is absolutely no warranty for GDB.  Type \"show warranty\" for 
details.\n"
   "This GDB was configured as \"ppc-redhat-linux\".\n"
   "(gdb) "
-> "pwd\n"
<- "Working directory /home/kevinfi/.ddd.\n"
   "(gdb) "
-> "info breakpoints\n"
<- "No breakpoints or watchpoints.\n"
   "(gdb) "
-> "show history filename\n"
<- "The filename in which to record the command history is 
\"/home/kevinfi/.ddd/.gdb_history\".\n"
   "(gdb) "
-> "show history size\n"
<- "The size of the command history is 1000.\n"
   "(gdb) "
-> "info source\n"
<- "No current source file.\n"
   "(gdb) "
-> "info sources\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info line main\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info source\n"
<- "No current source file.\n"
   "(gdb) "
-> "info line MAIN\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info files\n"
<- "(gdb) "
-> "info line main_\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info program\n"
<- "The program being debugged is not being run.\n"
   "(gdb) "
-> "info line MAIN_\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info source\n"
<- "No current source file.\n"
   "(gdb) "
-> "info line main__\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info source\n"
<- "No current source file.\n"
   "(gdb) "
-> "info line MAIN__\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info source\n"
<- "No current source file.\n"
   "(gdb) "
-> "info line _main\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info source\n"
<- "No current source file.\n"
   "(gdb) "
-> "info line _MAIN\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info source\n"
<- "No current source file.\n"
   "(gdb) "
-> "info line __main\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info source\n"
<- "No current source file.\n"
   "(gdb) "
-> "info line __MAIN\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info source\n"
<- "No current source file.\n"
   "(gdb) "
-> "info line my_main\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info source\n"
<- "No current source file.\n"
   "(gdb) "
-> "info line the_main\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info source\n"
<- "No current source file.\n"
   "(gdb) "
-> "info line vxworks_main\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info source\n"
<- "No current source file.\n"
   "(gdb) "
-> "info line main_vxworks\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "set confirm off\n"
<- "(gdb) "
-> "source /tmp/ddd6aMzmb\n"
<- "(gdb) "
-> "info breakpoints\n"
<- "No breakpoints or watchpoints.\n"
   "(gdb) "
-> "info source\n"
<- "No current source file.\n"
   "(gdb) "
-> "# reset\n"
<- "(gdb) "
-> "info breakpoints\n"
<- "No breakpoints or watchpoints.\n"
   "(gdb) "
-> "display\n"
<- "(gdb) "
-> "info display\n"
<- "There are no auto-display expressions now.\n"
   "(gdb) "
-> "set environment TERM dumb\n"
<- "(gdb) "
-> "info source\n"
<- "No current source file.\n"
   "(gdb) "
-> "info files\n"
<- "(gdb) "
-> "info program\n"
<- "The program being debugged is not being run.\n"
   "(gdb) "
-> "help detach\n"
<- "Detach a process or file previously attached.\n"
   "If a process, it is no longer traced, and it continues its execution.  If\n"
   "you were debugging a file, the file is closed and gdb no longer accesses 
it.\n"
   "(gdb) "
#  Starting GDB...done.
#  Welcome to DDD 3.3.1 "Blue Gnu" (powerpc-unknown-linux-gnu)
-> "help run\n"
<- "Start debugged program.  You may specify arguments to give it.\n"
   "Args may include \"*\", or \"[...]\"; they are expanded using \"sh\".\n"
   "Input and output redirection with \">\", \"<\", or \">>\" are also 
allowed.\n"
   "\n"
   "With no arguments, uses arguments last specified (with \"run\" or \"set 
args\").\n"
   "To cancel previous arguments and run with no arguments,\n"
   "use \"set args\" without arguments.\n"
   "(gdb) "
-> "help step\n"
<- "Step program until it reaches a different source line.\n"
   "Argument N means do this N times (or till program stops for another 
reason).\n"
   "(gdb) "
-> "help stepi\n"
<- "Step one instruction exactly.\n"
   "Argument N means do this N times (or till program stops for another 
reason).\n"
   "(gdb) "
-> "help next\n"
<- "Step program, proceeding through subroutine calls.\n"
   "Like the \"step\" command as long as subroutine calls do not happen;\n"
   "when they do, the call is treated as one instruction.\n"
   "Argument N means do this N times (or till program stops for another 
reason).\n"
   "(gdb) "
-> "help nexti\n"
<- "Step one instruction, but proceed through subroutine calls.\n"
   "Argument N means do this N times (or till program stops for another 
reason).\n"
   "(gdb) "
-> "help until\n"
<- "Execute until the program reaches a source line greater than the current\n"
   "or a specified line or address or function (same args as break command).\n"
   "Execution will also stop upon exit from the current stack frame.\n"
   "(gdb) "
-> "help finish\n"
<- "Execute until selected stack frame returns.\n"
   "Upon return, the value returned is printed and put in the value history.\n"
   "(gdb) "
-> "help cont\n"
<- "Continue program being debugged, after signal or breakpoint.\n"
   "If proceeding from breakpoint, a number N may be used as an argument,\n"
   "which means to set the ignore count of that breakpoint to N - 1 (so that\n"
   "the breakpoint won\'t break until the Nth time it is reached).\n"
   "(gdb) "
-> "help signal\n"
<- "Continue program giving it signal specified by the argument.\n"
   "An argument of \"0\" means continue program without giving it a signal.\n"
   "(gdb) "
-> "help kill\n"
<- "Kill execution of program being debugged.\n"
   "(gdb) "
-> "help up\n"
<- "Select and print stack frame that called this one.\n"
   "An argument says how many frames up to go.\n"
   "(gdb) "
-> "help down\n"
<- "Select and print stack frame called by this one.\n"
   "An argument says how many frames down to go.\n"
   "(gdb) "
#  Retrieving GDB Settings...
#  Retrieving GDB Settings...
-> "help set\n"
<- "Evaluate expression EXP and assign result to variable VAR, using 
assignment\n"
   "syntax appropriate for the current language (VAR = EXP or VAR := EXP for\n"
   "example).  VAR may be a debugger \"convenience\" variable (names starting\n"
   "with $), a register (a few standard names starting with $), or an actual\n"
   "variable in the program being debugged.  EXP is any valid expression.\n"
   "Use \"set variable\" for variables with names identical to set 
subcommands.\n"
   "\n"
   "With a subcommand, this command modifies parts of the gdb environment.\n"
   "You can see these environment settings with the \"show\" command.\n"
   "\n"
   "List of set subcommands:\n"
   "\n"
   "set annotate -- Set annotation_level\n"
   "set archdebug -- Set architecture debugging\n"
   "set architecture -- Set architecture of target\n"
   "set args -- Set argument list to give program being debugged when it is 
started\n"
   "set auto-solib-add -- Set autoloading of shared library symbols\n"
   "set can-use-hw-watchpoints -- Set debugger\'s willingness to use watchpoint 
hardware\n"
   "set check -- Set the status of the type/range checker\n"
   "set complaints -- Set max number of complaints about incorrect symbols\n"
   "set confirm -- Set whether to confirm potentially dangerous operations\n"
   "set demangle-style -- Set the current C++ demangling style\n"
   "set editing -- Set editing of command lines as they are typed\n"
   "set endian -- Set endianness of target\n"
   "set environment -- Set environment variable value to give the program\n"
   "set expressiondebug -- Set expression debugging\n"
   "set extension-language -- Set mapping between filename extension and source 
language\n"
   "set follow-fork-mode -- Set debugger response to a program call of fork or 
vfork\n"
   "set gnutarget -- Set the current BFD target\n"
   "set height -- Set number of lines gdb thinks are in a page\n"
   "set history -- Generic command for setting command history parameters\n"
   "set input-radix -- Set default input radix for entering numbers\n"
   "set language -- Set the current source language\n"
   "set listsize -- Set number of source lines gdb will list by default\n"
   "set opaque-type-resolution -- Set resolution of opaque struct/class/union 
types (if set before loading symbols)\n"
   "set output-radix -- Set default output radix for printing of values\n"
   "set overload-resolution -- Set overload resolution in evaluating C++ 
functions\n"
   "set pagination -- Set state of pagination\n"
   "set print -- Generic command for setting how things print\n"
   "set processor -- `set processor NAME\' sets the PowerPC/RS6000 variant to 
NAME\n"
   "set prompt -- Set gdb\'s prompt\n"
   "set radix -- Set default input and output number radices\n"
   "set remoteaddresssize -- Set the maximum size of the address (in bits) in a 
memory packet\n"
   "set remotebaud -- Set baud rate for remote serial I/O\n"
   "set remotebinarydownload -- Set binary downloads\n"
   "set remotebreak -- Set whether to send break if interrupted\n"
   "set remotecache -- Set cache use for remote targets\n"
   "set remotedebug -- Set debugging of remote protocol\n"
   "set remotedevice -- Set device for remote serial I/O\n"
   "set remotelogbase -- Set numerical base for remote session logging\n"
   "set remotelogfile -- Set filename for remote session recording\n"
   "set remotetimeout -- Set timeout limit to wait for target to respond\n"
   "set remotewritesize -- Set the maximum number of bytes per memory write 
packet\n"
   "set scheduler-locking -- Set mode for locking scheduler during execution\n"
   "set solib-absolute-prefix -- Set prefix for loading absolute shared library 
symbol files\n"
   "set solib-search-path -- Set the search path for loading non-absolute 
shared library symbol files\n"
   "set stop-on-solib-events -- Set stopping for shared library events\n"
   "set symbol-reloading -- Set dynamic symbol table reloading multiple times 
in one run\n"
   "set targetdebug -- Set target debugging\n"
   "set variable -- Evaluate expression EXP and assign result to variable VAR\n"
   "set verbose -- Set verbosity\n"
   "set watchdog -- Set watchdog timer\n"
   "set width -- Set number of characters gdb thinks are in a line\n"
   "set write -- Set writing into executable and core files\n"
   "\n"
   "Type \"help set\" followed by set subcommand name for full documentation.\n"
   "Command name abbreviations are allowed if unambiguous.\n"
   "(gdb) "
-> "show annotate\n"
<- "Annotation_level is 1.\n"
   "(gdb) "
-> "show archdebug\n"
<- "Architecture debugging is 0.\n"
   "(gdb) "
-> "show architecture\n"
<- "The target architecture is set automatically (currently unknown)\n"
   "(gdb) "
-> "show auto-solib-add\n"
<- "Autoloading of shared library symbols is 1.\n"
   "(gdb) "
-> "show can-use-hw-watchpoints\n"
<- "Debugger\'s willingness to use watchpoint hardware is 1.\n"
   "(gdb) "
-> "show check\n"
<- "range:  Range checking is \"auto; currently off\".\n"
   "type:  Type checking is \"auto; currently off\".\n"
   "(gdb) "
-> "help set check\n"
<- "Set the status of the type/range checker\n"
   "\n"
   "List of set check subcommands:\n"
   "\n"
   "set check range -- Set range checking\n"
   "set check type -- Set type checking\n"
   "\n"
   "Type \"help set check\" followed by set check subcommand name for full 
documentation.\n"
   "Command name abbreviations are allowed if unambiguous.\n"
   "(gdb) "
-> "show check range\n"
<- "Range checking is \"auto; currently off\".\n"
   "(gdb) "
-> "show check type\n"
<- "Type checking is \"auto; currently off\".\n"
   "(gdb) "
-> "show complaints\n"
<- "Max number of complaints about incorrect symbols is 0.\n"
   "(gdb) "
-> "show confirm\n"
<- "Whether to confirm potentially dangerous operations is off.\n"
   "(gdb) "
-> "show demangle-style\n"
<- "The current C++ demangling style is \"auto\".\n"
   "(gdb) "
-> "show editing\n"
<- "Editing of command lines as they are typed is on.\n"
   "(gdb) "
-> "show endian\n"
<- "The target endianness is set automatically (currently big endian)\n"
   "(gdb) "
-> "show environment\n"
<- "PWD=/home/kevinfi/.ddd\n"
   "PAGER=cat\n"
   "HOSTNAME=wdselab-a-64-40\n"
   "HISTFILESIZE=1000\n"
   "QTDIR=/usr/lib/qt-2.0.2\n"
   "KDEDIR=/usr\n"
   "USER=kevinfi\n"
   "MACHTYPE=powerpc-yellowdog-linux-gnu\n"
   "XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB\n"
   "MAIL=/var/spool/mail/kevinfi\n"
   "INPUTRC=/etc/inputrc\n"
   "TERMCAP=\n"
   "DISPLAY=dd287:0.0\n"
   "LOGNAME=kevinfi\n"
   "SHLVL=1\n"
   "_=/bin/sh\n"
   "SHELL=/bin/bash\n"
   "HOSTTYPE=powerpc\n"
   "OSTYPE=linux-gnu\n"
   "HISTSIZE=1000\n"
   "TERM=dumb\n"
   "HOME=/home/kevinfi\n"
   "PATH=/bin:/usr/bin:/usr/local/bin:/usr/bin/X11:/usr/X11R6/bin\n"
   "DDD=ddd-3.3.1-powerpc-unknown-linux-gnu\n"
   "(gdb) "
-> "help set environment\n"
<- "Set environment variable value to give the program.\n"
   "Arguments are VAR VALUE where VAR is variable name and VALUE is value.\n"
   "VALUES of environment variables are uninterpreted strings.\n"
   "This does not affect the program until the next \"run\" command.\n"
   "(gdb) "
-> "show expressiondebug\n"
<- "Expression debugging is 0.\n"
   "(gdb) "
-> "show follow-fork-mode\n"
<- "Debugger response to a program call of fork or vfork is \"parent\".\n"
   "(gdb) "
-> "show gnutarget\n"
<- "The current BFD target is \"auto\".\n"
   "(gdb) "
-> "show height\n"
<- "Number of lines gdb thinks are in a page is unlimited.\n"
   "(gdb) "
-> "help set history\n"
<- "Generic command for setting command history parameters.\n"
   "\n"
   "List of set history subcommands:\n"
   "\n"
   "set history expansion -- Set history expansion on command input\n"
   "set history filename -- Set the filename in which to record the command 
history\n"
   "set history save -- Set saving of the history record on exit\n"
   "set history size -- Set the size of the command history\n"
   "\n"
   "Type \"help set history\" followed by set history subcommand name for full 
documentation.\n"
   "Command name abbreviations are allowed if unambiguous.\n"
   "(gdb) "
-> "show history expansion\n"
<- "History expansion on command input is off.\n"
   "(gdb) "
-> "show history filename\n"
<- "The filename in which to record the command history is 
\"/home/kevinfi/.gdb_history\".\n"
   "(gdb) "
-> "show history save\n"
<- "Saving of the history record on exit is off.\n"
   "(gdb) "
-> "show history size\n"
<- "The size of the command history is 1000.\n"
   "(gdb) "
-> "show input-radix\n"
<- "Default input radix for entering numbers is 10.\n"
   "(gdb) "
-> "show language\n"
<- "The current source language is \"auto\".\n"
   "(gdb) "
-> "show listsize\n"
<- "Number of source lines gdb will list by default is 10.\n"
   "(gdb) "
-> "show opaque-type-resolution\n"
<- "Resolution of opaque struct/class/union types (if set before loading 
symbols) is on.\n"
   "(gdb) "
-> "show output-radix\n"
<- "Default output radix for printing of values is 10.\n"
   "(gdb) "
-> "show overload-resolution\n"
<- "Overload resolution in evaluating C++ functions is on.\n"
   "(gdb) "
-> "show pagination\n"
<- "State of pagination is on.\n"
   "(gdb) "
-> "help set print\n"
<- "Generic command for setting how things print.\n"
   "\n"
   "List of set print subcommands:\n"
   "\n"
   "set print address -- Set printing of addresses\n"
   "set print array -- Set prettyprinting of arrays\n"
   "set print asm-demangle -- Set demangling of C++ names in disassembly 
listings\n"
   "set print demangle -- Set demangling of encoded C++ names when displaying 
symbols\n"
   "set print elements -- Set limit on string chars or array elements to 
print\n"
   "set print max-symbolic-offset -- Set the largest offset that will be 
printed in <symbol+1234> form\n"
   "set print null-stop -- Set printing of char arrays to stop at first null 
char\n"
   "set print object -- Set printing of object\'s derived type based on vtable 
info\n"
   "set print pretty -- Set prettyprinting of structures\n"
   "set print repeats -- Set threshold for repeated print elements\n"
   "set print sevenbit-strings -- Set printing of 8-bit characters in strings 
as \\n"
   "nn\n"
   "set print static-members -- Set printing of C++ static members\n"
   "set print symbol-filename -- Set printing of source filename and line 
number with <symbol>\n"
   "set print union -- Set printing of unions interior to structures\n"
   "set print vtbl -- Set printing of C++ virtual function tables\n"
   "\n"
   "Type \"help set print\" followed by set print subcommand name for full 
documentation.\n"
   "Command name abbreviations are allowed if unambiguous.\n"
   "(gdb) "
-> "show print address\n"
<- "Printing of addresses is on.\n"
   "(gdb) "
-> "show print array\n"
<- "Prettyprinting of arrays is off.\n"
   "(gdb) "
-> "show print asm-demangle\n"
<- "Demangling of C++ names in disassembly listings is on.\n"
   "(gdb) "
-> "show print demangle\n"
<- "Demangling of encoded C++ names when displaying symbols is on.\n"
   "(gdb) "
-> "show print elements\n"
<- "Limit on string chars or array elements to print is 200.\n"
   "(gdb) "
-> "show print max-symbolic-offset\n"
<- "The largest offset that will be printed in <symbol+1234> form is 
unlimited.\n"
   "(gdb) "
-> "show print null-stop\n"
<- "Printing of char arrays to stop at first null char is off.\n"
   "(gdb) "
-> "show print object\n"
<- "Printing of object\'s derived type based on vtable info is off.\n"
   "(gdb) "
-> "show print pretty\n"
<- "Prettyprinting of structures is off.\n"
   "(gdb) "
-> "show print repeats\n"
<- "Threshold for repeated print elements is 10.\n"
   "(gdb) "
-> "show print sevenbit-strings\n"
<- "Printing of 8-bit characters in strings as \\n"
   "nn is off.\n"
   "(gdb) "
-> "show print static-members\n"
<- "Printing of C++ static members is on.\n"
   "(gdb) "
-> "show print symbol-filename\n"
<- "Printing of source filename and line number with <symbol> is off.\n"
   "(gdb) "
-> "show print union\n"
<- "Printing of unions interior to structures is on.\n"
   "(gdb) "
-> "show print vtbl\n"
<- "Printing of C++ virtual function tables is off.\n"
   "(gdb) "
-> "help set processor\n"
<- "`set processor NAME\' sets the PowerPC/RS6000 variant to NAME.\n"
   "   If you set this, GDB will know about the special-purpose registers that 
are\n"
   " available on the given variant.\n"
   "                                             Type `set processor\' alone 
for a list of recognized variant names.\n"
   "(gdb) "
-> "show prompt\n"
<- "Gdb\'s prompt is \"(gdb) \".\n"
   "(gdb) "
-> "show remoteaddresssize\n"
<- "The maximum size of the address (in bits) in a memory packet is 32.\n"
   "(gdb) "
-> "show remotebaud\n"
<- "Baud rate for remote serial I/O is 4294967295.\n"
   "(gdb) "
-> "show remotebinarydownload\n"
<- "Binary downloads is on.\n"
   "(gdb) "
-> "show remotebreak\n"
<- "Whether to send break if interrupted is unlimited.\n"
   "(gdb) "
-> "show remotecache\n"
<- "Cache use for remote targets is off.\n"
   "(gdb) "
-> "show remotedebug\n"
<- "Debugging of remote protocol is 0.\n"
   "(gdb) "
-> "show remotedevice\n"
<- "Device for remote serial I/O is \"\".\n"
   "(gdb) "
-> "show remotelogbase\n"
<- "Numerical base for remote session logging is \"ascii\".\n"
   "(gdb) "
-> "show remotelogfile\n"
<- "Filename for remote session recording is \"\".\n"
   "(gdb) "
-> "show remotetimeout\n"
<- "Timeout limit to wait for target to respond is 20.\n"
   "(gdb) "
-> "show remotewritesize\n"
<- "The maximum number of bytes per memory write packet is 1792.\n"
   "(gdb) "
-> "show scheduler-locking\n"
<- "Mode for locking scheduler during execution is \"off\".\n"
   "(gdb) "
-> "show solib-absolute-prefix\n"
<- "Prefix for loading absolute shared library symbol files is \"\".\n"
   "(gdb) "
-> "show solib-search-path\n"
<- "The search path for loading non-absolute shared library symbol files is 
\"\".\n"
   "(gdb) "
-> "show stop-on-solib-events\n"
<- "Stopping for shared library events is 0.\n"
   "(gdb) "
-> "show symbol-reloading\n"
<- "Dynamic symbol table reloading multiple times in one run is off.\n"
   "(gdb) "
-> "show targetdebug\n"
<- "Target debugging is 0.\n"
   "(gdb) "
-> "help set variable\n"
<- "Evaluate expression EXP and assign result to variable VAR, using 
assignment\n"
   "syntax appropriate for the current language (VAR = EXP or VAR := EXP for\n"
   "example).  VAR may be a debugger \"convenience\" variable (names starting\n"
   "with $), a register (a few standard names starting with $), or an actual\n"
   "variable in the program being debugged.  EXP is any valid expression.\n"
   "This may usually be abbreviated to simply \"set\".\n"
   "(gdb) "
-> "show verbose\n"
<- "Verbosity is off.\n"
   "(gdb) "
-> "show watchdog\n"
<- "Watchdog timer is 0.\n"
   "(gdb) "
-> "show width\n"
<- "Number of characters gdb thinks are in a line is unlimited.\n"
   "(gdb) "
-> "show write\n"
<- "Writing into executable and core files is off.\n"
   "(gdb) "
-> "info architecture\n"
<- "Available architectures are:\n"
   " powerpc:common powerpc:603 powerpc:604 powerpc:403 powerpc:601\n"
   " rs6000:6000\n"
   "(gdb) "
-> "set demangle-style\n"
<- "The currently understood settings are:\n"
   "\n"
   "auto       Automatic selection based on executable\n"
   "gnu        GNU (g++) style demangling\n"
   "lucid      Lucid (lcc) style demangling\n"
   "arm        ARM style demangling\n"
   "hp         HP (aCC) style demangling\n"
   "edg        EDG style demangling\n"
   "(gdb) "
-> "set language\n"
<- "The currently understood settings are:\n"
   "\n"
   "local or auto    Automatic setting based on source file\n"
   "c                Use the C language\n"
   "c++              Use the C++ language\n"
   "asm              Use the Asm language\n"
   "chill            Use the Chill language\n"
   "fortran          Use the Fortran language\n"
   "java             Use the Java language\n"
   "modula-2         Use the Modula-2 language\n"
   "scheme           Use the Scheme language\n"
   "(gdb) "
-> "help set check range\n"
<- "Set range checking.  (on/warn/off/auto)\n"
   "(gdb) "
-> "help set check type\n"
<- "Set type checking.  (on/warn/off/auto)\n"
   "(gdb) "
-> "help dir\n"
<- "Add directory DIR to beginning of search path for source files.\n"
   "Forget cached info on source file locations and line positions.\n"
   "DIR can also be $cwd for the current working directory, or $cdir for the\n"
   "directory in which the source file was compiled into object code.\n"
   "With no argument, reset the search path to $cdir:$cwd, the default.\n"
   "(gdb) "
-> "show dir\n"
<- "Source directories searched: $cdir:$cwd\n"
   "(gdb) "
-> "help path\n"
<- "Add directory DIR(s) to beginning of search path for object files.\n"
   "$cwd in the path means the current working directory.\n"
   "This path is equivalent to the $PATH shell variable.  It is a list of\n"
   "directories, separated by colons.  These directories are searched to find\n"
   "fully linked executable files and separately compiled object files as 
needed.\n"
   "(gdb) "
-> "show path\n"
<- "Executable and object file path: 
/bin:/usr/bin:/usr/local/bin:/usr/bin/X11:/usr/X11R6/bin\n"
   "(gdb) "
#  Retrieving GDB Settings...done.
#  Retrieving Command Definitions...
-> "help user-defined\n"
<- "User-defined commands.\n"
   "The commands in this class are those defined by the user.\n"
   "Use the \"define\" command to define a command.\n"
   "\n"
   "List of commands:\n"
   "\n"
   "\n"
   "Type \"help\" followed by command name for full documentation.\n"
   "Command name abbreviations are allowed if unambiguous.\n"
   "(gdb) "
#  Retrieving Command Definitions...done.
#  Retrieving GDB Settings...done.
-> "dir\n"
#  Dir: waiting until GDB gets ready
<- "(gdb) "
-> "display\n"
<- "(gdb) "
-> "show dir\n"
<- "Source directories searched: $cdir:$cwd\n"
   "(gdb) "
#  Source directories searched: $cdir:$cwd
-> "dir $cdir:$cwd:/usr/src\n"
<- "(gdb) "
-> "display\n"
<- "(gdb) "
-> "show dir\n"
<- "Source directories searched: $cdir:$cwd:/usr/src\n"
   "(gdb) "
#  Source directories searched: $cdir:$cwd:/usr/src
-> "info files\n"
<- "(gdb) "
-> "info program\n"
<- "The program being debugged is not being run.\n"
   "(gdb) "
#  Saving options in "/home/kevinfi/.ddd/init"...
#  Saving options in "/home/kevinfi/.ddd/init"...done.
-> "quit\n"
#  Running GDB (pid 26251, tty /dev/pts/2)...Exit 0.
#  Saving history in "/home/kevinfi/.ddd/history"...
#  Saving history in "/home/kevinfi/.ddd/history"...done.
#  Thanks for using DDD 3.3.1!
GNU DDD 3.3.1 (powerpc-unknown-linux-gnu)
Copyright (C) 1995-1999 Technische Universität Braunschweig, Germany.
Copyright (C) 1999-2001 Universität Passau, Germany.

Compiled with GCC 2.95.2 19991024 (release/franzo), GNU libc 2.1
Requires X11R6, Xt11R6, Motif 1.2 (GNU LessTif 0.88 1)
Includes XPM 3.4.11, Athena Panner, DDD core
Built 2001-11-09 by root <address@hidden>.
$  ddd
+  /bin/sh -c 'exec gdb -q -fullname'
#  Hello, world!
#  Starting GDB...
#  Warning: core dumps are disabled
#  Running GDB (pid 26256, tty /dev/pts/2)...
#  Current language: C/C++
#  Searching "vsllib/ddd.vsl"...
#  Trying "/home/kevinfi/.ddd/vsllib/ddd.vsl"
#  Trying "/usr/local/share/ddd-3.3.1/vsllib/ddd.vsl"
#  Searching "vsllib/ddd.vsl"..."/usr/local/share/ddd-3.3.1/vsllib/ddd.vsl".
<- "(gdb) "
-> "set prompt (gdb) \n"
<- "(gdb) "
-> "set height 0\n"
<- "(gdb) "
-> "set width 0\n"
<- "(gdb) "
-> "set annotate 1\n"
<- "(gdb) "
-> " set verbose off\n"
<- "(gdb) "
-> "info line\n"
<- "No line number information available.\n"
   "(gdb) "
-> "list\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info line\n"
<- "No line number information available.\n"
   "(gdb) "
-> "output 4711\n"
<- "4711(gdb) "
-> "show language\n"
<- "The current source language is \"auto; currently c\".\n"
   "(gdb) "
-> "show version\n"
<- "GNU gdb 4.18\n"
   "Copyright 1998 Free Software Foundation, Inc.\n"
   "GDB is free software, covered by the GNU General Public License, and you 
are\n"
   "welcome to change it and/or distribute copies of it under certain 
conditions.\n"
   "Type \"show copying\" to see the conditions.\n"
   "There is absolutely no warranty for GDB.  Type \"show warranty\" for 
details.\n"
   "This GDB was configured as \"ppc-redhat-linux\".\n"
   "(gdb) "
-> "pwd\n"
<- "Working directory /home/kevinfi/.ddd.\n"
   "(gdb) "
-> "info breakpoints\n"
<- "No breakpoints or watchpoints.\n"
   "(gdb) "
-> "show history filename\n"
<- "The filename in which to record the command history is 
\"/home/kevinfi/.ddd/.gdb_history\".\n"
   "(gdb) "
-> "show history size\n"
<- "The size of the command history is 1000.\n"
   "(gdb) "
-> "info source\n"
<- "No current source file.\n"
   "(gdb) "
-> "info sources\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info line main\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info source\n"
<- "No current source file.\n"
   "(gdb) "
-> "info line MAIN\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info files\n"
<- "(gdb) "
-> "info line main_\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info program\n"
<- "The program being debugged is not being run.\n"
   "(gdb) "
-> "info line MAIN_\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info source\n"
<- "No current source file.\n"
   "(gdb) "
-> "info line main__\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info source\n"
<- "No current source file.\n"
   "(gdb) "
-> "info line MAIN__\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info source\n"
<- "No current source file.\n"
   "(gdb) "
-> "info line _main\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info source\n"
<- "No current source file.\n"
   "(gdb) "
-> "info line _MAIN\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info source\n"
<- "No current source file.\n"
   "(gdb) "
-> "info line __main\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info source\n"
<- "No current source file.\n"
   "(gdb) "
-> "info line __MAIN\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info source\n"
<- "No current source file.\n"
   "(gdb) "
-> "info line my_main\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info source\n"
<- "No current source file.\n"
   "(gdb) "
-> "info line the_main\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info source\n"
<- "No current source file.\n"
   "(gdb) "
-> "info line vxworks_main\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "info source\n"
<- "No current source file.\n"
   "(gdb) "
-> "info line main_vxworks\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
   "(gdb) "
-> "set confirm off\n"
<- "(gdb) "
-> "source /tmp/dddKo7Nwd\n"
<- "(gdb) "
-> "info breakpoints\n"
<- "No breakpoints or watchpoints.\n"
   "(gdb) "
-> "info source\n"
<- "No current source file.\n"
   "(gdb) "
-> "# reset\n"
<- "(gdb) "
-> "info breakpoints\n"
<- "No breakpoints or watchpoints.\n"
   "(gdb) "
-> "display\n"
<- "(gdb) "
-> "info display\n"
<- "There are no auto-display expressions now.\n"
   "(gdb) "
-> "set environment TERM dumb\n"
<- "(gdb) "
-> "info source\n"
<- "No current source file.\n"
   "(gdb) "
-> "info files\n"
<- "(gdb) "
-> "info program\n"
<- "The program being debugged is not being run.\n"
   "(gdb) "
-> "help detach\n"
<- "Detach a process or file previously attached.\n"
   "If a process, it is no longer traced, and it continues its execution.  If\n"
   "you were debugging a file, the file is closed and gdb no longer accesses 
it.\n"
   "(gdb) "
#  Starting GDB...done.
#  Welcome to DDD 3.3.1 "Blue Gnu" (powerpc-unknown-linux-gnu)
-> "help run\n"
<- "Start debugged program.  You may specify arguments to give it.\n"
   "Args may include \"*\", or \"[...]\"; they are expanded using \"sh\".\n"
   "Input and output redirection with \">\", \"<\", or \">>\" are also 
allowed.\n"
   "\n"
   "With no arguments, uses arguments last specified (with \"run\" or \"set 
args\").\n"
   "To cancel previous arguments and run with no arguments,\n"
   "use \"set args\" without arguments.\n"
   "(gdb) "
-> "help step\n"
<- "Step program until it reaches a different source line.\n"
   "Argument N means do this N times (or till program stops for another 
reason).\n"
   "(gdb) "
-> "help stepi\n"
<- "Step one instruction exactly.\n"
   "Argument N means do this N times (or till program stops for another 
reason).\n"
   "(gdb) "
-> "help next\n"
<- "Step program, proceeding through subroutine calls.\n"
   "Like the \"step\" command as long as subroutine calls do not happen;\n"
   "when they do, the call is treated as one instruction.\n"
   "Argument N means do this N times (or till program stops for another 
reason).\n"
   "(gdb) "
-> "help nexti\n"
<- "Step one instruction, but proceed through subroutine calls.\n"
   "Argument N means do this N times (or till program stops for another 
reason).\n"
   "(gdb) "
-> "help until\n"
<- "Execute until the program reaches a source line greater than the current\n"
   "or a specified line or address or function (same args as break command).\n"
   "Execution will also stop upon exit from the current stack frame.\n"
   "(gdb) "
-> "help finish\n"
<- "Execute until selected stack frame returns.\n"
   "Upon return, the value returned is printed and put in the value history.\n"
   "(gdb) "
-> "help cont\n"
<- "Continue program being debugged, after signal or breakpoint.\n"
   "If proceeding from breakpoint, a number N may be used as an argument,\n"
   "which means to set the ignore count of that breakpoint to N - 1 (so that\n"
   "the breakpoint won\'t break until the Nth time it is reached).\n"
   "(gdb) "
-> "help signal\n"
<- "Continue program giving it signal specified by the argument.\n"
   "An argument of \"0\" means continue program without giving it a signal.\n"
   "(gdb) "
-> "help kill\n"
<- "Kill execution of program being debugged.\n"
   "(gdb) "
-> "help up\n"
<- "Select and print stack frame that called this one.\n"
   "An argument says how many frames up to go.\n"
   "(gdb) "
-> "help down\n"
<- "Select and print stack frame called by this one.\n"
   "An argument says how many frames down to go.\n"
   "(gdb) "
#  Retrieving GDB Settings...
#  Retrieving GDB Settings...
-> "help set\n"
<- "Evaluate expression EXP and assign result to variable VAR, using 
assignment\n"
   "syntax appropriate for the current language (VAR = EXP or VAR := EXP for\n"
   "example).  VAR may be a debugger \"convenience\" variable (names starting\n"
   "with $), a register (a few standard names starting with $), or an actual\n"
   "variable in the program being debugged.  EXP is any valid expression.\n"
   "Use \"set variable\" for variables with names identical to set 
subcommands.\n"
   "\n"
   "With a subcommand, this command modifies parts of the gdb environment.\n"
   "You can see these environment settings with the \"show\" command.\n"
   "\n"
   "List of set subcommands:\n"
   "\n"
   "set annotate -- Set annotation_level\n"
   "set archdebug -- Set architecture debugging\n"
   "set architecture -- Set architecture of target\n"
   "set args -- Set argument list to give program being debugged when it is 
started\n"
   "set auto-solib-add -- Set autoloading of shared library symbols\n"
   "set can-use-hw-watchpoints -- Set debugger\'s willingness to use watchpoint 
hardware\n"
   "set check -- Set the status of the type/range checker\n"
   "set complaints -- Set max number of complaints about incorrect symbols\n"
   "set confirm -- Set whether to confirm potentially dangerous operations\n"
   "set demangle-style -- Set the current C++ demangling style\n"
   "set editing -- Set editing of command lines as they are typed\n"
   "set endian -- Set endianness of target\n"
   "set environment -- Set environment variable value to give the program\n"
   "set expressiondebug -- Set expression debugging\n"
   "set extension-language -- Set mapping between filename extension and source 
language\n"
   "set follow-fork-mode -- Set debugger response to a program call of fork or 
vfork\n"
   "set gnutarget -- Set the current BFD target\n"
   "set height -- Set number of lines gdb thinks are in a page\n"
   "set history -- Generic command for setting command history parameters\n"
   "set input-radix -- Set default input radix for entering numbers\n"
   "set language -- Set the current source language\n"
   "set listsize -- Set number of source lines gdb will list by default\n"
   "set opaque-type-resolution -- Set resolution of opaque struct/class/union 
types (if set before loading symbols)\n"
   "set output-radix -- Set default output radix for printing of values\n"
   "set overload-resolution -- Set overload resolution in evaluating C++ 
functions\n"
   "set pagination -- Set state of pagination\n"
   "set print -- Generic command for setting how things print\n"
   "set processor -- `set processor NAME\' sets the PowerPC/RS6000 variant to 
NAME\n"
   "set prompt -- Set gdb\'s prompt\n"
   "set radix -- Set default input and output number radices\n"
   "set remoteaddresssize -- Set the maximum size of the address (in bits) in a 
memory packet\n"
   "set remotebaud -- Set baud rate for remote serial I/O\n"
   "set remotebinarydownload -- Set binary downloads\n"
   "set remotebreak -- Set whether to send break if interrupted\n"
   "set remotecache -- Set cache use for remote targets\n"
   "set remotedebug -- Set debugging of remote protocol\n"
   "set remotedevice -- Set device for remote serial I/O\n"
   "set remotelogbase -- Set numerical base for remote session logging\n"
   "set remotelogfile -- Set filename for remote session recording\n"
   "set remotetimeout -- Set timeout limit to wait for target to respond\n"
   "set remotewritesize -- Set the maximum number of bytes per memory write 
packet\n"
   "set scheduler-locking -- Set mode for locking scheduler during execution\n"
   "set solib-absolute-prefix -- Set prefix for loading absolute shared library 
symbol files\n"
   "set solib-search-path -- Set the search path for loading non-absolute 
shared library symbol files\n"
   "set stop-on-solib-events -- Set stopping for shared library events\n"
   "set symbol-reloading -- Set dynamic symbol table reloading multiple times 
in one run\n"
   "set targetdebug -- Set target debugging\n"
   "set variable -- Evaluate expression EXP and assign result to variable VAR\n"
   "set verbose -- Set verbosity\n"
   "set watchdog -- Set watchdog timer\n"
   "set width -- Set number of characters gdb thinks are in a line\n"
   "set write -- Set writing into executable and core files\n"
   "\n"
   "Type \"help set\" followed by set subcommand name for full documentation.\n"
   "Command name abbreviations are allowed if unambiguous.\n"
   "(gdb) "
-> "show annotate\n"
<- "Annotation_level is 1.\n"
   "(gdb) "
-> "show archdebug\n"
<- "Architecture debugging is 0.\n"
   "(gdb) "
-> "show architecture\n"
<- "The target architecture is set automatically (currently unknown)\n"
   "(gdb) "
-> "show auto-solib-add\n"
<- "Autoloading of shared library symbols is 1.\n"
   "(gdb) "
-> "show can-use-hw-watchpoints\n"
<- "Debugger\'s willingness to use watchpoint hardware is 1.\n"
   "(gdb) "
-> "show check\n"
<- "range:  Range checking is \"auto; currently off\".\n"
   "type:  Type checking is \"auto; currently off\".\n"
   "(gdb) "
-> "help set check\n"
<- "Set the status of the type/range checker\n"
   "\n"
   "List of set check subcommands:\n"
   "\n"
   "set check range -- Set range checking\n"
   "set check type -- Set type checking\n"
   "\n"
   "Type \"help set check\" followed by set check subcommand name for full 
documentation.\n"
   "Command name abbreviations are allowed if unambiguous.\n"
   "(gdb) "
-> "show check range\n"
<- "Range checking is \"auto; currently off\".\n"
   "(gdb) "
-> "show check type\n"
<- "Type checking is \"auto; currently off\".\n"
   "(gdb) "
-> "show complaints\n"
<- "Max number of complaints about incorrect symbols is 0.\n"
   "(gdb) "
-> "show confirm\n"
<- "Whether to confirm potentially dangerous operations is off.\n"
   "(gdb) "
-> "show demangle-style\n"
<- "The current C++ demangling style is \"auto\".\n"
   "(gdb) "
-> "show editing\n"
<- "Editing of command lines as they are typed is on.\n"
   "(gdb) "
-> "show endian\n"
<- "The target endianness is set automatically (currently big endian)\n"
   "(gdb) "
-> "show environment\n"
<- "PWD=/home/kevinfi/.ddd\n"
   "PAGER=cat\n"
   "HOSTNAME=wdselab-a-64-40\n"
   "HISTFILESIZE=1000\n"
   "QTDIR=/usr/lib/qt-2.0.2\n"
   "KDEDIR=/usr\n"
   "USER=kevinfi\n"
   "MACHTYPE=powerpc-yellowdog-linux-gnu\n"
   "XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB\n"
   "MAIL=/var/spool/mail/kevinfi\n"
   "INPUTRC=/etc/inputrc\n"
   "TERMCAP=\n"
   "DISPLAY=dd287:0.0\n"
   "LOGNAME=kevinfi\n"
   "SHLVL=1\n"
   "_=/bin/sh\n"
   "SHELL=/bin/bash\n"
   "HOSTTYPE=powerpc\n"
   "OSTYPE=linux-gnu\n"
   "HISTSIZE=1000\n"
   "TERM=dumb\n"
   "HOME=/home/kevinfi\n"
   "PATH=/bin:/usr/bin:/usr/local/bin:/usr/bin/X11:/usr/X11R6/bin\n"
   "DDD=ddd-3.3.1-powerpc-unknown-linux-gnu\n"
   "(gdb) "
-> "help set environment\n"
<- "Set environment variable value to give the program.\n"
   "Arguments are VAR VALUE where VAR is variable name and VALUE is value.\n"
   "VALUES of environment variables are uninterpreted strings.\n"
   "This does not affect the program until the next \"run\" command.\n"
   "(gdb) "
-> "show expressiondebug\n"
<- "Expression debugging is 0.\n"
   "(gdb) "
-> "show follow-fork-mode\n"
<- "Debugger response to a program call of fork or vfork is \"parent\".\n"
   "(gdb) "
-> "show gnutarget\n"
<- "The current BFD target is \"auto\".\n"
   "(gdb) "
-> "show height\n"
<- "Number of lines gdb thinks are in a page is unlimited.\n"
   "(gdb) "
-> "help set history\n"
<- "Generic command for setting command history parameters.\n"
   "\n"
   "List of set history subcommands:\n"
   "\n"
   "set history expansion -- Set history expansion on command input\n"
   "set history filename -- Set the filename in which to record the command 
history\n"
   "set history save -- Set saving of the history record on exit\n"
   "set history size -- Set the size of the command history\n"
   "\n"
   "Type \"help set history\" followed by set history subcommand name for full 
documentation.\n"
   "Command name abbreviations are allowed if unambiguous.\n"
   "(gdb) "
-> "show history expansion\n"
<- "History expansion on command input is off.\n"
   "(gdb) "
-> "show history filename\n"
<- "The filename in which to record the command history is 
\"/home/kevinfi/.gdb_history\".\n"
   "(gdb) "
-> "show history save\n"
<- "Saving of the history record on exit is off.\n"
   "(gdb) "
-> "show history size\n"
<- "The size of the command history is 1000.\n"
   "(gdb) "
-> "show input-radix\n"
<- "Default input radix for entering numbers is 10.\n"
   "(gdb) "
-> "show language\n"
<- "The current source language is \"auto\".\n"
   "(gdb) "
-> "show listsize\n"
<- "Number of source lines gdb will list by default is 10.\n"
   "(gdb) "
-> "show opaque-type-resolution\n"
<- "Resolution of opaque struct/class/union types (if set before loading 
symbols) is on.\n"
   "(gdb) "
-> "show output-radix\n"
<- "Default output radix for printing of values is 10.\n"
   "(gdb) "
-> "show overload-resolution\n"
<- "Overload resolution in evaluating C++ functions is on.\n"
   "(gdb) "
-> "show pagination\n"
<- "State of pagination is on.\n"
   "(gdb) "
-> "help set print\n"
<- "Generic command for setting how things print.\n"
   "\n"
   "List of set print subcommands:\n"
   "\n"
   "set print address -- Set printing of addresses\n"
   "set print array -- Set prettyprinting of arrays\n"
   "set print asm-demangle -- Set demangling of C++ names in disassembly 
listings\n"
   "set print demangle -- Set demangling of encoded C++ names when displaying 
symbols\n"
   "set print elements -- Set limit on string chars or array elements to 
print\n"
   "set print max-symbolic-offset -- Set the largest offset that will be 
printed in <symbol+1234> form\n"
   "set print null-stop -- Set printing of char arrays to stop at first null 
char\n"
   "set print object -- Set printing of object\'s derived type based on vtable 
info\n"
   "set print pretty -- Set prettyprinting of structures\n"
   "set print repeats -- Set threshold for repeated print elements\n"
   "set print sevenbit-strings -- Set printing of 8-bit characters in strings 
as \\n"
   "nn\n"
   "set print static-members -- Set printing of C++ static members\n"
   "set print symbol-filename -- Set printing of source filename and line 
number with <symbol>\n"
   "set print union -- Set printing of unions interior to structures\n"
   "set print vtbl -- Set printing of C++ virtual function tables\n"
   "\n"
   "Type \"help set print\" followed by set print subcommand name for full 
documentation.\n"
   "Command name abbreviations are allowed if unambiguous.\n"
   "(gdb) "
-> "show print address\n"
<- "Printing of addresses is on.\n"
   "(gdb) "
-> "show print array\n"
<- "Prettyprinting of arrays is off.\n"
   "(gdb) "
-> "show print asm-demangle\n"
<- "Demangling of C++ names in disassembly listings is on.\n"
   "(gdb) "
-> "show print demangle\n"
<- "Demangling of encoded C++ names when displaying symbols is on.\n"
   "(gdb) "
-> "show print elements\n"
<- "Limit on string chars or array elements to print is 200.\n"
   "(gdb) "
-> "show print max-symbolic-offset\n"
<- "The largest offset that will be printed in <symbol+1234> form is 
unlimited.\n"
   "(gdb) "
-> "show print null-stop\n"
<- "Printing of char arrays to stop at first null char is off.\n"
   "(gdb) "
-> "show print object\n"
<- "Printing of object\'s derived type based on vtable info is off.\n"
   "(gdb) "
-> "show print pretty\n"
<- "Prettyprinting of structures is off.\n"
   "(gdb) "
-> "show print repeats\n"
<- "Threshold for repeated print elements is 10.\n"
   "(gdb) "
-> "show print sevenbit-strings\n"
<- "Printing of 8-bit characters in strings as \\n"
   "nn is off.\n"
   "(gdb) "
-> "show print static-members\n"
<- "Printing of C++ static members is on.\n"
   "(gdb) "
-> "show print symbol-filename\n"
<- "Printing of source filename and line number with <symbol> is off.\n"
   "(gdb) "
-> "show print union\n"
<- "Printing of unions interior to structures is on.\n"
   "(gdb) "
-> "show print vtbl\n"
<- "Printing of C++ virtual function tables is off.\n"
   "(gdb) "
-> "help set processor\n"
<- "`set processor NAME\' sets the PowerPC/RS6000 variant to NAME.\n"
   "   If you set this, GDB will know about the special-purpose registers that 
are\n"
   " available on the given variant.\n"
   "                                             Type `set processor\' alone 
for a list of recognized variant names.\n"
   "(gdb) "
-> "show prompt\n"
<- "Gdb\'s prompt is \"(gdb) \".\n"
   "(gdb) "
-> "show remoteaddresssize\n"
<- "The maximum size of the address (in bits) in a memory packet is 32.\n"
   "(gdb) "
-> "show remotebaud\n"
<- "Baud rate for remote serial I/O is 4294967295.\n"
   "(gdb) "
-> "show remotebinarydownload\n"
<- "Binary downloads is on.\n"
   "(gdb) "
-> "show remotebreak\n"
<- "Whether to send break if interrupted is unlimited.\n"
   "(gdb) "
-> "show remotecache\n"
<- "Cache use for remote targets is off.\n"
   "(gdb) "
-> "show remotedebug\n"
<- "Debugging of remote protocol is 0.\n"
   "(gdb) "
-> "show remotedevice\n"
<- "Device for remote serial I/O is \"\".\n"
   "(gdb) "
-> "show remotelogbase\n"
<- "Numerical base for remote session logging is \"ascii\".\n"
   "(gdb) "
-> "show remotelogfile\n"
<- "Filename for remote session recording is \"\".\n"
   "(gdb) "
-> "show remotetimeout\n"
<- "Timeout limit to wait for target to respond is 20.\n"
   "(gdb) "
-> "show remotewritesize\n"
<- "The maximum number of bytes per memory write packet is 1792.\n"
   "(gdb) "
-> "show scheduler-locking\n"
<- "Mode for locking scheduler during execution is \"off\".\n"
   "(gdb) "
-> "show solib-absolute-prefix\n"
<- "Prefix for loading absolute shared library symbol files is \"\".\n"
   "(gdb) "
-> "show solib-search-path\n"
<- "The search path for loading non-absolute shared library symbol files is 
\"\".\n"
   "(gdb) "
-> "show stop-on-solib-events\n"
<- "Stopping for shared library events is 0.\n"
   "(gdb) "
-> "show symbol-reloading\n"
<- "Dynamic symbol table reloading multiple times in one run is off.\n"
   "(gdb) "
-> "show targetdebug\n"
<- "Target debugging is 0.\n"
   "(gdb) "
-> "help set variable\n"
<- "Evaluate expression EXP and assign result to variable VAR, using 
assignment\n"
   "syntax appropriate for the current language (VAR = EXP or VAR := EXP for\n"
   "example).  VAR may be a debugger \"convenience\" variable (names starting\n"
   "with $), a register (a few standard names starting with $), or an actual\n"
   "variable in the program being debugged.  EXP is any valid expression.\n"
   "This may usually be abbreviated to simply \"set\".\n"
   "(gdb) "
-> "show verbose\n"
<- "Verbosity is off.\n"
   "(gdb) "
-> "show watchdog\n"
<- "Watchdog timer is 0.\n"
   "(gdb) "
-> "show width\n"
<- "Number of characters gdb thinks are in a line is unlimited.\n"
   "(gdb) "
-> "show write\n"
<- "Writing into executable and core files is off.\n"
   "(gdb) "
-> "info architecture\n"
<- "Available architectures are:\n"
   " powerpc:common powerpc:603 powerpc:604 powerpc:403 powerpc:601\n"
   " rs6000:6000\n"
   "(gdb) "
-> "set demangle-style\n"
<- "The currently understood settings are:\n"
   "\n"
   "auto       Automatic selection based on executable\n"
   "gnu        GNU (g++) style demangling\n"
   "lucid      Lucid (lcc) style demangling\n"
   "arm        ARM style demangling\n"
   "hp         HP (aCC) style demangling\n"
   "edg        EDG style demangling\n"
   "(gdb) "
-> "set language\n"
<- "The currently understood settings are:\n"
   "\n"
   "local or auto    Automatic setting based on source file\n"
   "c                Use the C language\n"
   "c++              Use the C++ language\n"
   "asm              Use the Asm language\n"
   "chill            Use the Chill language\n"
   "fortran          Use the Fortran language\n"
   "java             Use the Java language\n"
   "modula-2         Use the Modula-2 language\n"
   "scheme           Use the Scheme language\n"
   "(gdb) "
-> "help set check range\n"
<- "Set range checking.  (on/warn/off/auto)\n"
   "(gdb) "
-> "help set check type\n"
<- "Set type checking.  (on/warn/off/auto)\n"
   "(gdb) "
-> "help dir\n"
<- "Add directory DIR to beginning of search path for source files.\n"
   "Forget cached info on source file locations and line positions.\n"
   "DIR can also be $cwd for the current working directory, or $cdir for the\n"
   "directory in which the source file was compiled into object code.\n"
   "With no argument, reset the search path to $cdir:$cwd, the default.\n"
   "(gdb) "
-> "show dir\n"
<- "Source directories searched: $cdir:$cwd\n"
   "(gdb) "
-> "help path\n"
<- "Add directory DIR(s) to beginning of search path for object files.\n"
   "$cwd in the path means the current working directory.\n"
   "This path is equivalent to the $PATH shell variable.  It is a list of\n"
   "directories, separated by colons.  These directories are searched to find\n"
   "fully linked executable files and separately compiled object files as 
needed.\n"
   "(gdb) "
-> "show path\n"
<- "Executable and object file path: 
/bin:/usr/bin:/usr/local/bin:/usr/bin/X11:/usr/X11R6/bin\n"
   "(gdb) "
#  Retrieving GDB Settings...done.
#  Retrieving Command Definitions...
-> "help user-defined\n"
<- "User-defined commands.\n"
   "The commands in this class are those defined by the user.\n"
   "Use the \"define\" command to define a command.\n"
   "\n"
   "List of commands:\n"
   "\n"
   "\n"
   "Type \"help\" followed by command name for full documentation.\n"
   "Command name abbreviations are allowed if unambiguous.\n"
   "(gdb) "
#  Retrieving Command Definitions...done.
#  Retrieving GDB Settings...done.
-> "quit\n"
#  Running GDB (pid 26256, tty /dev/pts/2)...Exit 0.
#  Saving history in "/home/kevinfi/.ddd/history"...
#  Saving history in "/home/kevinfi/.ddd/history"...done.
#  Thanks for using DDD 3.3.1!
! DDD initialization file
! Enter your personal DDD resources here.

! DO NOT ADD ANYTHING BELOW THIS LINE -- DDD WILL OVERWRITE IT
Ddd*dddinitVersion: 3.3.1

! Debugger settings.
Ddd*autoDebugger: on
Ddd*debugger: gdb
Ddd*useSourcePath: off
Ddd*gdbSettings: \
set confirm off\n\
set editing on\n\
set history expansion off\n\
set history save off\n\
set opaque-type-resolution on\n\
set overload-resolution on\n\
set pagination on\n\
set print address on\n\
set print array off\n\
set print asm-demangle on\n\
set print demangle on\n\
set print null-stop off\n\
set print object off\n\
set print pretty off\n\
set print sevenbit-strings off\n\
set print static-members on\n\
set print symbol-filename off\n\
set print union on\n\
set print vtbl off\n\
set remotebinarydownload on\n\
set remotecache off\n\
set symbol-reloading off\n\
set verbose off\n\
set write off\n\
set archdebug 0\n\
set auto-solib-add 1\n\
set can-use-hw-watchpoints 1\n\
set expressiondebug 0\n\
set remotedebug 0\n\
set stop-on-solib-events 0\n\
set architecture auto\n\
set endian auto\n\
set demangle-style auto\n\
set language auto\n\
set follow-fork-mode parent\n\
set check range auto\n\
set check type auto\n\
set annotate 1\n\
set complaints 0\n\
set gnutarget auto\n\
set height 0\n\
set history filename /home/kevinfi/.gdb_history\n\
set history size 0d1000\n\
set input-radix 0d10\n\
set listsize 0d10\n\
set output-radix 0d10\n\
set print elements 0d200\n\
set print max-symbolic-offset 0\n\
set print repeats 0d10\n\
set prompt (gdb) \n\
set remoteaddresssize 0d32\n\
set remotebaud 0d4294967295\n\
set remotebreak 0\n\
set remotelogbase ascii\n\
set remotetimeout 0d20\n\
set remotewritesize 0d1792\n\
set solib-search-path \n\
set watchdog 0\n\
set width 0\n
! Ddd*dbxSettings: 
! Ddd*xdbSettings: 
! Ddd*jdbSettings: 
! Ddd*pydbSettings: 
! Ddd*perlSettings: 

! Source.
Ddd*findWordsOnly: on
Ddd*findCaseSensitive: on
! Ddd*tabWidth: 8
! Ddd*indentSource: 0
! Ddd*indentCode: 4
Ddd*cacheSourceFiles: on
Ddd*cacheMachineCode: on
Ddd*displayGlyphs: on
Ddd*displayLineNumbers: off
Ddd*disassemble: off
Ddd*allRegisters: off

! Undo Buffer.
! Ddd*maxUndoDepth: -1
! Ddd*maxUndoSize: 2000000

! Misc preferences.
Ddd*keyboardFocusPolicy: POINTER
Ddd*statusAtBottom: on
Ddd*suppressWarnings: off
Ddd*warnIfLocked: off
Ddd*checkGrabs: on
Ddd*saveHistoryOnExit: on
Ddd*paperSize: 210mm x 297mm
Ddd*blinkWhileBusy: on
Ddd*splashScreen: on
Ddd*startupTips: on

! Keys.
Ddd*globalTabCompletion: on
Ddd*cutCopyPasteBindings: Motif
Ddd*selectAllBindings: KDE

! Data.
Ddd*pannedGraphEditor: off
Ddd*graph_edit.showGrid: on
Ddd*graph_edit.snapToGrid: on
Ddd*graph_edit.showHints: on
Ddd*graph_edit.showAnnotations: on
Ddd*graph_edit.layoutMode: regular
Ddd*graph_edit.autoLayout: off
Ddd*showBaseDisplayTitles: on
Ddd*showDependentDisplayTitles: off
Ddd*autoCloseDataWindow: on
! Ddd*graph_edit.GridSize: 16
Ddd*detectAliases: off
Ddd*clusterDisplays: off
Ddd*displayPlacement: XmVERTICAL
Ddd*align2dArrays: on
Ddd*arrayOrientation: XmVERTICAL
Ddd*structOrientation: XmVERTICAL
Ddd*showMemberNames: on

! Themes.
Ddd*themes: \
! tinyvalues.vsl        \n\
! suppress.vsl  \n\
! smallvalues.vsl       \n\
! smalltitles.vsl       \n\
! red.vsl       \n\
! green.vsl     \n\
!       green.vsl\n

! Tips.
Ddd*buttonTips: on
Ddd*valueTips: on
Ddd*buttonDocs: on
Ddd*valueDocs: on

! Helpers.
! Ddd*editCommand: ${XEDITOR-false} address@hidden@ @FILE@ || xterm -e 
${EDITOR-vi} address@hidden@ @FILE@
! Ddd*getCoreCommand: 
! Ddd*psCommand: ps x 2> /dev/null || ps -ef 2> /dev/null || ps
! Ddd*termCommand: xterm -bg \'grey96\' -fg \'black\' -cr \'DarkGreen\' -fn 
\'@address@hidden' -title \'DDD: Execution Window\' -e /bin/sh -c
! Ddd*uncompressCommand: gzip -d -c
! Ddd*wwwCommand: mozilla -remote \'openURL(@URL@)\' || netscape -remote 
\'openURL(@URL@)\' || ${WWWBROWSER-false} \'@address@hidden' || mozilla 
\'@address@hidden' || kfmbrowser \'@address@hidden' || netscape 
\'@address@hidden' || gnudoit \'(w3-fetch \"@address@hidden")\' || mosaic 
\'@address@hidden' || Mosaic \'@address@hidden' || xterm -e lynx 
\'@address@hidden'
! Ddd*plotCommand: gnuplot -bg \'grey96\' -font \'@address@hidden' -name 
\'@address@hidden' -geometry +5000+5000
Ddd*plotTermType: xlib
! Ddd*printCommand: lpr

! Tool Bars.
Ddd*toolbarsAtBottom: off
Ddd*buttonImages: on
Ddd*buttonCaptions: on
Ddd*FlatButtons: on
Ddd*buttonColorKey: g
Ddd*activeButtonColorKey: c

! Command Tool.
Ddd*commandToolBar: off
! Ddd*toolRightOffset: 8
! Ddd*toolTopOffset: 8

! Buttons.
Ddd*consoleButtons: 
Ddd*sourceButtons: 
Ddd*dataButtons: 
Ddd*verifyButtons: on

! Display shortcuts.
! Ddd*gdbDisplayShortcuts: \
! /t () // Convert to Bin\n\
! /d () // Convert to Dec\n\
! /x () // Convert to Hex\n\
! /o () // Convert to Oct
! Ddd*dbxDisplayShortcuts: 
! Ddd*xdbDisplayShortcuts: 
! Ddd*jdbDisplayShortcuts: 
! Ddd*pydbDisplayShortcuts: \
! /t () // Convert to Bin\n\
! /d () // Convert to Dec\n\
! /x () // Convert to Hex\n\
! /o () // Convert to Oct
! Ddd*perlDisplayShortcuts: \
! sprintf(\"%#x\", ())  // Convert to Hex\n\
! sprintf(\"%#o\", ())  // Convert to Oct

! Fonts.
! Ddd*defaultFont: helvetica-medium
! Ddd*variableWidthFont: helvetica-medium
! Ddd*fixedWidthFont: lucidatypewriter-medium
! Ddd*dataFont: lucidatypewriter-medium
Ddd*FontSize: 120

! Windows.
Ddd*openDataWindow: off
Ddd*openSourceWindow: on
Ddd*openDebuggerConsole: on
Ddd*Separate: off
Ddd*separateExecWindow: off
Ddd*groupIconify: off
Ddd*uniconifyWhenReady: on

! Maintenance.
Ddd*dumpCore: on
Ddd*debugCoreDumps: off

! Window sizes.
Ddd*graph_edit.height: 100
Ddd*source_text_w.columns: 80
Ddd*source_text_w.rows: 31
Ddd*code_text_w.columns: 80
Ddd*code_text_w.rows: 4
Ddd*gdb_w.columns: 80
Ddd*gdb_w.rows: 5

reply via email to

[Prev in Thread] Current Thread [Next in Thread]