GNU DDD 3.3.1 (i386-redhat-linux-gnu) Copyright (C) 1995-1999 Technische Universität Braunschweig, Germany. Copyright (C) 1999-2001 Universität Passau, Germany. Compiled with GCC 2.96 20000731 (Red Hat Linux 7.1 2.96-94), GNU libc 2.2 Requires X11R6, Xt11R6, Motif 1.2 (GNU/LessTif Version 1.2 Release 0.92.32) Includes XPM 3.4.11, Athena Panner, DDD core Built 2001-07-19 by Compile Server . $ ddd + /bin/sh -c 'exec gdb -q -fullname' # Hello, world! # Starting GDB... # Warning: core dumps are disabled # Running GDB (pid 20343, tty /dev/pts/0)... <- "(gdb) " -> "set prompt (gdb) \n" # Current language: C/C++ # Searching "vsllib/ddd.vsl"... # Trying "/home/mohan/.ddd/vsllib/ddd.vsl" # Trying "/usr/share/ddd-3.3.1/vsllib/ddd.vsl" # Searching "vsllib/ddd.vsl"..."/usr/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 Red Hat Linux 7.x (5.0rh-15) (MI_OUT)\n" "Copyright 2001 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 \"i386-redhat-linux\".\n" "(gdb) " -> "pwd\n" <- "Working directory /tmp/Cparse.\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 \"/tmp/Cparse/.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/dddO7FULa\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" (i386-redhat-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) " # Invoking DDD manual browser... + /bin/sh -c 'info --subnodes -o - -f ddd 2> /dev/null || man ddd || man xddd' # Invoking DDD manual browser...done.