DDD 3.1.4 (hppa1.1-hp-hpux10.20), Copyright (C) 1999 TU Braunschweig. Compiled with GCC 2.7.2.3, libstdc++ 2.7.2 Requires X11R6, Xt11R6, Motif 1.2.4 (OSF/Motif Version 1.2.5) Includes DDD core, manual, app-defaults, XPM 3.4.3, Athena Panner Built 1999-04-16 by Hartmut Pohl
. $ ddd --gdb --debugger gdbi86 + /bin/sh -c 'exec gdbi86 -q -fullname' # Hello, world! # Starting GDB... # Raising core file size limit from 2147483646 to 2147483647 bytes... # Raising core file size limit from 2147483646 to 2147483647 bytes...done. # Running GDB (pid 8080, tty /dev/pts/5)... # Current language: c/c++ <- "(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 \"add-symbol-file\" or \"load\" 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) " -> "pwd\n" <- "Working directory /vobs/projects/HP816_3_4/Firmware/Mainframe.\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 \"/vobs/projects/HP816_3_4/Firmware/Mainframe/.gdb_history\".\n" "(gdb) " -> "show history size\n" <- "The size of the command history is 256.\n" "(gdb) " -> "info files\n" <- "(gdb) " -> "info program\n" <- "The program being debugged is not being run.\n" <- "(gdb) " -> "source /var/tmp/caaa08078\n" <- "(gdb) " -> "info breakpoints\n" <- "No breakpoints or watchpoints.\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 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 you\n" "were debugging a file, the file is closed and gdb no longer accesses it.\n" "(gdb) " # Starting GDB...done. # Welcome to DDD 3.1.4 "Travels" (hppa1.1-hp-hpux10.20) -> "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) " -> "info source\n" <- "No current source file.\n" "(gdb) " -> "sharedlibrary\n" <- "Undefined command: \"sharedlibrary\". Try \"help\".\n" "(gdb) " -> "info sources\n" <- "No symbol table is loaded. Use the \"add-symbol-file\" or \"load\" command.\n" "(gdb) " -> "info line \'main\'\n" <- "No symbol table is loaded. Use the \"add-symbol-file\" or \"load\" command." <- "\n" <- "(gdb) " -> "info breakpoints\n" <- "No breakpoints or watchpoints.\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 architecture -- Set architecture of target\n" "set args -- Set argument list to give program being debugged when it is started\n" "set assembly-language -- Set x86 instruction set to use for disassembly\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 environment -- Set environment variable value to give the program\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 inhibit-gdbinit -- Set whether gdb reads the gdbinit files\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 longjmp-breakpoint-enable -- Set internal breakpoints to handle longjmp() properly\n" "set output-radix -- Set default output radix for printing of values\n" "set prefetch-mem-enable -- Set whether to enable target memory prefetching\n" "set print -- Generic command for setting how things print\n" "set prompt -- Set gdb\'s prompt\n" "set radix -- Set default input and output number radices\n" "set remotebaud -- Set baud rate for remote serial I/O\n" "set remotedebug -- Set debugging of remote protocol\n" "set remotelogbase -- Set \n" "set remotelogfile -- Set filename for remote session recording\n" "set remotetimeout -- Set timeout limit to wait for target to respond\n" "set symbol-readnow -- Set immediate reading of full symbol table data\n" "set targetdebug -- Set target debugging\n" "set unsettable-breakpoint-autodisable -- Set automatic disabling of unsettable breakpoints\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" "set wrs-detach-behavior -- Set whether to quietly detach tasks in target/attach/quit\n" "set wtx-event-debug-print -- Set whether to print debug messages in the new event handling code\n" "set wtx-gui-bp2-message -- Set whether to send bp2 messages to the Tornado GUI\n" "set wtx-ignore-exit-status -- Set whether the exit status of the debugged task is ignored (assumed zero)\n" "set wtx-load-flags -- Set load flags used when loading a new object module\n" "set wtx-load-path-qualify -- Set passing of full object path to target\n" "set wtx-load-timeout -- Set timeout in seconds used when loading new objects on target\n" "set wtx-new-target-message -- Set whether to use the new target message format\n" "set wtx-order-debug-print -- Set whether to print orders issued to the inferior\n" "set wtx-override-configuration-check -- Set override checking Gdb configuration\n" "set wtx-task-priority -- Set priority of tasks created using \"run\" command\n" "set wtx-task-stack-size -- Set stack size (in bytes) of tasks created using \"run\" command\n" "set wtx-tool-name -- Set tool name used by debugger when connecting to the target server\n" "set xfer-mem-debug-print -- Set whether to enable target_xfer_memory debug printfs\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 architecture\n" <- "The target architecture is set automatically (currently unknown)\n" "(gdb) " -> "show assembly-language\n" <- "X86 instruction set to use for disassembly" <- " is " <- "\"" <- "i386" <- "\"" <- ".\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 on.\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 environment\n" <- "_=/vobs/environment/vxworks/tornado20/host/parisc-hpux10/bin/gdbi86\n" "MANPATH=/usr/dt/man:/usr/share/man/%L:/usr/share/man:/usr/contrib/man/%L:/usr/contrib/man:/usr/local/man/%L:/usr/local/man:/opt/pd/share/man/%L:/opt/pd/share/man:/opt/graphics/starbase/share/man:/opt/aCC/share/man/%L:/opt/aCC/share/man:/opt/audio/share/man:/opt/blinklink/share/man:/opt/ansic/share/man/%L:/opt/ansic/share/man:/opt/langtools/share/man/%L:/opt/langtools/share/man:/opt/CC/share/man:/opt/video/share/man:/opt/videoout/share/man:/opt/hparray/share/man:/opt/sicl/share/man:/opt/vxipnp/hpux/hpvisa/share/man:/opt/imake/man:/opt/omni/lib/man:/opt/pwplus/share/man:/net/ocmws007/home/ddts/doc/man:/tmp_mnt/net/ocmws007/opt/share/man:/usr/atria/doc/man:/usr/man:/usr/local/man:/usr/share/man:/usr/contrib/man:/usr/dt/man:/usr/dt/share/man:/usr/local/samba/man\n" "DTDATABASESEARCHPATH=/users/quangtra/.dt/types,/etc/dt/appconfig/types/%L,/etc/dt/appconfig/types/C,/usr/dt/appconfig/types/%L,/usr/dt/appconfig/types/C\n" "SESSIONTYPE=dt\n" "LANG=C\n" "PAGER=cat\n" "XCORAL_SMACLIB=/users/quangtra/programme/Xcoral\n" "SHLIB_PATH=/vobs/environment/vxworks/tornado20/host/parisc-hpux10/lib\n" "VISUAL=nc\n" "WIND_HOST_TYPE=parisc-hpux10\n" "PATH=/users/quangtra:/users/quangtra/bin:/vobs/environment/vxworks/tornado20/host/parisc-hpux10/bin:/bin:/bin/X11:/usr/bin:/usr/dt/bin:/usr/bin/X11:/usr/local/bin:/usr/local/bin/X11:/net/ocmws007/opt/share/bin:/usr/contrib/bin:/opt/langtools/bin:/etc:/usr/local/lib/X11:/usr/vue/bin:/net/ocmws007/opt/Acrobat4:/net/ocmws007/opt/Acrobat4/bin:/net/ocmws007/home/ddts/bin:/usr/atria/bin:/net/ocmws007/opt/netscape/communicator_47/netscape:/vobs/cctools/trigger:/vobs/projects/HP816_3_4/Firmware/tools:/net/ocmws007/opt_ocm/frame.5.5/bin:/net/ocmws007/opt_ocm/frame.5.5/bin:/opt/sicl/bin:/net/ocmws007/opt/snavigator/bin:/users/quangtra/programme/Xcoral:.\n" "COLUMNS=144\n" "DTUSERSESSION=quangtra-bid01542.bbn.hp.com-0\n" "XMICONBMSEARCHPATH=/users/quangtra/.dt/icons/%B%M.bm:/users/quangtra/.dt/icons/%B%M.pm:/users/quangtra/.dt/icons/%B:/etc/dt/appconfig/icons/%L/%B%M.bm:/etc/dt/appconfig/icons/%L/%B%M.pm:/etc/dt/appconfig/icons/%L/%B:/etc/dt/appconfig/icons/C/%B%M.bm:/etc/dt/appconfig/icons/C/%B%M.pm:/etc/dt/appconfig/icons/C/%B:/usr/dt/appconfig/icons/%L/%B%M.bm:/usr/dt/appconfig/icons/%L/%B%M.pm:/usr/dt/appconfig/icons/%L/%B:/usr/dt/appconfig/icons/C/%B%M.bm:/usr/dt/appconfig/icons/C/%B%M.pm:/usr/dt/appconfig/icons/C/%B\n" "SESSION_SVR=bidro88\n" "NNTPSERVER=cswreg.cost.agilent.com\n" "WINDOWID=54526039\n" "CCOPTS=-Aa -DHPUX -DHP9800 -DVERMAJOR=9 -DVERMINOR=0 -DMOTIF -DIDS -D_HPUX_SOURCE -DRELEASE -I/usr/include/X11R5\n" "EDITOR=nc\n" "CLASSPATH=/opt/communicator/java/classes\n" "LOGNAME=quangtra\n" "DTSCREENSAVERLIST=StartDtscreenSwarm StartDtscreenQix StartDtscreenFlame StartDtscreenHop StartDtscreenImage StartDtscreenLife StartDtscreenRotor StartDtscreenPyro StartDtscreenWorm StartDtscreenBlank\n" "MAIL=/usr/mail/quangtra\n" "HOSTNAME=bidro88\n" "TERMINAL_EMULATOR=dtterm\n" "WIND_REGISTRY=ocmws007.bbn.hp.com\n" "XKEYSYMDB=/usr/lib/X11/XKeysymDB\n" "TERMCAP=\n" "USER=quangtra\n" "FM_FLS_AUTO=/fminit/fm_fls_auto\n" "LC_MESSAGES=C\n" "SHLVL=2\n" "CLEARCASE_CMDLINE=setview toantran\n" "NENSCRIPT=-TA4 -G -Z\n" "PAL_SERVER=isoit033\n" "DDTSHOME=/net/ocmws007/home/ddts\n" "WIND_BASE=/vobs/environment/vxworks/tornado20\n" "XFORCE_INTERNET=True\n" "SOCKS_NS=15.255.208.3\n" "DISPLAY=bid01542.bbn.hp.com:0.0\n" "XCORALRC=/users/quangtra/.xcoralrc\n" "SHELL=/users/quangtra/bin/bash\n" "HOSTTYPE=hppa1.1\n" "FMARCH=/net/ocmws007/opt_ocm/frame.5.5/bin/scripts\n" "DTAPPSEARCHPATH=/users/quangtra/.dt/appmanager:/etc/dt/appconfig/appmanager/%L:/etc/dt/appconfig/appmanager/C:/usr/dt/appconfig/appmanager/%L:/usr/dt/appconfig/appmanager/C\n" "ddtspath=/net/ocmws007/home/ddts/bin\n" "OSTYPE=hpux10.20\n" "HOME=/users/quangtra\n" "CLEARCASE_ROOT=/view/toantran\n" "FM_FLS_HOST=ocmws016\n" "XMICONSEARCHPATH=/users/quangtra/.dt/icons/%B%M.pm:/users/quangtra/.dt/icons/%B%M.bm:/users/quangtra/.dt/icons/%B:/etc/dt/appconfig/icons/%L/%B%M.pm:/etc/dt/appconfig/icons/%L/%B%M.bm:/etc/dt/appconfig/icons/%L/%B:/etc/dt/appconfig/icons/C/%B%M.pm:/etc/dt/appconfig/icons/C/%B%M.bm:/etc/dt/appconfig/icons/C/%B:/usr/dt/appconfig/icons/%L/%B%M.pm:/usr/dt/appconfig/icons/%L/%B%M.bm:/usr/dt/appconfig/icons/%L/%B:/usr/dt/appconfig/icons/C/%B%M.pm:/usr/dt/appconfig/icons/C/%B%M.bm:/usr/dt/appconfig/icons/C/%B\n" "TERM=dumb\n" "FMHOME=/net/ocmws007/opt_ocm/frame.5.5\n" "PWD=/vobs/projects/HP816_3_4/Firmware/Mainframe\n" "TZ=MEZ-1MESZ\n" "MACHTYPE=hppa1.1-hp-hpux10.20\n" "DDD=ddd-3.1.4-hppa1.1-hp-hpux10.20\n" "WINEDITOR=nedit\n" "ENV=/users/quangtra/.kshrc\n" "LESS=-i\n" "GCC_EXEC_PREFIX=/vobs/environment/vxworks/tornado20/host/parisc-hpux10/lib/gcc-lib/\n" "CLEARCASE_BLD_UMASK=2\n" "XMBINDDIR=/usr/dt/lib/bindings\n" "LINES=51\n" "DTHELPSEARCHPATH=/users/quangtra/.dt/help/quangtra-bid01542.bbn.hp.com-0/%H:/users/quangtra/.dt/help/quangtra-bid01542.bbn.hp.com-0/%H.sdl:/users/quangtra/.dt/help/quangtra-bid01542.bbn.hp.com-0/%H.hv:/users/quangtra/.dt/help/%H:/users/quangtra/.dt/help/%H.sdl:/users/quangtra/.dt/help/%H.hv:/etc/dt/appconfig/help/%L/%H:/etc/dt/appconfig/help/%L/%H.sdl:/etc/dt/appconfig/help/%L/%H.hv:/etc/dt/appconfig/help/C/%H:/etc/dt/appconfig/help/C/%H.sdl:/etc/dt/appconfig/help/C/%H.hv:/usr/dt/appconfig/help/%L/%H:/usr/dt/appconfig/help/%L/%H.sdl:/usr/dt/appconfig/help/%L/%H.hv:/usr/dt/appconfig/help/C/%H:/usr/dt/appconfig/help/C/%H.sdl:/usr/dt/appconfig/help/C/%H.hv:/etc/vhelp/%T/%L/%H:/etc/vhelp/%T/%H:/etc/vhelp/%T/%L/%H.hv:/etc/vhelp/%T/%H.hv:/etc/vhelp/%T/C/%H:/etc/vhelp/%T/C/%H.hv:/usr/vhelp/%T/%L/%H:/usr/vhelp/%T/%H:/usr/vhelp/%T/%L/%H.hv:/usr/vhelp/%T/%H.hv:/usr/vhelp/%T/C/%H:/usr/vhelp/%T/C/%H.hv\n" "MAILCHECK=120\n" "A__z=-5MAILCHECK\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 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 \"/vobs/projects/HP816_3_4/Firmware/Mainframe/.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 256.\n" "(gdb) " -> "show inhibit-gdbinit\n" <- "Whether gdb reads the gdbinit files is off.\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; currently c\".\n" "(gdb) " -> "show listsize\n" <- "Number of source lines gdb will list by default is 10.\n" "(gdb) " -> "show longjmp-breakpoint-enable\n" <- "Internal breakpoints to handle longjmp() properly is on.\n" "(gdb) " -> "show output-radix\n" <- "Default output radix for printing of values is 10.\n" <- "(gdb) " -> "show prefetch-mem-enable\n" <- "Whether to enable target memory prefetching" <- " 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 double-format -- Set \'printf\' format for double-precision floating point values\n" "set print elements -- Set limit on string chars or array elements to print\n" "set print float-format -- Set \'printf\' format for single-precision floating point values\n" "set print max-symbolic-offset -- Set the largest offset that will be printed in