GNU DDD 3.3.9-test3 (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 3.3.4, GNU libc 2.3 Requires X11R6, Xt11R6, Motif 2.1 (GNU/LessTif Version 2.1 Release 0.93.94) Includes XPM 3.4.11, Athena Panner (7000002L), DDD core Built 2004-06-21 by root . $ ddd + /bin/sh -c 'exec gdb -q -fullname' # Hello, world! # Starting GDB... # Enabling core dumps... # Enabling core dumps...done. # Running GDB (pid 21904, tty /dev/pts/27)... # Current language: C/C++ # Searching "vsllib/ddd.vsl"... # Trying "/root/.ddd/vsllib/ddd.vsl" # Trying "/usr/local/share/ddd-3.3.9-test3/vsllib/ddd.vsl" # Searching "vsllib/ddd.vsl"..."/usr/local/share/ddd-3.3.9-test3/vsllib/ddd.vsl". 2004.06.21 14:37:56 <- "(gdb) " 2004.06.21 14:37:56 -> "set prompt (gdb) \n" 2004.06.21 14:37:56 <- "(gdb) " 2004.06.21 14:37:56 -> "set height 0\n" 2004.06.21 14:37:56 <- "(gdb) " 2004.06.21 14:37:56 -> "set width 0\n" 2004.06.21 14:37:56 <- "(gdb) " 2004.06.21 14:37:56 -> "set annotate 1\n" 2004.06.21 14:37:56 <- "(gdb) " 2004.06.21 14:37:56 -> " set verbose off\n" 2004.06.21 14:37:56 <- "(gdb) " 2004.06.21 14:37:56 -> "info line\n" 2004.06.21 14:37:56 <- "No line number information available.\n" "(gdb) " 2004.06.21 14:37:56 -> "list\n" 2004.06.21 14:37:56 <- "No symbol table is loaded. Use the \"file\" command.\n" "(gdb) " 2004.06.21 14:37:56 -> "info line\n" 2004.06.21 14:37:56 <- "No line number information available.\n" "(gdb) " 2004.06.21 14:37:56 -> "output 4711\n" 2004.06.21 14:37:56 <- "4711(gdb) " 2004.06.21 14:37:56 -> "show language\n" 2004.06.21 14:37:56 <- "The current source language is \"auto; currently c\".\n" "(gdb) " 2004.06.21 14:37:56 -> "show version\n" 2004.06.21 14:37:56 <- "GNU gdb 6.1\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 \"i486-slackware-linux\".\n" "(gdb) " 2004.06.21 14:37:56 -> "pwd\n" 2004.06.21 14:37:56 <- "Working directory /root.\n" "(gdb) " 2004.06.21 14:37:56 -> "info breakpoints\n" 2004.06.21 14:37:56 <- "No breakpoints or watchpoints.\n" "(gdb) " 2004.06.21 14:37:56 -> "show history filename\n" 2004.06.21 14:37:56 <- "The filename in which to record the command history is \"/root/.gdb_history\".\n" "(gdb) " 2004.06.21 14:37:56 -> "show history size\n" 2004.06.21 14:37:56 <- "The size of the command history is 256.\n" "(gdb) " 2004.06.21 14:37:56 -> "info source\n" 2004.06.21 14:37:56 <- "No current source file.\n" "(gdb) " 2004.06.21 14:37:56 -> "info sources\n" 2004.06.21 14:37:56 <- "No symbol table is loaded. Use the \"file\" command.\n" "(gdb) " 2004.06.21 14:37:56 -> "info line main\n" 2004.06.21 14:37:56 <- "No symbol table is loaded. Use the \"file\" command.\n" "(gdb) " 2004.06.21 14:37:56 -> "info source\n" 2004.06.21 14:37:56 <- "No current source file.\n" "(gdb) " 2004.06.21 14:37:56 -> "info line MAIN\n" 2004.06.21 14:37:56 <- "No symbol table is loaded. Use the \"file\" command.\n" "(gdb) " 2004.06.21 14:37:56 -> "info files\n" 2004.06.21 14:37:56 <- "(gdb) " 2004.06.21 14:37:56 -> "info line main_\n" 2004.06.21 14:37:56 <- "No symbol table is loaded. Use the \"file\" command.\n" "(gdb) " 2004.06.21 14:37:56 -> "info program\n" 2004.06.21 14:37:56 <- "The program being debugged is not being run.\n" "(gdb) " 2004.06.21 14:37:56 -> "info line MAIN_\n" 2004.06.21 14:37:56 <- "No symbol table is loaded. Use the \"file\" command.\n" "(gdb) " 2004.06.21 14:37:56 -> "info source\n" 2004.06.21 14:37:56 <- "No current source file.\n" "(gdb) " 2004.06.21 14:37:56 -> "info line main__\n" 2004.06.21 14:37:56 <- "No symbol table is loaded. Use the \"file\" command.\n" "(gdb) " 2004.06.21 14:37:56 -> "info source\n" 2004.06.21 14:37:56 <- "No current source file.\n" "(gdb) " 2004.06.21 14:37:56 -> "info line MAIN__\n" 2004.06.21 14:37:56 <- "No symbol table is loaded. Use the \"file\" command.\n" "(gdb) " 2004.06.21 14:37:56 -> "info source\n" 2004.06.21 14:37:56 <- "No current source file.\n" "(gdb) " 2004.06.21 14:37:56 -> "info line _main\n" 2004.06.21 14:37:56 <- "No symbol table is loaded. Use the \"file\" command.\n" "(gdb) " 2004.06.21 14:37:56 -> "info source\n" 2004.06.21 14:37:56 <- "No current source file.\n" "(gdb) " 2004.06.21 14:37:56 -> "info line _MAIN\n" 2004.06.21 14:37:56 <- "No symbol table is loaded. Use the \"file\" command.\n" "(gdb) " 2004.06.21 14:37:56 -> "info source\n" 2004.06.21 14:37:56 <- "No current source file.\n" "(gdb) " 2004.06.21 14:37:56 -> "info line __main\n" 2004.06.21 14:37:56 <- "No symbol table is loaded. Use the \"file\" command.\n" "(gdb) " 2004.06.21 14:37:56 -> "info source\n" 2004.06.21 14:37:56 <- "No current source file.\n" "(gdb) " 2004.06.21 14:37:56 -> "info line __MAIN\n" 2004.06.21 14:37:56 <- "No symbol table is loaded. Use the \"file\" command.\n" "(gdb) " 2004.06.21 14:37:56 -> "info source\n" 2004.06.21 14:37:56 <- "No current source file.\n" "(gdb) " 2004.06.21 14:37:56 -> "info line my_main\n" 2004.06.21 14:37:56 <- "No symbol table is loaded. Use the \"file\" command.\n" "(gdb) " 2004.06.21 14:37:56 -> "info source\n" 2004.06.21 14:37:56 <- "No current source file.\n" "(gdb) " 2004.06.21 14:37:56 -> "info line the_main\n" 2004.06.21 14:37:56 <- "No symbol table is loaded. Use the \"file\" command.\n" "(gdb) " 2004.06.21 14:37:56 -> "info source\n" 2004.06.21 14:37:56 <- "No current source file.\n" "(gdb) " 2004.06.21 14:37:56 -> "info line vxworks_main\n" 2004.06.21 14:37:56 <- "No symbol table is loaded. Use the \"file\" command.\n" "(gdb) " 2004.06.21 14:37:56 -> "info source\n" 2004.06.21 14:37:56 <- "No current source file.\n" "(gdb) " 2004.06.21 14:37:56 -> "info line main_vxworks\n" 2004.06.21 14:37:56 <- "No symbol table is loaded. Use the \"file\" command.\n" "(gdb) " 2004.06.21 14:37:56 -> "set confirm off\n" 2004.06.21 14:37:56 <- "(gdb) " 2004.06.21 14:37:56 -> "source /tmp/dddHJajsn\n" 2004.06.21 14:37:56 <- "(gdb) " 2004.06.21 14:37:56 -> "info breakpoints\n" 2004.06.21 14:37:56 <- "No breakpoints or watchpoints.\n" "(gdb) " 2004.06.21 14:37:56 -> "info source\n" 2004.06.21 14:37:56 <- "No current source file.\n" "(gdb) " 2004.06.21 14:37:56 -> "# reset\n" 2004.06.21 14:37:56 <- "(gdb) " 2004.06.21 14:37:56 -> "info breakpoints\n" 2004.06.21 14:37:56 <- "No breakpoints or watchpoints.\n" "(gdb) " 2004.06.21 14:37:56 -> "display\n" 2004.06.21 14:37:56 <- "(gdb) " 2004.06.21 14:37:56 -> "info display\n" 2004.06.21 14:37:56 <- "There are no auto-display expressions now.\n" "(gdb) " 2004.06.21 14:37:56 -> "set environment TERM dumb\n" 2004.06.21 14:37:56 <- "(gdb) " 2004.06.21 14:37:56 -> "info source\n" 2004.06.21 14:37:56 <- "No current source file.\n" "(gdb) " 2004.06.21 14:37:56 -> "info files\n" 2004.06.21 14:37:56 <- "(gdb) " 2004.06.21 14:37:56 -> "info program\n" 2004.06.21 14:37:56 <- "The program being debugged is not being run.\n" "(gdb) " 2004.06.21 14:37:56 -> "help detach\n" 2004.06.21 14:37:56 <- "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.9-test3 "Perky" (i686-pc-linux-gnu) 2004.06.21 14:37:56 -> "help run\n" 2004.06.21 14:37:56 <- "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) " 2004.06.21 14:37:56 -> "help step\n" 2004.06.21 14:37:56 <- "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) " 2004.06.21 14:37:56 -> "help stepi\n" 2004.06.21 14:37:56 <- "Step one instruction exactly.\n" "Argument N means do this N times (or till program stops for another reason).\n" "(gdb) " 2004.06.21 14:37:56 -> "help next\n" 2004.06.21 14:37:56 <- "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) " 2004.06.21 14:37:56 -> "help nexti\n" 2004.06.21 14:37:56 <- "Step one instruction, but proceed through subroutine calls.\n" "Argument N means do this N times (or till program stops for another reason).\n" 2004.06.21 14:37:56 <- "(gdb) " 2004.06.21 14:37:56 -> "help until\n" 2004.06.21 14:37:56 <- "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" 2004.06.21 14:37:56 <- "(gdb) " 2004.06.21 14:37:56 -> "help finish\n" 2004.06.21 14:37:56 <- "Execute until selected stack frame returns.\n" "Upon return, the value returned is printed and put in the value history.\n" 2004.06.21 14:37:56 <- "(gdb) " 2004.06.21 14:37:56 -> "help cont\n" 2004.06.21 14:37:56 <- "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" 2004.06.21 14:37:56 <- "(gdb) " 2004.06.21 14:37:56 -> "help signal\n" 2004.06.21 14:37:56 <- "Continue program giving it signal specified by the argument.\n" "An argument of \"0\" means continue program without giving it a signal.\n" 2004.06.21 14:37:56 <- "(gdb) " 2004.06.21 14:37:56 -> "help kill\n" 2004.06.21 14:37:56 <- "Kill execution of program being debugged.\n" 2004.06.21 14:37:56 <- "(gdb) " 2004.06.21 14:37:57 -> "help up\n" 2004.06.21 14:37:57 <- "Select and print stack frame that called this one.\n" "An argument says how many frames up to go.\n" 2004.06.21 14:37:57 <- "(gdb) " 2004.06.21 14:37:57 -> "help down\n" 2004.06.21 14:37:57 <- "Select and print stack frame called by this one.\n" "An argument says how many frames down to go.\n" 2004.06.21 14:37:57 <- "(gdb) " 2004.06.21 14:37:59 -> "info files\n" 2004.06.21 14:37:59 <- "(gdb) " 2004.06.21 14:37:59 -> "info program\n" 2004.06.21 14:37:59 <- "The program being debugged is not being run.\n" 2004.06.21 14:37:59 <- "(gdb) " 2004.06.21 14:37:59 -> "file /usr/local/fphp/bin/php\n" 2004.06.21 14:37:59 <- "Using host libthread_db library \"/lib/libthread_db.so.1\".\n" 2004.06.21 14:37:59 <- "(gdb) " 2004.06.21 14:37:59 -> "info line\n" 2004.06.21 14:37:59 <- "No line number information available.\n" 2004.06.21 14:37:59 <- "(gdb) " 2004.06.21 14:37:59 -> "list\n" 2004.06.21 14:37:59 <- "991\t#ifdef PHP_WIN32\n" 2004.06.21 14:37:59 <- "992\t\tint impersonate = 0;\n" 2004.06.21 14:37:59 <- "993\t#else\n" 2004.06.21 14:37:59 <- "994\t int status = 0;\n" 2004.06.21 14:37:59 <- "995\t#endif\n" 2004.06.21 14:37:59 <- "996\t#endif /* PHP_FASTCGI */\n" 2004.06.21 14:37:59 <- "997\t\n" 2004.06.21 14:37:59 <- "998\t#ifdef HAVE_SIGNAL_H\n" 2004.06.21 14:37:59 <- "999\t#if defined(SIGPIPE) && defined(SIG_IGN)\n" 2004.06.21 14:37:59 <- "1000\t\tsignal(SIGPIPE, SIG_IGN); /* ignore SIGPIPE in standalone mode so\n" 2004.06.21 14:37:59 <- "(gdb) " 2004.06.21 14:37:59 -> "info line\n" 2004.06.21 14:37:59 <- "Line 1000 of \"/.tmp/php-4.3.7/sapi/cgi/cgi_main.c\" starts at address 0x812a8ef and ends at 0x812a8f2 .\n" 2004.06.21 14:37:59 <- "\032\032/.tmp/php-4.3.7/sapi/cgi/cgi_main.c:1000:27712:beg:0x812a8ef\n" 2004.06.21 14:37:59 <- "(gdb) " 2004.06.21 14:37:59 -> "info breakpoints\n" 2004.06.21 14:37:59 <- "No breakpoints or watchpoints.\n" 2004.06.21 14:37:59 <- "(gdb) " 2004.06.21 14:37:59 -> "display\n" 2004.06.21 14:37:59 <- "(gdb) " 2004.06.21 14:37:59 -> "info display\n" 2004.06.21 14:37:59 <- "There are no auto-display expressions now.\n" 2004.06.21 14:37:59 <- "(gdb) " # Reading file "/.tmp/php-4.3.7/sapi/cgi/cgi_main.c"... # Reading file "/.tmp/php-4.3.7/sapi/cgi/cgi_main.c"...done. # File "/.tmp/php-4.3.7/sapi/cgi/cgi_main.c" 1706 lines, 71019 characters # Setting buttons... # Setting buttons...done. 2004.06.21 14:37:59 -> "info source\n" 2004.06.21 14:37:59 <- "Current source file is /.tmp/php-4.3.7/sapi/cgi/cgi_main.c\n" 2004.06.21 14:37:59 <- "Located in /.tmp/php-4.3.7/sapi/cgi/cgi_main.c\n" 2004.06.21 14:37:59 <- "Contains 1706 lines.\n" 2004.06.21 14:37:59 <- "Source language is c.\n" 2004.06.21 14:37:59 <- "Compiled with DWARF 2 debugging format.\n" 2004.06.21 14:37:59 <- "Does not include preprocessor macro info.\n" 2004.06.21 14:37:59 <- "(gdb) " 2004.06.21 14:37:59 -> "info files\n" 2004.06.21 14:37:59 <- "Symbols from \"/usr/local/fphp/bin/php\".\n" 2004.06.21 14:37:59 <- "Local exec file:\n" 2004.06.21 14:37:59 <- "\t`/usr/local/fphp/bin/php\', file type elf32-i386.\n" 2004.06.21 14:37:59 <- "\tEntry point: 0x80614f0\n" 2004.06.21 14:37:59 <- "\t0x08048134 - 0x08048147 is .interp\n" 2004.06.21 14:37:59 <- "\t0x08048148 - 0x08048168 is .note.ABI-tag\n" 2004.06.21 14:37:59 <- "\t0x08048168 - 0x0804c5c4 is .hash\n" 2004.06.21 14:37:59 <- "\t0x0804c5c4 - 0x080556c4 is .dynsym\n" 2004.06.21 14:37:59 <- "\t0x080556c4 - 0x0805eb6f is .dynstr\n" 2004.06.21 14:37:59 <- "\t0x0805eb70 - 0x0805fd90 is .gnu.version\n" 2004.06.21 14:37:59 <- "\t0x0805fd90 - 0x0805fe90 is .gnu.version_r\n" 2004.06.21 14:37:59 <- "\t0x0805fe90 - 0x0805fed0 is .rel.dyn\n" 2004.06.21 14:37:59 <- "\t0x0805fed0 - 0x08060620 is .rel.plt\n" 2004.06.21 14:37:59 <- "\t0x08060620 - 0x08060637 is .init\n" 2004.06.21 14:37:59 <- "\t0x08060638 - 0x080614e8 is .plt\n" 2004.06.21 14:37:59 <- "\t0x080614f0 - 0x0812b8b0 is .text\n" 2004.06.21 14:37:59 <- "\t0x0812b8b0 - 0x0812b8cb is .fini\n" 2004.06.21 14:37:59 <- "\t0x0812b8e0 - 0x0815cae5 is .rodata\n" 2004.06.21 14:37:59 <- "\t0x0815cae8 - 0x0815cafc is .eh_frame_hdr\n" 2004.06.21 14:37:59 <- "\t0x0815d000 - 0x081682c4 is .data\n" 2004.06.21 14:37:59 <- "\t0x081682c4 - 0x08168300 is .eh_frame\n" 2004.06.21 14:37:59 <- "\t0x08168300 - 0x081683f0 is .dynamic\n" 2004.06.21 14:37:59 <- "\t0x081683f0 - 0x081683f8 is .ctors\n" 2004.06.21 14:37:59 <- "\t0x081683f8 - 0x08168400 is .dtors\n" 2004.06.21 14:37:59 <- "\t0x08168400 - 0x08168404 is .jcr\n" 2004.06.21 14:37:59 <- "\t0x08168404 - 0x081687bc is .got\n" 2004.06.21 14:37:59 <- "\t0x081687c0 - 0x0816ff08 is .bss\n" 2004.06.21 14:37:59 <- "(gdb) " 2004.06.21 14:37:59 -> "info program\n" 2004.06.21 14:37:59 <- "The program being debugged is not being run.\n" 2004.06.21 14:37:59 <- "(gdb) " 2004.06.21 14:38:00 -> "output endif\n" 2004.06.21 14:38:00 <- "No symbol \"endif\" in current context.\n" 2004.06.21 14:38:00 <- "(gdb) "