GNU DDD 3.3.11 (i686-pc-linux-gnu) Copyright (C) 1995-1999 Technische Universität Braunschweig, Germany. Copyright (C) 1999-2001 Universität Passau, Germany. Copyright (C) 2001 Universität des Saarlandes, Germany. Copyright (C) 2001-2004 Free Software Foundation, Inc. Compiled with GCC 4.0.0 20050519 (Red Hat 4.0.0-8), GNU libc 2.3 Requires X11R6, Xt11R6, Motif 2.1 (GNU/LessTif Version 2.1 Release 0.94.4) Includes XPM 3.4.11, Athena Panner (7000002L), DDD core, Readline 5.0 Built 2005-07-05 by Max . $ ./ddd cxxtest + /bin/sh -c 'exec gdb -q -fullname '\''cxxtest'\''' # Hello, world! # Opening session "10e4d9d1a6000112054912100000024730139"... # Enabling core dumps... # Enabling core dumps...done. # Running GDB (pid 31957, tty /dev/pts/12)... 2005.07.05 09:38:41 <- "Using host libthread_db library \"/lib/libthread_db.so.1\".\n" # Current language: C/C++ # Searching "vsllib/ddd.vsl"... # Trying "/home/didomax/.ddd/vsllib/ddd.vsl" # Trying "./../vsllib/ddd.vsl" # Searching "vsllib/ddd.vsl"..."./../vsllib/ddd.vsl". # Creating "/home/didomax/.ddd/"... # Creating "/home/didomax/.ddd/"...done. # Creating "/home/didomax/.ddd/sessions/"... # Creating "/home/didomax/.ddd/sessions/"...done. # Creating "/home/didomax/.ddd/themes/"... # Creating "/home/didomax/.ddd/themes/"...done. # Creating "/home/didomax/.ddd/sessions/10e4d9d1a6000112054912100000024730139/"... # Creating "/home/didomax/.ddd/sessions/10e4d9d1a6000112054912100000024730139/"...done. # Saving session in "/home/didomax/.ddd/sessions/10e4d9d1a6000112054912100000024730139/init"... # Searching "ddd/Ddd"... # Trying "/home/didomax/.ddd/ddd/Ddd" # Trying "./../ddd/Ddd" # Searching "ddd/Ddd"..."./../ddd/Ddd". # Saving session in "/home/didomax/.ddd/sessions/10e4d9d1a6000112054912100000024730139/init"...done. 2005.07.05 09:38:41 <- "(gdb) " 2005.07.05 09:38:41 -> "set prompt (gdb) \n" 2005.07.05 09:38:41 <- "(gdb) " 2005.07.05 09:38:41 -> "set height 0\n" 2005.07.05 09:38:41 <- "(gdb) " 2005.07.05 09:38:41 -> "set width 0\n" 2005.07.05 09:38:41 <- "(gdb) " 2005.07.05 09:38:41 -> "set annotate 1\n" 2005.07.05 09:38:41 <- "(gdb) " 2005.07.05 09:38:41 -> " set verbose off\n" 2005.07.05 09:38:41 <- "(gdb) " 2005.07.05 09:38:41 -> "info line\n" 2005.07.05 09:38:41 <- "No line number information available.\n" "(gdb) " 2005.07.05 09:38:41 -> "list\n" 2005.07.05 09:38:41 <- "734\t char name[1024];\n" "735\t std::cout << \"What\'s your name? \";\n" "736\t std::cin >> name;\n" "737\t std::cerr << \"Hello, \" << name << \"!\\n" "\";\n" "738\t}\n" "739\t\n" "740\t//--------------------------------------------------------------------------\n" "741\tint main(int /* argc */, char ** /* argv */)\n" "742\t{\n" "743\t int i = 42;\n" "(gdb) " 2005.07.05 09:38:41 -> "info line\n" 2005.07.05 09:38:41 <- "Line 743 of \"./cxxtest.C\" starts at address 0x8049936 and ends at 0x804993d .\n" "\032\032/opt/didomax/devel/ddd-3.3.11/ddd/cxxtest.C:743:15207:beg:0x8049936\n" "(gdb) " 2005.07.05 09:38:41 -> "output 4711\n" 2005.07.05 09:38:41 <- "4711(gdb) " 2005.07.05 09:38:41 -> "show language\n" 2005.07.05 09:38:41 <- "The current source language is \"auto; currently c++\".\n" "(gdb) " 2005.07.05 09:38:41 -> "show version\n" 2005.07.05 09:38:41 <- "GNU gdb Red Hat Linux (6.3.0.0-1.21rh)\n" "Copyright 2004 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-gnu\".\n" "(gdb) " 2005.07.05 09:38:41 -> "pwd\n" 2005.07.05 09:38:41 <- "Working directory /opt/didomax/devel/ddd-3.3.11/ddd.\n" "(gdb) " 2005.07.05 09:38:41 -> "info breakpoints\n" 2005.07.05 09:38:41 <- "No breakpoints or watchpoints.\n" "(gdb) " 2005.07.05 09:38:41 -> "show history filename\n" 2005.07.05 09:38:41 <- "The filename in which to record the command history is \"/opt/didomax/devel/ddd-3.3.11/ddd/.gdb_history\".\n" "(gdb) " 2005.07.05 09:38:41 -> "show history size\n" 2005.07.05 09:38:41 <- "The size of the command history is 1000.\n" "(gdb) " # Reading file "/opt/didomax/devel/ddd-3.3.11/ddd/cxxtest.C"... # Reading file "/opt/didomax/devel/ddd-3.3.11/ddd/cxxtest.C"...done. # File "/opt/didomax/devel/ddd-3.3.11/ddd/cxxtest.C" 772 lines, 17051 characters # Setting buttons... # Setting buttons...done. 2005.07.05 09:38:42 -> "info source\n" 2005.07.05 09:38:42 <- "Current source file is ./cxxtest.C\n" "Compilation directory is /home/didomax/myopt/devel/ddd-3.3.11/ddd\n" "Located in /opt/didomax/devel/ddd-3.3.11/ddd/cxxtest.C\n" "Contains 772 lines.\n" "Source language is c++.\n" "Compiled with DWARF 2 debugging format.\n" "Does not include preprocessor macro info.\n" "(gdb) " 2005.07.05 09:38:42 -> "info files\n" 2005.07.05 09:38:42 <- "Symbols from \"/opt/didomax/devel/ddd-3.3.11/ddd/cxxtest\".\n" "Local exec file:\n" "\t`/opt/didomax/devel/ddd-3.3.11/ddd/cxxtest\', file type elf32-i386.\n" "\tEntry point: 0x80488c8\n" "\t0x08048134 - 0x08048147 is .interp\n" "\t0x08048148 - 0x08048168 is .note.ABI-tag\n" "\t0x08048168 - 0x0804821c is .hash\n" "\t0x0804821c - 0x080483bc is .dynsym\n" "\t0x080483bc - 0x080485fb is .dynstr\n" "\t0x080485fc - 0x08048630 is .gnu.version\n" "\t0x08048630 - 0x080486d0 is .gnu.version_r\n" "\t0x080486d0 - 0x08048708 is .rel.dyn\n" "\t0x08048708 - 0x08048790 is .rel.plt\n" "\t0x08048790 - 0x080487a7 is .init\n" "\t0x080487a8 - 0x080488c8 is .plt\n" "\t0x080488c8 - 0x0804a1d0 is .text\n" "\t0x0804a1d0 - 0x0804a1ea is .fini\n" "\t0x0804a200 - 0x0804a40d is .rodata\n" "\t0x0804a410 - 0x0804a4cc is .eh_frame_hdr\n" "\t0x0804a4cc - 0x0804a810 is .eh_frame\n" "\t0x0804a810 - 0x0804a82b is .gcc_except_table\n" "\t0x0804b000 - 0x0804b00c is .ctors\n" "\t0x0804b00c - 0x0804b014 is .dtors\n" "\t0x0804b014 - 0x0804b018 is .jcr\n" "\t0x0804b018 - 0x0804b0f8 is .dynamic\n" "\t0x0804b0f8 - 0x0804b0fc is .got\n" "\t0x0804b0fc - 0x0804b14c is .got.plt\n" "\t0x0804b14c - 0x0804b174 is .data\n" "\t0x0804b180 - 0x0804d8a4 is .bss\n" "(gdb) " 2005.07.05 09:38:42 -> "info program\n" 2005.07.05 09:38:42 <- "The program being debugged is not being run.\n" "(gdb) " 2005.07.05 09:38:42 -> "set confirm off\n" 2005.07.05 09:38:42 <- "(gdb) " 2005.07.05 09:38:42 -> "source /tmp/dddlu2KZJ\n" 2005.07.05 09:38:42 <- "(gdb) " 2005.07.05 09:38:42 -> "info breakpoints\n" 2005.07.05 09:38:42 <- "No breakpoints or watchpoints.\n" "(gdb) " 2005.07.05 09:38:42 -> "# reset\n" 2005.07.05 09:38:42 <- "(gdb) " 2005.07.05 09:38:42 -> "info breakpoints\n" 2005.07.05 09:38:42 <- "No breakpoints or watchpoints.\n" "(gdb) " 2005.07.05 09:38:42 -> "display\n" 2005.07.05 09:38:42 <- "(gdb) " 2005.07.05 09:38:42 -> "info display\n" 2005.07.05 09:38:42 <- "There are no auto-display expressions now.\n" "(gdb) " 2005.07.05 09:38:42 -> "set environment TERM dumb\n" 2005.07.05 09:38:42 <- "(gdb) " 2005.07.05 09:38:42 -> "info files\n" 2005.07.05 09:38:42 <- "Symbols from \"/opt/didomax/devel/ddd-3.3.11/ddd/cxxtest\".\n" "Local exec file:\n" "\t`/opt/didomax/devel/ddd-3.3.11/ddd/cxxtest\', file type elf32-i386.\n" "\tEntry point: 0x80488c8\n" "\t0x08048134 - 0x08048147 is .interp\n" "\t0x08048148 - 0x08048168 is .note.ABI-tag\n" "\t0x08048168 - 0x0804821c is .hash\n" "\t0x0804821c - 0x080483bc is .dynsym\n" "\t0x080483bc - 0x080485fb is .dynstr\n" "\t0x080485fc - 0x08048630 is .gnu.version\n" "\t0x08048630 - 0x080486d0 is .gnu.version_r\n" "\t0x080486d0 - 0x08048708 is .rel.dyn\n" "\t0x08048708 - 0x08048790 is .rel.plt\n" "\t0x08048790 - 0x080487a7 is .init\n" "\t0x080487a8 - 0x080488c8 is .plt\n" "\t0x080488c8 - 0x0804a1d0 is .text\n" "\t0x0804a1d0 - 0x0804a1ea is .fini\n" "\t0x0804a200 - 0x0804a40d is .rodata\n" "\t0x0804a410 - 0x0804a4cc is .eh_frame_hdr\n" "\t0x0804a4cc - 0x0804a810 is .eh_frame\n" "\t0x0804a810 - 0x0804a82b is .gcc_except_table\n" "\t0x0804b000 - 0x0804b00c is .ctors\n" "\t0x0804b00c - 0x0804b014 is .dtors\n" "\t0x0804b014 - 0x0804b018 is .jcr\n" "\t0x0804b018 - 0x0804b0f8 is .dynamic\n" "\t0x0804b0f8 - 0x0804b0fc is .got\n" "\t0x0804b0fc - 0x0804b14c is .got.plt\n" "\t0x0804b14c - 0x0804b174 is .data\n" "\t0x0804b180 - 0x0804d8a4 is .bss\n" "(gdb) " 2005.07.05 09:38:42 -> "info program\n" 2005.07.05 09:38:42 <- "The program being debugged is not being run.\n" "(gdb) " 2005.07.05 09:38:42 -> "help detach\n" 2005.07.05 09:38:42 <- "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) " # Creating options in "/home/didomax/.ddd/init"... # Creating options in "/home/didomax/.ddd/init"...done. 2005.07.05 09:38:42 -> "help run\n" 2005.07.05 09:38:42 <- "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) " # Opening session "10e4d9d1a6000112054912100000024730139"...done. # Welcome to DDD 3.3.11 "Rhubarb" (i686-pc-linux-gnu) 2005.07.05 09:38:42 -> "help step\n" 2005.07.05 09:38:42 <- "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) " 2005.07.05 09:38:42 -> "help stepi\n" 2005.07.05 09:38:42 <- "Step one instruction exactly.\n" "Argument N means do this N times (or till program stops for another reason).\n" "(gdb) " 2005.07.05 09:38:42 -> "help next\n" 2005.07.05 09:38:42 <- "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) " 2005.07.05 09:38:42 -> "help nexti\n" 2005.07.05 09:38:42 <- "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) " 2005.07.05 09:38:42 -> "help until\n" 2005.07.05 09:38:42 <- "Execute until the program reaches a source line greater than the current\n" "or a specified location (same args as break command) within the current frame.\n" "(gdb) " 2005.07.05 09:38:42 -> "help finish\n" 2005.07.05 09:38:42 <- "Execute until selected stack frame returns.\n" "Upon return, the value returned is printed and put in the value history.\n" "(gdb) " 2005.07.05 09:38:42 -> "help cont\n" 2005.07.05 09:38:42 <- "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" 2005.07.05 09:38:42 <- "(gdb) " 2005.07.05 09:38:42 -> "help signal\n" 2005.07.05 09:38:42 <- "Continue program giving it signal specified by the argument.\n" "An argument of \"0\" means continue program without giving it a signal.\n" 2005.07.05 09:38:42 <- "(gdb) " 2005.07.05 09:38:42 -> "help kill\n" 2005.07.05 09:38:42 <- "Kill execution of program being debugged.\n" 2005.07.05 09:38:42 <- "(gdb) " 2005.07.05 09:38:42 -> "help up\n" 2005.07.05 09:38:42 <- "Select and print stack frame that called this one.\n" "An argument says how many frames up to go.\n" 2005.07.05 09:38:42 <- "(gdb) " 2005.07.05 09:38:42 -> "help down\n" 2005.07.05 09:38:42 <- "Select and print stack frame called by this one.\n" "An argument says how many frames down to go.\n" 2005.07.05 09:38:42 <- "(gdb) " 2005.07.05 09:38:46 -> "output i\n" 2005.07.05 09:38:46 <- "No symbol \"i\" in current context." 2005.07.05 09:38:46 <- "\n" 2005.07.05 09:38:46 <- "(gdb) " 2005.07.05 09:38:46 -> "output plot_test\n" 2005.07.05 09:38:46 <- "{void (void)} 0x8049568 " 2005.07.05 09:38:46 <- "(gdb) " 2005.07.05 09:38:48 -> "info line \'plot_test\'\n" # Running GDB (pid 31957, tty /dev/pts/12)...Aborted. # Saving options in "/home/didomax/.ddd/init"... # Saving options in "/home/didomax/.ddd/init"...done. # Deleting session "10e4d9d1a6000112054912100000024730139"... # Current session is [none]. # Deleting session "10e4d9d1a6000112054912100000024730139"...done. # Saving history in "/home/didomax/.ddd/history"... # Saving history in "/home/didomax/.ddd/history"...done. # Thanks for using DDD 3.3.11!