GNU DDD 3.3.1 (i386-suse-linux) Copyright (C) 1995-1999 Technische Universität Braunschweig, Germany. Copyright (C) 1999-2001 Universität Passau, Germany. Compiled with GCC 3.2, GNU libc 2.2 Requires X11R6, Xt11R6, Motif 2.2.2 (Motif Version 2.2.2) Includes XPM 3.4.11, Athena Panner, DDD core Built 2002-10-14 by root . $ ddd a.out + /bin/sh -c 'exec gdb -q -fullname '\''a.out'\''' # Hello, world! # Opening session "11a04e1d5b000108789930600000012880037"... # Enabling core dumps... # Enabling core dumps...done. # Running GDB (pid 6571, tty /dev/pts/17)... <- "(gdb) " -> "set prompt (gdb) \n" # Current language: C/C++ # Searching "vsllib/ddd.vsl"... # Trying "/home/serena/.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". # Creating "/home/serena/.ddd/sessions/11a04e1d5b000108789930600000012880037/"... # Creating "/home/serena/.ddd/sessions/11a04e1d5b000108789930600000012880037/"...done. # Copying "/home/serena/.ddd/init" to "/home/serena/.ddd/sessions/11a04e1d5b000108789930600000012880037/init"... # Copying "/home/serena/.ddd/init" to "/home/serena/.ddd/sessions/11a04e1d5b000108789930600000012880037/init"...done. # Copying "/home/serena/.ddd/history" to "/home/serena/.ddd/sessions/11a04e1d5b000108789930600000012880037/history"... # Copying "/home/serena/.ddd/history" to "/home/serena/.ddd/sessions/11a04e1d5b000108789930600000012880037/history"...done. # Saving session in "/home/serena/.ddd/sessions/11a04e1d5b000108789930600000012880037/init"... # Searching "ddd/Ddd"... # Trying "/home/serena/.ddd/ddd/Ddd" # Trying "/usr/share/ddd-3.3.1/ddd/Ddd" # Searching "ddd/Ddd"..."/usr/share/ddd-3.3.1/ddd/Ddd". # Saving session in "/home/serena/.ddd/sessions/11a04e1d5b000108789930600000012880037/init"...done. <- "(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" <- "1\tinit.c: No such file or directory.\n" "\tin init.c\n" "(gdb) " -> "info line\n" <- "Line number 0 is out of range for \"init.c\".\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 5.2.1\n" "Copyright 2002 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 \"i586-suse-linux\".\n" "(gdb) " -> "pwd\n" <- "Working directory /home/serena/simF77.\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/serena/simF77/.gdb_history\".\n" "(gdb) " -> "show history size\n" <- "The size of the command history is 256.\n" "(gdb) " # Reading file "/home/serena/simF77/init.c"... # Reading file "/home/serena/simF77/init.c"...No such file or directory. -> "info source\n" <- "Current source file is init.c\n" "Compilation directory is /usr/src/packages/BUILD/glibc-2.2/csu\n" "Source language is c.\n" "Compiled with DWARF 2 debugging format.\n" "(gdb) " # Reading file "init.c" from GDB... -> "list init.c:1,1000000\n" <- "1\tin init.c\n" "(gdb) " # Reading file "init.c" from GDB...failed. # Reading file "/home/serena/simF77/init.c"... ! /home/serena/simF77/init.c: No such file or directory # Reading file "/home/serena/simF77/init.c"...No such file or directory. -> "info source\n" <- "Current source file is init.c\n" "Compilation directory is /usr/src/packages/BUILD/glibc-2.2/csu\n" "Source language is c.\n" "Compiled with DWARF 2 debugging format.\n" "(gdb) " -> "info sources\n" <- "Source files for which symbols have been read in:\n" "\n" "init.c\n" "\n" "Source files for which symbols will be read in on demand:\n" "\n" ", atexit.c\n" "(gdb) " -> "info line main\n" <- "No line number information available for address 0x8048eb0
\n" "(gdb) " -> "info source\n" <- "Current source file is init.c\n" "Compilation directory is /usr/src/packages/BUILD/glibc-2.2/csu\n" "Source language is c.\n" "Compiled with DWARF 2 debugging format.\n" "(gdb) " -> "info line MAIN\n" <- "Function \"MAIN\" not defined.\n" "(gdb) " -> "info files\n" <- "Symbols from \"/home/serena/simF77/a.out\".\n" "Local exec file:\n" "\t`/home/serena/simF77/a.out\', file type elf32-i386.\n" "\tEntry point: 0x8048730\n" "\t0x080480f4 - 0x08048107 is .interp\n" "\t0x08048108 - 0x08048128 is .note.ABI-tag\n" "\t0x08048128 - 0x080481e4 is .hash\n" "\t0x080481e4 - 0x080483a4 is .dynsym\n" "\t0x080483a4 - 0x080484da is .dynstr\n" "\t0x080484da - 0x08048512 is .gnu.version\n" "\t0x08048514 - 0x08048564 is .gnu.version_r\n" "\t0x08048564 - 0x0804856c is .rel.dyn\n" "\t0x0804856c - 0x080485f4 is .rel.plt\n" "\t0x080485f4 - 0x0804860c is .init\n" "\t0x0804860c - 0x0804872c is .plt\n" "\t0x08048730 - 0x08048f80 is .text\n" "\t0x08048f80 - 0x08048f9c is .fini\n" "\t0x08048fa0 - 0x080490a8 is .rodata\n" "\t0x0804a0c0 - 0x0804a164 is .data\n" "\t0x0804a164 - 0x0804a168 is .eh_frame\n" "\t0x0804a168 - 0x0804a248 is .dynamic\n" "\t0x0804a248 - 0x0804a250 is .ctors\n" "\t0x0804a250 - 0x0804a258 is .dtors\n" "\t0x0804a258 - 0x0804a25c is .jcr\n" "\t0x0804a25c - 0x0804a2b4 is .got\n" "\t0x0804a2c0 - 0x0808a2e0 is .bss\n" "(gdb) " -> "info line main_\n" <- "Function \"main_\" not defined.\n" "(gdb) " -> "info program\n" <- "The program being debugged is not being run.\n" "(gdb) " -> "info line MAIN_\n" <- "Function \"MAIN_\" not defined.\n" "(gdb) " -> "info source\n" <- "Current source file is init.c\n" "Compilation directory is /usr/src/packages/BUILD/glibc-2.2/csu\n" "Source language is c.\n" "Compiled with DWARF 2 debugging format.\n" "(gdb) " -> "info line main__\n" <- "Function \"main__\" not defined.\n" "(gdb) " -> "info source\n" <- "Current source file is init.c\n" "Compilation directory is /usr/src/packages/BUILD/glibc-2.2/csu\n" "Source language is c.\n" "Compiled with DWARF 2 debugging format.\n" "(gdb) " -> "info line MAIN__\n" <- "No line number information available for address 0x80487ec \n" "(gdb) " -> "info source\n" <- "Current source file is init.c\n" "Compilation directory is /usr/src/packages/BUILD/glibc-2.2/csu\n" "Source language is c.\n" "Compiled with DWARF 2 debugging format.\n" "(gdb) " -> "info line _main\n" <- "Function \"_main\" not defined.\n" "(gdb) " -> "info source\n" <- "Current source file is init.c\n" "Compilation directory is /usr/src/packages/BUILD/glibc-2.2/csu\n" "Source language is c.\n" "Compiled with DWARF 2 debugging format.\n" "(gdb) " -> "info line _MAIN\n" <- "Function \"_MAIN\" not defined.\n" "(gdb) " -> "info source\n" <- "Current source file is init.c\n" "Compilation directory is /usr/src/packages/BUILD/glibc-2.2/csu\n" "Source language is c.\n" "Compiled with DWARF 2 debugging format.\n" "(gdb) " -> "info line __main\n" <- "Function \"__main\" not defined.\n" "(gdb) " -> "info source\n" <- "Current source file is init.c\n" "Compilation directory is /usr/src/packages/BUILD/glibc-2.2/csu\n" "Source language is c.\n" "Compiled with DWARF 2 debugging format.\n" "(gdb) " -> "info line __MAIN\n" <- "Function \"__MAIN\" not defined.\n" "(gdb) " -> "info source\n" <- "Current source file is init.c\n" "Compilation directory is /usr/src/packages/BUILD/glibc-2.2/csu\n" "Source language is c.\n" "Compiled with DWARF 2 debugging format.\n" "(gdb) " -> "info line my_main\n" <- "Function \"my_main\" not defined.\n" "(gdb) " -> "info source\n" <- "Current source file is init.c\n" "Compilation directory is /usr/src/packages/BUILD/glibc-2.2/csu\n" "Source language is c.\n" "Compiled with DWARF 2 debugging format.\n" "(gdb) " -> "info line the_main\n" <- "Function \"the_main\" not defined.\n" "(gdb) " -> "info source\n" <- "Current source file is init.c\n" "Compilation directory is /usr/src/packages/BUILD/glibc-2.2/csu\n" "Source language is c.\n" "Compiled with DWARF 2 debugging format.\n" "(gdb) " -> "info line vxworks_main\n" <- "Function \"vxworks_main\" not defined.\n" "(gdb) " -> "info source\n" <- "Current source file is init.c\n" "Compilation directory is /usr/src/packages/BUILD/glibc-2.2/csu\n" "Source language is c.\n" "Compiled with DWARF 2 debugging format.\n" "(gdb) " -> "info line main_vxworks\n" <- "Function \"main_vxworks\" not defined.\n" "(gdb) " -> "set confirm off\n" <- "(gdb) " -> "source /tmp/dddMmvbws\n" <- "(gdb) " -> "info breakpoints\n" <- "No breakpoints or watchpoints.\n" "(gdb) " -> "info source\n" <- "Current source file is init.c\n" "Compilation directory is /usr/src/packages/BUILD/glibc-2.2/csu\n" "Source language is c.\n" "Compiled with DWARF 2 debugging format.\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" <- "Current source file is init.c\n" "Compilation directory is /usr/src/packages/BUILD/glibc-2.2/csu\n" "Source language is c.\n" "Compiled with DWARF 2 debugging format.\n" "(gdb) " -> "info files\n" <- "Symbols from \"/home/serena/simF77/a.out\".\n" "Local exec file:\n" "\t`/home/serena/simF77/a.out\', file type elf32-i386.\n" "\tEntry point: 0x8048730\n" "\t0x080480f4 - 0x08048107 is .interp\n" "\t0x08048108 - 0x08048128 is .note.ABI-tag\n" "\t0x08048128 - 0x080481e4 is .hash\n" "\t0x080481e4 - 0x080483a4 is .dynsym\n" "\t0x080483a4 - 0x080484da is .dynstr\n" "\t0x080484da - 0x08048512 is .gnu.version\n" "\t0x08048514 - 0x08048564 is .gnu.version_r\n" "\t0x08048564 - 0x0804856c is .rel.dyn\n" "\t0x0804856c - 0x080485f4 is .rel.plt\n" "\t0x080485f4 - 0x0804860c is .init\n" "\t0x0804860c - 0x0804872c is .plt\n" "\t0x08048730 - 0x08048f80 is .text\n" "\t0x08048f80 - 0x08048f9c is .fini\n" "\t0x08048fa0 - 0x080490a8 is .rodata\n" "\t0x0804a0c0 - 0x0804a164 is .data\n" "\t0x0804a164 - 0x0804a168 is .eh_frame\n" "\t0x0804a168 - 0x0804a248 is .dynamic\n" "\t0x0804a248 - 0x0804a250 is .ctors\n" "\t0x0804a250 - 0x0804a258 is .dtors\n" "\t0x0804a258 - 0x0804a25c is .jcr\n" "\t0x0804a25c - 0x0804a2b4 is .got\n" "\t0x0804a2c0 - 0x0808a2e0 is .bss\n" "(gdb) " -> "info program\n" <- "The program being debugged is not being run.\n" "(gdb) " # Opening session "11a04e1d5b000108789930600000012880037"...done. # Welcome to DDD 3.3.1 "Blue Gnu" (i386-suse-linux) -> "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) " -> "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) " # Deleting session "11a04e1d5b000108789930600000012880037"... # Current session is [none]. # Deleting session "11a04e1d5b000108789930600000012880037"...done. -> "quit\n" # Running GDB (pid 6571, tty /dev/pts/17)...Exit 0. # Saving history in "/home/serena/.ddd/history"... # Saving history in "/home/serena/.ddd/history"...done. # Thanks for using DDD 3.3.1!