GNU DDD 3.3.9 (i386-redhat-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.4.0 20040621 (Red Hat Linux 3.4.0-7), GNU libc 2.3 Requires X11R6, Xt11R6, Motif 2.2.3 (Motif Version 2.2.3) Includes XPM 3.4.11, Athena Panner (7000002L), DDD core Built 2004-06-30 by Compile Server . $ ddd + /bin/sh -c 'exec gdb -q -fullname' # Hello, world! # Opening session "1180c4a944000111463796000000308870073"... # Running GDB (pid 21304, tty /dev/pts/0)... # Current language: C/C++ # Searching "vsllib/ddd.vsl"... # Trying "/scratch/mayer/.ddd/vsllib/ddd.vsl" # Trying "/usr/share/ddd-3.3.9/vsllib/ddd.vsl" # Searching "vsllib/ddd.vsl"..."/usr/share/ddd-3.3.9/vsllib/ddd.vsl". 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set prompt (gdb) \n" # Creating "/scratch/mayer/.ddd/sessions/1180c4a944000111463796000000308870073/"... # Creating "/scratch/mayer/.ddd/sessions/1180c4a944000111463796000000308870073/"...done. # Copying "/scratch/mayer/.ddd/init" to "/scratch/mayer/.ddd/sessions/1180c4a944000111463796000000308870073/init"... # Copying "/scratch/mayer/.ddd/init" to "/scratch/mayer/.ddd/sessions/1180c4a944000111463796000000308870073/init"...done. # Copying "/scratch/mayer/.ddd/history" to "/scratch/mayer/.ddd/sessions/1180c4a944000111463796000000308870073/history"... # Copying "/scratch/mayer/.ddd/history" to "/scratch/mayer/.ddd/sessions/1180c4a944000111463796000000308870073/history"...done. # Saving session in "/scratch/mayer/.ddd/sessions/1180c4a944000111463796000000308870073/init"... # Saving session in "/scratch/mayer/.ddd/sessions/1180c4a944000111463796000000308870073/init"...done. 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set height 0\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set width 0\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set annotate 1\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> " set verbose off\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "info line\n" 2005.04.27 14:39:20 <- "No line number information available.\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "list\n" 2005.04.27 14:39:20 <- "No symbol table is loaded. Use the \"file\" command.\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "info line\n" 2005.04.27 14:39:20 <- "No line number information available.\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "output 4711\n" 2005.04.27 14:39:20 <- "4711" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "show language\n" 2005.04.27 14:39:20 <- "The current source language is \"auto; currently c\".\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "show version\n" 2005.04.27 14:39:20 <- "GNU gdb Red Hat Linux (6.1post-1.20040607.43rh)\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" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "pwd\n" 2005.04.27 14:39:20 <- "Working directory /scratch/mayer/testrun.\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "info breakpoints\n" 2005.04.27 14:39:20 <- "No breakpoints or watchpoints.\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "show history filename\n" 2005.04.27 14:39:20 <- "The filename in which to record the command history is \"/scratch/mayer/testrun/.gdb_history\".\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "show history size\n" 2005.04.27 14:39:20 <- "The size of the command history is 256.\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "info source\n" 2005.04.27 14:39:20 <- "No current source file.\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "info sources\n" 2005.04.27 14:39:20 <- "No symbol table is loaded. Use the \"file\" command.\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "info line main\n" 2005.04.27 14:39:20 <- "No symbol table is loaded. Use the \"file\" command.\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "info source\n" 2005.04.27 14:39:20 <- "No current source file.\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "info line MAIN\n" 2005.04.27 14:39:20 <- "No symbol table is loaded. Use the \"file\" command.\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "info files\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "info line main_\n" 2005.04.27 14:39:20 <- "No symbol table is loaded. Use the \"file\" command.\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "info program\n" 2005.04.27 14:39:20 <- "The program being debugged is not being run.\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "info line MAIN_\n" 2005.04.27 14:39:20 <- "No symbol table is loaded. Use the \"file\" command.\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "info source\n" 2005.04.27 14:39:20 <- "No current source file.\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "info line main__\n" 2005.04.27 14:39:20 <- "No symbol table is loaded. Use the \"file\" command.\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "info source\n" 2005.04.27 14:39:20 <- "No current source file.\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "info line MAIN__\n" 2005.04.27 14:39:20 <- "No symbol table is loaded. Use the \"file\" command.\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "info source\n" 2005.04.27 14:39:20 <- "No current source file.\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "info line _main\n" 2005.04.27 14:39:20 <- "No symbol table is loaded. Use the \"file\" command.\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "info source\n" 2005.04.27 14:39:20 <- "No current source file.\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "info line _MAIN\n" 2005.04.27 14:39:20 <- "No symbol table is loaded. Use the \"file\" command.\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "info source\n" 2005.04.27 14:39:20 <- "No current source file.\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "info line __main\n" 2005.04.27 14:39:20 <- "No symbol table is loaded. Use the \"file\" command.\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "info source\n" 2005.04.27 14:39:20 <- "No current source file.\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "info line __MAIN\n" 2005.04.27 14:39:20 <- "No symbol table is loaded. Use the \"file\" command.\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "info source\n" 2005.04.27 14:39:20 <- "No current source file.\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "info line my_main\n" 2005.04.27 14:39:20 <- "No symbol table is loaded. Use the \"file\" command.\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "info source\n" 2005.04.27 14:39:20 <- "No current source file.\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "info line the_main\n" 2005.04.27 14:39:20 <- "No symbol table is loaded. Use the \"file\" command.\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "info source\n" 2005.04.27 14:39:20 <- "No current source file.\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "info line vxworks_main\n" 2005.04.27 14:39:20 <- "No symbol table is loaded. Use the \"file\" command.\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "info source\n" 2005.04.27 14:39:20 <- "No current source file.\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "info line main_vxworks\n" 2005.04.27 14:39:20 <- "No symbol table is loaded. Use the \"file\" command.\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set confirm off\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "source /tmp/dddJF28M7\n" 2005.04.27 14:39:20 <- "The target architecture is set automatically (currently i386)\n" "The target endianness is set automatically (currently little endian)\n" 2005.04.27 14:39:20 <- "/tmp/dddJF28M7:61: Error in sourced command file:\n" "Undefined item: \"`ISO-8859-1\'\".\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "info breakpoints\n" 2005.04.27 14:39:20 <- "No breakpoints or watchpoints.\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "info source\n" 2005.04.27 14:39:20 <- "No current source file.\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "# reset\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "info breakpoints\n" 2005.04.27 14:39:20 <- "No breakpoints or watchpoints.\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "display\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "info display\n" 2005.04.27 14:39:20 <- "There are no auto-display expressions now.\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set environment TERM dumb\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "info source\n" 2005.04.27 14:39:20 <- "No current source file.\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "info files\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "info program\n" 2005.04.27 14:39:20 <- "The program being debugged is not being run.\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set auto-solib-add on\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set backtrace past-main off\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set coerce-float-to-double on\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set confirm off\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set editing on\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set exec-done-display off\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set history expansion off\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set history save off\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set logging overwrite off\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set logging redirect off\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set opaque-type-resolution on\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set overload-resolution on\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set pagination on\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set print address on\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set print array off\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set print asm-demangle on\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set print demangle on\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set print null-stop off\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set print object off\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set print pascal_static-members on\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set print pretty off\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set print sevenbit-strings off\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set print static-members on\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set print symbol-filename off\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set print union on\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set print vtbl off\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set remotebreak off\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set remotecache off\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set step-mode off\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set symbol-reloading off\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set trust-readonly-sections off\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set unwindonsignal off\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set verbose off\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set write off\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set can-use-hw-watchpoints 1\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set debug arch 0\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set debug event 0\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set debug expression 0\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set debug frame 0\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set debug lin-lwp 0\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set debug observer 0\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set debug overload 0\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set debug remote 0\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set debug serial 0\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set debug solib 0\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set debug target 0\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set debugvarobj 0\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set stop-on-solib-events 0\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set architecture auto\n" 2005.04.27 14:39:20 <- "The target architecture is set automatically (currently i386)\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set endian auto\n" 2005.04.27 14:39:20 <- "The target endianness is set automatically (currently little endian)\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set demangle-style auto\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set language auto\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set disassembly-flavor att\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set follow-fork-mode parent\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set check range auto\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set check type auto\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set annotate 1\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set backtrace limit 0\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set breakpoint pending auto\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set case-sensitive auto\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set charset `ISO-8859-1\'\n" 2005.04.27 14:39:20 <- "Undefined item: \"`ISO-8859-1\'\".\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set complaints 0\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set cp-abi auto\" (currently \"gnu-v2\"\n" 2005.04.27 14:39:20 <- "Could not find \"auto\" (currently \"gnu-v2\"\" in ABI list\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set debug-file-directory /usr/lib/debug\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set download-write-size 0d512\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set gnutarget auto\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set height 0\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set history filename /scratch/mayer/testrun/.gdb_history\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set history size 0d256\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set host-charset ISO-8859-1\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set input-radix 0d10\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set listsize 0d10\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set logging file gdb.txt\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set max-user-call-depth 0d1024\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set os \n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set output-radix 0d10\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set print elements 0d200\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set print max-symbolic-offset 0\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set print repeats 0d10\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set prompt (gdb) \n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set remote hardware-breakpoint-limit 0d4294967295\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set remote hardware-watchpoint-limit 0d4294967295\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set remote memory-read-packet-size 0\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set remote memory-write-packet-size 0\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set remote system-call-allowed not allowed\n" 2005.04.27 14:39:20 <- "Illegal argument for \"set remote system-call-allowed\" command\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set remoteaddresssize 0d32\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set remotebaud 0d4294967295\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set remotelogbase ascii\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set remotetimeout 0d2\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set solib-search-path \n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set struct-convention default\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set target-charset ISO-8859-1\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set tui active-border-mode bold-standout\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set tui border-kind acs\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set tui border-mode normal\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set watchdog 0\n" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:20 -> "set width 0\n" 2005.04.27 14:39:20 <- "(gdb) " # Opening session "1180c4a944000111463796000000308870073"...done. # Welcome to DDD 3.3.9 "Perky" (i386-redhat-linux-gnu) 2005.04.27 14:39:20 -> "help detach\n" 2005.04.27 14:39:20 <- "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" 2005.04.27 14:39:20 <- "(gdb) " 2005.04.27 14:39:21 -> "help run\n" 2005.04.27 14:39:21 <- "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" 2005.04.27 14:39:21 <- "(gdb) " 2005.04.27 14:39:21 -> "help step\n" 2005.04.27 14:39:21 <- "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" 2005.04.27 14:39:21 <- "(gdb) " 2005.04.27 14:39:21 -> "help stepi\n" 2005.04.27 14:39:21 <- "Step one instruction exactly.\n" "Argument N means do this N times (or till program stops for another reason).\n" 2005.04.27 14:39:21 <- "(gdb) " 2005.04.27 14:39:21 -> "help next\n" 2005.04.27 14:39:21 <- "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" 2005.04.27 14:39:21 <- "(gdb) " 2005.04.27 14:39:21 -> "help nexti\n" 2005.04.27 14:39:21 <- "Step one instruction, but proceed through subroutine calls.\n" "Argument N means do this N times (or till program stops for another reason).\n" 2005.04.27 14:39:21 <- "(gdb) " 2005.04.27 14:39:21 -> "help until\n" 2005.04.27 14:39:21 <- "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" 2005.04.27 14:39:21 <- "(gdb) " 2005.04.27 14:39:21 -> "help finish\n" 2005.04.27 14:39:21 <- "Execute until selected stack frame returns.\n" "Upon return, the value returned is printed and put in the value history.\n" 2005.04.27 14:39:21 <- "(gdb) " 2005.04.27 14:39:21 -> "help cont\n" 2005.04.27 14:39:21 <- "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.04.27 14:39:21 <- "(gdb) " 2005.04.27 14:39:21 -> "help signal\n" 2005.04.27 14:39:21 <- "Continue program giving it signal specified by the argument.\n" "An argument of \"0\" means continue program without giving it a signal.\n" 2005.04.27 14:39:21 <- "(gdb) " 2005.04.27 14:39:21 -> "help kill\n" 2005.04.27 14:39:21 <- "Kill execution of program being debugged.\n" 2005.04.27 14:39:21 <- "(gdb) " 2005.04.27 14:39:21 -> "help up\n" 2005.04.27 14:39:21 <- "Select and print stack frame that called this one.\n" "An argument says how many frames up to go.\n" 2005.04.27 14:39:21 <- "(gdb) " 2005.04.27 14:39:21 -> "help down\n" 2005.04.27 14:39:21 <- "Select and print stack frame called by this one.\n" "An argument says how many frames down to go.\n" 2005.04.27 14:39:21 <- "(gdb) " 2005.04.27 14:39:24 -> "frame\n" 2005.04.27 14:39:24 <- "No stack.\n" 2005.04.27 14:39:24 <- "(gdb) " 2005.04.27 14:39:24 -> "display main\n" 2005.04.27 14:39:24 <- "No symbol table is loaded. Use the \"file\" command.\n" 2005.04.27 14:39:24 <- "(gdb) " ! No symbol table is loaded. Use the "file" command. # Filtering files... # Filtering files...done. 2005.04.27 14:39:30 -> "info files\n" 2005.04.27 14:39:30 <- "(gdb) " 2005.04.27 14:39:30 -> "info program\n" 2005.04.27 14:39:30 <- "The program being debugged is not being run.\n" 2005.04.27 14:39:30 <- "(gdb) " 2005.04.27 14:39:30 -> "file /scratch/mayer/testrun/nscc_vrfft.x\n" 2005.04.27 14:39:30 <- "Using host libthread_db library \"/lib/tls/libthread_db.so.1\".\n" 2005.04.27 14:39:30 <- "(gdb) " 2005.04.27 14:39:30 -> "info line\n" 2005.04.27 14:39:30 <- "No line number information available.\n" 2005.04.27 14:39:30 <- "(gdb) " 2005.04.27 14:39:30 -> "list\n" 2005.04.27 14:39:30 <- "19\t \n" 2005.04.27 14:39:30 <- "20\t\n" 2005.04.27 14:39:30 <- "21\t\n" 2005.04.27 14:39:30 <- "22\t/* -|----|----|----|----|----|----|----|----|----|----|----|----|----|*/\n" 2005.04.27 14:39:30 <- "23\tint main (int argc, char *argv[])\n" 2005.04.27 14:39:30 <- "24\t{\n" 2005.04.27 14:39:30 <- "25\t\n" 2005.04.27 14:39:30 <- "26\t\t/* parse command line */\n" 2005.04.27 14:39:30 <- "27\t\n" 2005.04.27 14:39:30 <- "28\tread_command_line (argc, argv);\n" 2005.04.27 14:39:30 <- "(gdb) " 2005.04.27 14:39:30 -> "info line\n" 2005.04.27 14:39:30 <- "Line 28 of \"main.c\" starts at address 0x80495e4 and ends at 0x80495f5 .\n" 2005.04.27 14:39:30 <- "\032\032/scratch/mayer/NSCC/main.c:28:713:beg:0x80495e4\n" 2005.04.27 14:39:30 <- "(gdb) " 2005.04.27 14:39:30 -> "info breakpoints\n" 2005.04.27 14:39:30 <- "No breakpoints or watchpoints.\n" 2005.04.27 14:39:30 <- "(gdb) " 2005.04.27 14:39:30 -> "display\n" 2005.04.27 14:39:30 <- "(gdb) " 2005.04.27 14:39:30 -> "info display\n" 2005.04.27 14:39:30 <- "There are no auto-display expressions now.\n" 2005.04.27 14:39:30 <- "(gdb) " # Reading file "/scratch/mayer/NSCC/main.c"... # Reading file "/scratch/mayer/NSCC/main.c"...done. # File "/scratch/mayer/NSCC/main.c" 90 lines, 1885 characters # Setting buttons... # Setting buttons...done. 2005.04.27 14:39:31 -> "info source\n" 2005.04.27 14:39:31 <- "Current source file is main.c\n" "Compilation directory is /scratch/mayer/NSCC\n" "Located in /scratch/mayer/NSCC/main.c\n" "Contains 90 lines.\n" "Source language is c.\n" "Compiled with DWARF 2 debugging format.\n" "Does not include preprocessor macro info.\n" 2005.04.27 14:39:31 <- "(gdb) " 2005.04.27 14:39:31 -> "info files\n" 2005.04.27 14:39:31 <- "Symbols from \"/scratch/mayer/testrun/nscc_vrfft.x\".\n" "Local exec file:\n" "\t`/scratch/mayer/testrun/nscc_vrfft.x\', file type elf32-i386.\n" "\tEntry point: 0x8049520\n" "\t0x08048114 - 0x08048127 is .interp\n" "\t0x08048128 - 0x08048148 is .note.ABI-tag\n" "\t0x08048148 - 0x080483cc is .hash\n" "\t0x080483cc - 0x0804898c is .dynsym\n" "\t0x0804898c - 0x08048c7c is .dynstr\n" "\t0x08048c7c - 0x08048d34 is .gnu.version\n" "\t0x08048d34 - 0x08048d94 is .gnu.version_r\n" "\t0x08048d94 - 0x08048db4 is .rel.dyn\n" "\t0x08048db4 - 0x0804901c is .rel.plt\n" "\t0x0804901c - 0x08049033 is .init\n" "\t0x08049034 - 0x08049514 is .plt\n" "\t0x08049520 - 0x080b6930 is .text\n" "\t0x080b6930 - 0x080b694a is .fini\n" "\t0x080b6960 - 0x080c1929 is .rodata\n" "\t0x080c192c - 0x080c1930 is .eh_frame\n" "\t0x080c2000 - 0x080c2008 is .ctors\n" "\t0x080c2008 - 0x080c2010 is .dtors\n" "\t0x080c2010 - 0x080c2014 is .jcr\n" "\t0x080c2014 - 0x080c20fc is .dynamic\n" "\t0x080c20fc - 0x080c2100 is .got\n" "\t0x080c2100 - 0x080c2240 is .got.plt\n" "\t0x080c2240 - 0x080c344c is .data\n" "\t0x080c3460 - 0x080dc7e8 is .bss\n" 2005.04.27 14:39:31 <- "(gdb) " 2005.04.27 14:39:31 -> "info program\n" 2005.04.27 14:39:31 <- "The program being debugged is not being run.\n" 2005.04.27 14:39:31 <- "(gdb) " 2005.04.27 14:39:32 -> "output not\n" 2005.04.27 14:39:32 <- "No symbol \"not\" in current context.\n" 2005.04.27 14:39:32 <- "(gdb) " 2005.04.27 14:39:35 -> "output startup\n" 2005.04.27 14:39:35 <- "No symbol \"startup\" in current context.\n" 2005.04.27 14:39:35 <- "(gdb) " 2005.04.27 14:39:36 -> "frame\n" 2005.04.27 14:39:36 <- "No stack.\n" 2005.04.27 14:39:36 <- "(gdb) " 2005.04.27 14:39:36 -> "display startup\n" 2005.04.27 14:39:36 <- "No symbol \"startup\" in current context.\n" 2005.04.27 14:39:36 <- "(gdb) " ! No symbol "startup" in current context. 2005.04.27 14:39:42 -> "break main.c:63\n" 2005.04.27 14:39:42 <- "Breakpoint 1 at 0x804961c: file main.c, line 63.\n" 2005.04.27 14:39:42 <- "(gdb) " 2005.04.27 14:39:42 -> "info breakpoints\n" 2005.04.27 14:39:42 <- "Num Type Disp Enb Address What\n" "1 breakpoint keep y 0x0804961c in main at main.c:63\n" 2005.04.27 14:39:42 <- "(gdb) " 2005.04.27 14:39:43 -> "output initialize\n" 2005.04.27 14:39:43 <- "{int (void)} 0x8087f88 " 2005.04.27 14:39:43 <- "(gdb) " 2005.04.27 14:39:43 -> "output variables\n" 2005.04.27 14:39:43 <- "No symbol \"variables\" in current context.\n" 2005.04.27 14:39:43 <- "(gdb) " # Starting execution window... + /bin/sh -c 'tmp=${TMPDIR-/tmp}/ddd$$; export tmp; trap "rm -f $tmp" 0; trap '\''exit 1'\'' 1 2 15; xterm -bg '\''grey96'\'' -fg '\''black'\'' -cr '\''DarkGreen'\'' -fn '\''-*-lucidatypewriter-medium-r-*-*-*-120-*-*-*-*-iso8859-*'\'' -title '\''DDD: Execution Window'\'' -e /bin/sh -c '\''echo `tty` $$ $TERM $WINDOWID >$tmp; trap "" 2; while true; do sleep 3600; done'\'' >/dev/null &1 & while test ! -s $tmp; do sleep 1; done; cat $tmp' # Starting execution window...done. # Initializing execution window... # Initializing execution window...done. 2005.04.27 14:40:18 -> "set environment TERM xterm\n" 2005.04.27 14:40:18 <- "(gdb) " 2005.04.27 14:40:18 -> "run >&! /dev/pts/3 000 000 < ma3_T103_6K_ad_dist.in\n" 2005.04.27 14:40:19 <- "\n" 2005.04.27 14:40:19 <- "Breakpoint 1, main (argc=3, argv=0xbffff6d4) at main.c:64\n" 2005.04.27 14:40:19 <- "\032\032/scratch/mayer/NSCC/main.c:64:1170:beg:0x804961c\n" 2005.04.27 14:40:19 <- "(gdb) " 2005.04.27 14:40:19 -> "info breakpoints\n" 2005.04.27 14:40:19 <- "Num Type Disp Enb Address What\n" 2005.04.27 14:40:19 <- "1 breakpoint keep y 0x0804961c in main at main.c:63\n" 2005.04.27 14:40:19 <- "\tbreakpoint already hit 1 time\n" 2005.04.27 14:40:19 <- "(gdb) " 2005.04.27 14:40:23 -> "step\n" 2005.04.27 14:40:23 <- "initialize () at initial.c:23\n" 2005.04.27 14:40:23 <- "\032\032/scratch/mayer/NSCC/initial.c:23:601:beg:0x8087f91\n" 2005.04.27 14:40:23 <- "(gdb) " 2005.04.27 14:40:23 -> "info breakpoints\n" 2005.04.27 14:40:23 <- "Num Type Disp Enb Address What\n" 2005.04.27 14:40:23 <- "1 breakpoint keep y 0x0804961c in main at main.c:63\n" 2005.04.27 14:40:23 <- "\tbreakpoint already hit 1 time\n" 2005.04.27 14:40:23 <- "(gdb) " # Reading file "/scratch/mayer/testrun/initial.c"... # Reading file "/scratch/mayer/testrun/initial.c"...No such file or directory. 2005.04.27 14:40:23 -> "info source\n" 2005.04.27 14:40:23 <- "Current source file is initial.c\n" 2005.04.27 14:40:23 <- "Compilation directory is /scratch/mayer/NSCC\n" 2005.04.27 14:40:23 <- "Located in /scratch/mayer/NSCC/initial.c\n" 2005.04.27 14:40:23 <- "Contains 565 lines.\n" "Source language is c.\n" "Compiled with DWARF 2 debugging format.\n" "Does not include preprocessor macro info.\n" 2005.04.27 14:40:23 <- "(gdb) " # Reading file "initial.c" from GDB... 2005.04.27 14:40:23 -> "list initial.c:1,1000000\n" 2005.04.27 14:40:23 <- "1\t/* -|----|----|----|----|----|----|----|----|----|----|----|----|----|*/\n" "2\t/* 10 20 30 40 50 60 70*/\n" 2005.04.27 14:40:23 <- "3\t/* -|----|----|----|----|----|----|----|----|----|----|----|----|----|*/\n" "4\t/*\n" "5\tRead and initialize the data fields! Leave none blank!\n" "6\t\n" "7\t(start with spec.u, spec.v, spec.w, step0.r, spec.T, spec.p)\n" "8\t*/\n" "9\t \n" "10\t#include \n" "11\t#include \n" "12\t#include \n" "13\t#include \n" "14\t#include \"externs.h\"\n" "15\t#include \"macros.h\"\n" "16\t#include \"functype.h\"\n" "17\t \n" "18\t\n" 2005.04.27 14:40:23 <- "19\t/* -|----|----|----|----|----|----|----|----|----|----|----|----|----|*/\n" "20\tint initialize (void)\n" "21\t{\n" "22\tint\td, i, size;\n" "23\tparamst\t**parpt = prmpts[0]->params,\n" "24\t\t*parpt0 = prmpts[0]->params[0];\n" "25\t\n" "26\t\n" "27\t/* -|----|----|----|----|----|----|----|----|----|----|----|----|----|*/\n" "28\t/* startup transformations */\n" "29\t\n" "30\t#ifdef THREE_D\n" "31\tloop_d_all (d)\n" 2005.04.27 14:40:23 <- "32\t setup_fourier_transforms (parpt, d);\n" "33\t\n" "34\t\t/* fill in empty */\n" "35\tloop_d_all (d) loop_i_xy (d, i)\n" "36\t miscdat(d).empty[i] = 0.;\n" "37\t\n" "38\t\t/* assume w-plane zero is empty! */\n" "39\tloop_d_all (d) {\n" "40\t size = parpt[d]->xy_size * sizeof(REAL);\n" "41\t memcpy (specdat(d).w, miscdat(d).empty, size);\n" "42\t memcpy (miscdat(d).w_init, miscdat(d).empty, size);\n" "43\t}\n" "44\t#endif /* THREE_D */\n" "45\t\n" "46\t\n" 2005.04.27 14:40:23 <- "47\t/* -|----|----|----|----|----|----|----|----|----|----|----|----|----|*/\n" "48\t/* read the initial data */\n" "49\t\n" "50\t\t/* read baseflow data */\n" "51\tif (param0.base_file[0] != \'\\0\') {\n" "52\t read_data (param0.base_file, param0.base_step);\n" "53\t\n" "54\t\t/* remake baseflow variables needed */\n" "55\t if (miscdat(0).r_init[0] < -FLT_MAX*.1) {\t\t/* re-make r */\n" "56\t loop_d_all (d) loop_i_xy (d, i)\n" 2005.04.27 14:40:23 <- "57\t miscdat(d).r_init[i] = parpt[d]->gM2*miscdat(d).p_init[i]\n" "58\t\t\t\t\t/ miscdat(d).T_init[i];\n" "59\t\n" "60\t } else if (miscdat(0).T_init[0] < -FLT_MAX*.1) {\t/* re-make T */\n" "61\t loop_d_all (d) loop_i_xy (d, i)\n" "62\t miscdat(d).T_init[i]\n" "63\t\t\t= parpt[d]->gM2*miscdat(d).p_init[i]\n" "64\t\t\t\t\t/ miscdat(d).r_init[i];\n" "65\t\n" "66\t } else if (miscdat(0).p_init[0] < -FLT_MAX*.1) {\t/* re-make p */\n" 2005.04.27 14:40:23 <- "67\t loop_d_all (d) loop_i_xy (d, i)\n" "68\t miscdat(d).p_init[i]\n" "69\t\t\t= parpt[d]->igM2*miscdat(d).r_init[i]\n" "70\t\t\t\t\t* miscdat(d).T_init[i];\n" "71\t }\n" "72\t\n" "73\t}\n" "74\t\t/* read main data */\n" "75\tread_data (param0.read_file, param0.read_step);\n" "76\t\n" "77\t\n" "78\t\t/* add baseflow data */\n" "79\tif (param0.base_file[0] != \'\\0\' && param0.init_addbase) {\n" "80\t add_field (ploc(spec.u), ploc(misc.u_init), parpt, ND);\n" 2005.04.27 14:40:23 <- "81\t add_field (ploc(spec.v), ploc(misc.v_init), parpt, ND);\n" "82\t#ifdef THREE_D\n" "83\t add_field (ploc(spec.w), ploc(misc.w_init), parpt, ND);\n" "84\t#endif /* THREE_D */\n" "85\t if (stepdat0(0).r[0] > -FLT_MAX*.1)\n" "86\t add_field (ploc(step0.r), ploc(misc.r_init), parpt, ND);\n" "87\t if (specdat(0).T[0] > -FLT_MAX*.1)\n" "88\t add_field (ploc(spec.T), ploc(misc.T_init), parpt, ND);\n" "89\t if (specdat(0).p[0] > -FLT_MAX*.1)\n" "90\t add_field (ploc(spec.p), ploc(misc.p_init), parpt, ND);\n" "91\t}\n" "92\t\n" "93\t\n" "94\t#ifdef THREE_D\n" "95\t\n" 2005.04.27 14:40:23 <- "96\t\t/* transform to physical */\n" "97\ttrans_cos_phys (ploc(spec.u), ploc(phys.u), parpt, ND);\n" "98\ttrans_cos_phys (ploc(spec.v), ploc(phys.v), parpt, ND);\n" "99\ttrans_sin_phys (ploc(spec.w), ploc(phys.w), parpt, ND);\n" "100\ttrans_cos_phys (ploc(step0.r), ploc(phys.r), parpt, ND);\n" "101\ttrans_cos_phys (ploc(spec.T), ploc(phys.T), parpt, ND);\n" "102\ttrans_cos_phys (ploc(spec.p), ploc(phys.p), parpt, ND);\n" "103\t\n" "104\t#else /* TWO_D */\n" "105\t\n" "106\tloop_d_all (d) {\n" "107\t size = parpt[d]->xy_size * sizeof(REAL);\n" 2005.04.27 14:40:23 <- "108\t memcpy (physdat(d).r, stepdat0(d).r, size);\n" "109\t memcpy (physdat(d).p, specdat(d).p, size);\n" "110\t}\n" "111\t\n" "112\t#endif /* THREE_D */\n" "113\t\n" "114\t\n" "115\t/* -|----|----|----|----|----|----|----|----|----|----|----|----|----|*/\n" "116\t/* remake variables if needed (only r, T, or p) */\n" "117\t\n" "118\tif (parpt0->phys.r[0] < -FLT_MAX*.1) {\t\t/* re-make r */\n" "119\t loop_d_all (d) loop_i_phys (d, i)\n" "120\t physdat(d).r[i] = parpt[d]->gM2*physdat(d).p[i]\n" "121\t\t\t\t\t\t\t/ physdat(d).T[i];\n" "122\t#ifdef THREE_D\n" 2005.04.27 14:40:23 <- "123\t trans_phys_cos (ploc(phys.r), ploc(step0.r), parpt, ND);\n" "124\t#else /* TWO_D */\n" "125\t loop_d_all (d) {\n" "126\t size = parpt[d]->xy_size * sizeof(REAL);\n" "127\t memcpy (stepdat0(d).r, physdat(d).r, size); }\n" "128\t#endif /* THREE_D */\n" "129\t\n" "130\t} else if (parpt0->phys.T[0] < -FLT_MAX*.1) {\t/* re-make T */\n" "131\t loop_d_all (d) loop_i_phys (d, i)\n" "132\t physdat(d).T[i] = parpt[d]->gM2*physdat(d).p[i]\n" "133\t\t\t\t\t\t\t/ physdat(d).r[i];\n" "134\t#ifdef THREE_D\n" "135\t trans_phys_cos (ploc(phys.T), ploc(spec.T), parpt, ND);\n" "136\t#endif /* THREE_D */\n" "137\t\n" 2005.04.27 14:40:23 <- "138\t} else if (parpt0->phys.p[0] < -FLT_MAX*.1) {\t/* re-make p */\n" "139\t loop_d_all (d) loop_i_phys (d, i)\n" "140\t physdat(d).p[i] = parpt[d]->igM2*physdat(d).r[i]\n" "141\t\t\t\t\t\t\t* physdat(d).T[i];\n" "142\t#ifdef THREE_D\n" "143\t trans_phys_cos (ploc(phys.p), ploc(spec.p), parpt, ND);\n" "144\t#else /* TWO_D */\n" "145\t loop_d_all (d) {\n" "146\t size = parpt[d]->xy_size * sizeof(REAL);\n" "147\t memcpy (specdat(d).p, physdat(d).p, size); }\n" "148\t#endif /* THREE_D */\n" "149\t}\n" "150\t\n" "151\t\n" "152\t/* -|----|----|----|----|----|----|----|----|----|----|----|----|----|*/\n" 2005.04.27 14:40:23 <- "153\t/* set region where turbulence model is used\n" "154\t (set also turb.l2 for Smagorinsky\'s model) */\n" "155\t\n" "156\t#ifdef USE_LES\n" "157\t initialize_LES ();\n" "158\t#endif /* USE_LES */\n" "159\t\n" "160\t\n" "161\t/* -|----|----|----|----|----|----|----|----|----|----|----|----|----|*/\n" "162\t/* set initial conditions for rk and reps if not set yet\n" "163\t (using a kind of Baldwin-Lomax according to Charlie) */\n" "164\t\n" "165\t#ifdef SOLVE_K\n" "166\t printf(\"Transport equations for turbulence quantities:\\n" "\");\n" "167\t printf(\"\\tInflow bc for turbulence kinetic energy: \");\n" 2005.04.27 14:40:23 <- "168\t if (parpt0->infl_k_bc) {\n" "169\t printf(\"von Neumann\\n" "\");\n" "170\t } else {\n" "171\t printf(\"Dirichlet\\n" "\");\n" "172\t }\n" "173\t #ifdef SOLVE_EPS\n" "174\t printf(\"\\tInflow bc for turbulence dissipation rate: \");\n" "175\t if (parpt0->infl_eps_bc) {\n" "176\t printf(\"von Neumann\\n" "\");\n" "177\t } else {\n" "178\t printf(\"Dirichlet\\n" "\");\n" "179\t }\n" "180\t #endif /* SOLVE_EPS */\n" "181\t/* if (parpt0->spec.k[0] == -FLT_MAX ||\n" "182\t parpt0->spec.eps[0] == -FLT_MAX) {\n" "183\t initialize_keps ();\n" "184\t } */\n" "185\t initialize_keps ();\n" "186\t printf(\"\\n" "\");\n" "187\t#endif /* SOLVE_K */\n" "188\t\n" "189\t\n" 2005.04.27 14:40:23 <- "190\t/* -|----|----|----|----|----|----|----|----|----|----|----|----|----|*/\n" "191\t/* fill in integration variables */\n" "192\t\n" "193\tloop_d_all (d) loop_i_phys (d, i) {\n" "194\t physdat(d).ru[i] = physdat(d).u[i] * physdat(d).r[i];\n" "195\t physdat(d).rv[i] = physdat(d).v[i] * physdat(d).r[i];\n" "196\t#ifdef THREE_D\n" "197\t physdat(d).rw[i] = physdat(d).w[i] * physdat(d).r[i];\n" "198\t#endif /* THREE_D */\n" "199\t\n" "200\t physdat(d).E[i] = physdat(d).r[i] * (\n" "201\t\t\tparpt[d]->igg1M2 * physdat(d).T[i] + 0.5 *\n" "202\t\t\t\t( physdat(d).u[i]*physdat(d).u[i]\n" "203\t\t\t\t+ physdat(d).v[i]*physdat(d).v[i]\n" "204\t\t#ifdef THREE_D\n" "205\t\t\t\t+ physdat(d).w[i]*physdat(d).w[i]\n" "206\t\t#endif /* THREE_D */\n" "207\t\t\t\t) );\n" "208\t}\n" "209\t#ifdef SOLVE_K \n" "210\tloop_d_all (d) loop_i_xy (d, i) {\n" 2005.04.27 14:40:23 <- "211\t physdat(d).rk[i] = physdat(d).k[i] * physdat(d).r[i]; \n" "212\t physdat(d).reps[i] = physdat(d).eps[i] * physdat(d).r[i];\n" "213\t}\n" "214\t#endif /* SOLVE_K */\n" "215\t\n" "216\t\n" "217\t#ifdef THREE_D\n" "218\t\n" "219\t\t/* transform to spectral */\n" "220\ttrans_phys_cos (ploc(phys.ru), ploc(step0.ru), parpt, ND);\n" "221\ttrans_phys_cos (ploc(phys.rv), ploc(step0.rv), parpt, ND);\n" "222\ttrans_phys_sin (ploc(phys.rw), ploc(step0.rw), parpt, ND);\n" "223\ttrans_phys_cos (ploc(phys.E) , ploc(step0.E) , parpt, ND);\n" "224\t#else /* TWO_D */\n" "225\t\n" "226\tloop_d_all (d) {\n" "227\t size = parpt[d]->xy_size * sizeof(REAL);\n" "228\t memcpy (stepdat0(d).ru, physdat(d).ru, size);\n" "229\t memcpy (stepdat0(d).rv, physdat(d).rv, size);\n" 2005.04.27 14:40:23 <- "230\t memcpy (stepdat0(d).E , physdat(d).E , size);\n" "231\t}\n" "232\t\n" "233\t#endif /* THREE_D */\n" "234\t\n" "235\t\t/* NOTE: k and epsilon are always 2D */\n" "236\t#ifdef SOLVE_K\n" "237\t loop_d_all (d) {\n" "238\t size = parpt[d]->xy_size * sizeof(REAL);\n" "239\t memcpy (stepdat0(d).rk, physdat(d).rk, size);\n" "240\t memcpy (stepdat0(d).reps, physdat(d).reps, size);\n" "241\t }\n" "242\t#endif /* SOLVE_K */\n" "243\t\n" "244\t\n" "245\t/* -|----|----|----|----|----|----|----|----|----|----|----|----|----|*/\n" "246\t/* fill in baseflow, if not read from file */\n" "247\t\n" "248\tif (param0.base_file[0] == \'\\0\') {\n" "249\t loop_d_all (d) {\n" "250\t size = parpt[d]->xy_size * sizeof(REAL);\n" 2005.04.27 14:40:23 <- "251\t memcpy (miscdat(d).u_init, specdat(d).u, size);\n" "252\t memcpy (miscdat(d).v_init, specdat(d).v, size);\n" "253\t memcpy (miscdat(d).ru_init, stepdat0(d).ru, size);\n" "254\t memcpy (miscdat(d).rv_init, stepdat0(d).rv, size);\n" "255\t\t#ifdef THREE_D\n" "256\t memcpy (miscdat(d).w_init, specdat(d).w, size);\n" "257\t memcpy (miscdat(d).rw_init, stepdat0(d).rw, size);\n" "258\t\t#endif /* THREE_D */\n" "259\t memcpy (miscdat(d).r_init, stepdat0(d).r, size);\n" "260\t memcpy (miscdat(d).p_init, specdat(d).p, size);\n" "261\t memcpy (miscdat(d).T_init, specdat(d).T, size);\n" "262\t memcpy (miscdat(d).E_init, stepdat0(d).E, size);\n" "263\t\t#ifdef USE_VF\n" "264\t memcpy (miscdat(d).vf_Fx_init, vfdat(d).vf_Fx, size);\n" 2005.04.27 14:40:23 <- "265\t memcpy (miscdat(d).vf_Fy_init, vfdat(d).vf_Fy, size);\n" "266\t\t#endif\n" "267\t }\n" "268\t} else {\n" "269\t\n" "270\t loop_d_all (d) loop_i_xy (d, i) {\n" "271\t miscdat(d).ru_init[i] = miscdat(d).u_init[i]\n" "272\t\t\t\t\t\t* miscdat(d).r_init[i];\n" "273\t miscdat(d).rv_init[i] = miscdat(d).v_init[i]\n" "274\t\t\t\t\t\t* miscdat(d).r_init[i];\n" "275\t\t#ifdef THREE_D\n" "276\t miscdat(d).rw_init[i] = miscdat(d).w_init[i]\n" "277\t\t\t\t\t\t* miscdat(d).r_init[i];\n" "278\t\t#endif /* THREE_D */\n" "279\t\n" "280\t miscdat(d).E_init[i] = miscdat(d).r_init[i] * (\n" "281\t\t\tparpt[d]->igg1M2 * miscdat(d).T_init[i] + 0.5 *\n" "282\t\t\t\t( miscdat(d).u_init[i]*miscdat(d).u_init[i]\n" "283\t\t\t\t+ miscdat(d).v_init[i]*miscdat(d).v_init[i]\n" "284\t\t#ifdef THREE_D\n" "285\t\t\t\t+ miscdat(d).w_init[i]*miscdat(d).w_init[i]\n" "286\t\t#endif /* THREE_D */\n" "287\t\t\t\t) );\n" "288\t }\n" "289\t}\n" "290\t\n" 2005.04.27 14:40:23 <- "291\t\t/* always fill in baseflow for k and epsilon */\n" "292\t\t/* NOTE: specdat = physdat for k and epsilon */\n" "293\t#ifdef SOLVE_K\n" "294\t loop_d_all (d) {\n" "295\t size = parpt[d]->xy_size * sizeof(REAL);\n" "296\t memcpy (miscdat(d).k_init, specdat(d).k, size);\n" "297\t memcpy (miscdat(d).rk_init, stepdat0(d).rk, size);\n" "298\t memcpy (miscdat(d).eps_init, specdat(d).eps, size);\n" "299\t memcpy (miscdat(d).reps_init, stepdat0(d).reps, size);\n" "300\t }\n" "301\t#endif /* SOLVE_K */\n" "302\t\n" "303\t\n" "304\t#ifdef THREE_D\n" "305\t\t/* set up phys as curr for 3-D */\n" "306\tloop_d_all (d)\n" "307\t currdat(d) = *( (stepdatast *)(&physdat(d)) );\n" "308\t\n" "309\t#else /* TWO_D */\n" "310\t\n" "311\tloop_d_all (d)\n" "312\t currdat(d) = stepdat0(d);\n" "313\t\n" "314\t#endif /* THREE_D */\n" "315\t\n" "316\t\n" 2005.04.27 14:40:23 <- "317\t/* -|----|----|----|----|----|----|----|----|----|----|----|----|----|*/\n" "318\t/* From here on not needed for recalc! */\n" "319\t\n" "320\tif (param0.recalc)\n" "321\t return TRUE;\n" "322\t\n" "323\t\n" "324\t/* -|----|----|----|----|----|----|----|----|----|----|----|----|----|*/\n" "325\t/* fill in steps 1, 2 */\n" "326\t\n" "327\tloop_d_all (d) {\n" "328\t size = parpt[d]->total_spec_size * sizeof(REAL);\n" "329\t memcpy (stepdat1(d).r , stepdat0(d).r , size);\n" "330\t memcpy (stepdat1(d).ru, stepdat0(d).ru, size);\n" "331\t memcpy (stepdat1(d).rv, stepdat0(d).rv, size);\n" "332\t #ifdef THREE_D\n" "333\t memcpy (stepdat1(d).rw, stepdat0(d).rw, size);\n" "334\t #endif /* THREE_D */\n" "335\t memcpy (stepdat1(d).E , stepdat0(d).E , size);\n" "336\t\n" "337\t memcpy (stepdat2(d).r , stepdat0(d).r , size);\n" "338\t memcpy (stepdat2(d).ru, stepdat0(d).ru, size);\n" 2005.04.27 14:40:23 <- "339\t memcpy (stepdat2(d).rv, stepdat0(d).rv, size);\n" "340\t #ifdef THREE_D\n" "341\t memcpy (stepdat2(d).rw, stepdat0(d).rw, size);\n" "342\t #endif /* THREE_D */\n" "343\t memcpy (stepdat2(d).E , stepdat0(d).E , size);\n" "344\t\n" "345\t#ifdef SOLVE_K\n" "346\t size = parpt[d]->xy_size * sizeof(REAL);\n" "347\t memcpy (stepdat1(d).rk, stepdat0(d).rk, size);\n" "348\t memcpy (stepdat2(d).rk, stepdat0(d).rk, size);\n" "349\t memcpy (stepdat1(d).reps, stepdat0(d).reps, size);\n" "350\t memcpy (stepdat2(d).reps, stepdat0(d).reps, size);\n" "351\t#endif /* SOLVE_K */\n" "352\t}\n" "353\t\n" "354\t/* -|----|----|----|----|----|----|----|----|----|----|----|----|----|*/\n" "355\t/* setup running averages and statistics */\n" "356\t\n" "357\tif (parpt0->do_ave > 0) {\n" "358\t\n" "359\t printf(\"Initializing running averages and statistics.\\n" "\");\n" 2005.04.27 14:40:23 <- "360\t if (parpt0->ave_step < 0) { /* automatic setting in read.c failed */\n" "361\t printf(\"\\n" "WARNING: Automatic setting of ave_step failed. \");\n" "362\t printf(\"Set to zero instead!\\n" "\");\n" "363\t loop_d_all (d)\n" "364\t parpt[d]->ave_step = 0;\n" "365\t }\n" "366\t\n" "367\t#ifdef THREE_D\n" "368\t /* transform spectral data from input file to physical data */\n" "369\t\n" "370\t if ( parpt0->ave_type[1] > 0 || \n" "371\t (parpt0->ave_type[6] > 0 && parpt0->ave_type[0] == 0) ||\n" "372\t (parpt0->ave_type[7] > 0 && parpt0->ave_type[0] == 0) ) {\n" "373\t loop_d_all (d) {\n" "374\t size = parpt[d]->total_spec_size * sizeof(REAL);\n" "375\t memcpy (specdat(d).dum1, miscdat(d).u_ave, size);\n" "376\t }\n" "377\t trans_cos_phys (ploc(spec.dum1), ploc(misc.u_ave), parpt, ND); \n" "378\t }\n" "379\t if ( parpt0->ave_type[1] > 1 ||\n" 2005.04.27 14:40:23 <- "380\t (parpt0->ave_type[6] > 1 && parpt0->ave_type[0] == 0) ||\n" "381\t (parpt0->ave_type[7] > 0 && parpt0->ave_type[0] == 0) ) {\n" "382\t loop_d_all (d) {\n" "383\t size = parpt[d]->total_spec_size * sizeof(REAL);\n" "384\t memcpy (specdat(d).dum1, miscdat(d).v_ave, size); \n" "385\t memcpy (specdat(d).dum2, miscdat(d).w_ave, size); \n" "386\t }\n" "387\t trans_cos_phys (ploc(spec.dum1), ploc(misc.v_ave), parpt, ND);\n" "388\t trans_sin_phys (ploc(spec.dum2), ploc(misc.w_ave), parpt, ND);\n" "389\t }\n" "390\t \n" "391\t if (parpt0->ave_type[2] > 0 || parpt[d]->ave_type[7] > 0) {\n" "392\t loop_d_all (d) {\n" "393\t size = parpt[d]->total_spec_size * sizeof(REAL);\n" "394\t memcpy (specdat(d).dum1, miscdat(d).r_ave, size); \n" "395\t }\n" "396\t trans_cos_phys (ploc(spec.dum1), ploc(misc.r_ave), parpt, ND);\n" "397\t }\n" 2005.04.27 14:40:23 <- "398\t if (parpt0->ave_type[2] > 1 || parpt[d]->ave_type[7] > 0) {\n" "399\t loop_d_all (d) {\n" "400\t size = parpt[d]->total_spec_size * sizeof(REAL);\n" "401\t memcpy (specdat(d).dum1, miscdat(d).T_ave, size); \n" "402\t }\n" "403\t trans_cos_phys (ploc(spec.dum1), ploc(misc.T_ave), parpt, ND);\n" "404\t }\n" "405\t if (parpt0->ave_type[2] > 2) {\n" "406\t loop_d_all (d) {\n" "407\t size = parpt[d]->total_spec_size * sizeof(REAL);\n" "408\t memcpy (specdat(d).dum1, miscdat(d).p_ave, size); \n" "409\t }\n" "410\t trans_cos_phys (ploc(spec.dum1), ploc(misc.p_ave), parpt, ND);\n" "411\t }\n" "412\t \n" "413\t /* for ave_type[3], i.e., k and epsilon, don\'t need transformation,\n" "414\t because data is 2d only */\n" "415\t\n" "416\t if (parpt0->ave_type[4] > 0) {\n" "417\t loop_d_all (d) {\n" 2005.04.27 14:40:23 <- "418\t size = parpt[d]->total_spec_size * sizeof(REAL);\n" "419\t memcpy (specdat(d).dum1, miscdat(d).u2_ave, size);\n" "420\t }\n" "421\t trans_cos_phys (ploc(spec.dum1), ploc(misc.u2_ave), parpt, ND); \n" "422\t } \n" "423\t if (parpt0->ave_type[4] > 1) {\n" "424\t loop_d_all (d) {\n" "425\t size = parpt[d]->total_spec_size * sizeof(REAL);\n" "426\t memcpy (specdat(d).dum1, miscdat(d).v2_ave, size); \n" "427\t memcpy (specdat(d).dum2, miscdat(d).w2_ave, size); \n" "428\t }\n" "429\t trans_cos_phys (ploc(spec.dum1), ploc(misc.v2_ave), parpt, ND);\n" "430\t trans_cos_phys (ploc(spec.dum2), ploc(misc.w2_ave), parpt, ND);\n" "431\t } \n" "432\t if (parpt0->ave_type[4] > 2) {\n" "433\t loop_d_all (d) {\n" "434\t size = parpt[d]->total_spec_size * sizeof(REAL);\n" "435\t memcpy (specdat(d).dum1, miscdat(d).uv_ave, size); \n" 2005.04.27 14:40:23 <- "436\t memcpy (specdat(d).dum2, miscdat(d).uw_ave, size); \n" "437\t memcpy (specdat(d).dum3, miscdat(d).vw_ave, size); \n" "438\t }\n" "439\t trans_cos_phys (ploc(spec.dum1), ploc(misc.uv_ave), parpt, ND);\n" "440\t trans_sin_phys (ploc(spec.dum2), ploc(misc.uw_ave), parpt, ND);\n" "441\t trans_sin_phys (ploc(spec.dum3), ploc(misc.vw_ave), parpt, ND);\n" "442\t }\n" "443\t \n" "444\t if ( parpt0->ave_type[5] > 0 || \n" "445\t (parpt0->ave_type[6] > 0 && parpt0->ave_type[0] != 0) ||\n" "446\t (parpt0->ave_type[7] > 0 && parpt0->ave_type[0] != 0)) {\n" "447\t loop_d_all (d) {\n" "448\t size = parpt[d]->total_spec_size * sizeof(REAL);\n" "449\t memcpy (specdat(d).dum1, miscdat(d).U_ave, size);\n" "450\t }\n" "451\t trans_cos_phys (ploc(spec.dum1), ploc(misc.U_ave), parpt, ND); \n" "452\t }\n" "453\t if ( parpt0->ave_type[5] > 1 || \n" 2005.04.27 14:40:23 <- "454\t (parpt0->ave_type[6] > 1 && parpt0->ave_type[0] != 0) ||\n" "455\t (parpt0->ave_type[7] > 0 && parpt0->ave_type[0] != 0) ) {\n" "456\t loop_d_all (d) {\n" "457\t size = parpt[d]->total_spec_size * sizeof(REAL);\n" "458\t memcpy (specdat(d).dum1, miscdat(d).V_ave, size); \n" "459\t memcpy (specdat(d).dum2, miscdat(d).W_ave, size); \n" "460\t }\n" "461\t trans_cos_phys (ploc(spec.dum1), ploc(misc.V_ave), parpt, ND);\n" "462\t trans_sin_phys (ploc(spec.dum2), ploc(misc.W_ave), parpt, ND);\n" "463\t }\n" "464\t\n" "465\t if (parpt0->ave_type[6] > 0 || parpt0->ave_type[7] > 0) {\n" "466\t if (params.ave_type[0] == 0) {\n" "467\t printf(\" Using standard time-average for running statistics.\\n" "\");\n" "468\t } else {\n" "469\t printf(\" Using Favre-average for running statistics.\\n" "\"); \n" "470\t }\n" "471\t }\n" "472\t\n" "473\t if (parpt0->ave_type[6] > 0) {\n" "474\t loop_d_all (d) {\n" "475\t size = parpt[d]->total_spec_size * sizeof(REAL);\n" "476\t memcpy (specdat(d).dum1, miscdat(d).Rxx_ave, size); \n" "477\t }\n" 2005.04.27 14:40:23 <- "478\t trans_cos_phys (ploc(spec.dum1), ploc(misc.Rxx_ave), parpt, ND);\n" "479\t }\n" "480\t if (parpt0->ave_type[6] > 1) {\n" "481\t loop_d_all (d) {\n" "482\t size = parpt[d]->total_spec_size * sizeof(REAL);\n" "483\t memcpy (specdat(d).dum2, miscdat(d).Ryy_ave, size); \n" "484\t memcpy (specdat(d).dum3, miscdat(d).Rzz_ave, size); \n" "485\t }\n" "486\t trans_cos_phys (ploc(spec.dum2), ploc(misc.Ryy_ave), parpt, ND);\n" "487\t trans_cos_phys (ploc(spec.dum3), ploc(misc.Rzz_ave), parpt, ND);\n" "488\t } \n" "489\t if (parpt0->ave_type[6] > 2) {\n" "490\t loop_d_all (d) {\n" "491\t size = parpt[d]->total_spec_size * sizeof(REAL);\n" "492\t memcpy (specdat(d).dum1, miscdat(d).Rxy_ave, size); \n" "493\t memcpy (specdat(d).dum2, miscdat(d).Rxz_ave, size); \n" "494\t memcpy (specdat(d).dum3, miscdat(d).Ryz_ave, size); \n" "495\t }\n" "496\t trans_cos_phys (ploc(spec.dum1), ploc(misc.Rxy_ave), parpt, ND);\n" "497\t trans_sin_phys (ploc(spec.dum2), ploc(misc.Rxz_ave), parpt, ND);\n" "498\t trans_sin_phys (ploc(spec.dum3), ploc(misc.Ryz_ave), parpt, ND);\n" "499\t } \n" "500\t if (parpt0->ave_type[7] > 0) {\n" "501\t loop_d_all (d) {\n" 2005.04.27 14:40:23 <- "502\t size = parpt[d]->total_spec_size * sizeof(REAL);\n" "503\t memcpy (specdat(d).dum1, miscdat(d).EPS_ave, size); \n" "504\t }\n" "505\t trans_cos_phys (ploc(spec.dum1), ploc(misc.EPS_ave), parpt, ND);\n" "506\t }\n" "507\t \n" "508\t \n" "509\t#endif /* THREE_D */\n" "510\t}\n" "511\t\n" "512\t/* -|----|----|----|----|----|----|----|----|----|----|----|----|----|*/\n" "513\t/* blowing & suction disturbance setup */\n" "514\t\n" "515\tcreate_disturbance_profiles ();\n" "516\t\n" "517\t\n" "518\t/* -|----|----|----|----|----|----|----|----|----|----|----|----|----|*/\n" "519\t/* settings for inflow boundary condition */\n" "520\t\n" "521\tinitialize_inflow ();\n" "522\t\n" "523\t\n" "524\t/* -|----|----|----|----|----|----|----|----|----|----|----|----|----|*/\n" "525\t/* set up geometry for body generation using volume forcing \n" "526\t and initialize velocity integral of feedback loop */\n" "527\t\n" "528\t#ifdef USE_VF\n" "529\tinitialize_vf ();\n" "530\t#endif /* USE_VF */\n" "531\t\n" "532\t\n" "533\t/* -|----|----|----|----|----|----|----|----|----|----|----|----|----|*/\n" "534\t/* set up intermediate dump variables */\n" "535\t\n" 2005.04.27 14:40:23 <- "536\tinitialize_intermediate_dump ();\n" "537\t\n" "538\t\n" "539\t/* -|----|----|----|----|----|----|----|----|----|----|----|----|----|*/\n" "540\t/* set up free-stream pressure gradient */\n" "541\t\n" "542\tinitialize_fs_p_gradient ();\n" "543\t\n" "544\t\n" "545\t/* -|----|----|----|----|----|----|----|----|----|----|----|----|----|*/\n" "546\t/* initialize rampout for higher modes */ \n" "547\t\n" "548\t#ifdef USE_RAMP_OUT\n" "549\tinitialize_ramp_out ();\n" "550\t#endif /* USE_RAMP_OUT */\n" "551\t\n" "552\t\n" "553\t/* -|----|----|----|----|----|----|----|----|----|----|----|----|----|*/\n" "554\t/* initialize filter */\n" "555\t\n" "556\tinitialize_filter ();\n" "557\t\n" "558\t#ifdef USE_Y_FILTER\n" "559\tinitialize_y_filter ();\n" "560\t#endif /* USE_Y_FILTER */\n" "561\t\n" "562\treturn TRUE;\n" "563\t}\n" "564\t\n" "565\t\n" 2005.04.27 14:40:23 <- "(gdb) " # Reading file "initial.c" from GDB...done. # Source "initial.c" (from GDB) 565 lines, 18888 characters 2005.04.27 14:40:23 -> "info source\n" 2005.04.27 14:40:23 <- "Current source file is initial.c\n" "Compilation directory is /scratch/mayer/NSCC\n" "Located in /scratch/mayer/NSCC/initial.c\n" "Contains 565 lines.\n" "Source language is c.\n" "Compiled with DWARF 2 debugging format.\n" "Does not include preprocessor macro info.\n" 2005.04.27 14:40:23 <- "(gdb) " 2005.04.27 14:40:24 -> "output prmpts\n" 2005.04.27 14:40:24 <- "{0xb1f33008, 0x0 }" 2005.04.27 14:40:24 <- "(gdb) " 2005.04.27 14:40:31 -> "output stepdat0\n" 2005.04.27 14:40:31 <- "No symbol \"stepdat0\" in current context.\n" 2005.04.27 14:40:31 <- "(gdb) " 2005.04.27 14:40:31 -> "output loop_d_all\n" 2005.04.27 14:40:31 <- "No symbol \"loop_d_all\" in current context.\n" 2005.04.27 14:40:31 <- "(gdb) " 2005.04.27 14:40:32 -> "break initial.c:225\n" 2005.04.27 14:40:32 <- "Breakpoint 2 at 0x8088b37: file initial.c, line 225.\n" 2005.04.27 14:40:32 <- "(gdb) " 2005.04.27 14:40:32 -> "info breakpoints\n" 2005.04.27 14:40:32 <- "Num Type Disp Enb Address What\n" 2005.04.27 14:40:32 <- "1 breakpoint keep y 0x0804961c in main at main.c:63\n" 2005.04.27 14:40:32 <- "\tbreakpoint already hit 1 time\n" "2 breakpoint keep y 0x08088b37 in initialize at initial.c:225\n" 2005.04.27 14:40:32 <- "(gdb) " 2005.04.27 14:40:34 -> "cont\n" 2005.04.27 14:40:34 <- "\n" "Breakpoint 2, initialize () at initial.c:248\n" "\032\032/scratch/mayer/NSCC/initial.c:248:7262:beg:0x8088b37\n" 2005.04.27 14:40:34 <- "(gdb) " 2005.04.27 14:40:34 -> "info breakpoints\n" 2005.04.27 14:40:34 <- "Num Type Disp Enb Address What\n" "1 breakpoint keep y 0x0804961c in main at main.c:63\n" "\tbreakpoint already hit 1 time\n" "2 breakpoint keep y 0x08088b37 in initialize at initial.c:225\n" "\tbreakpoint already hit 1 time\n" "(gdb) " # Reading file "/scratch/mayer/NSCC/initial.c"... # Reading file "/scratch/mayer/NSCC/initial.c"...done. # File "/scratch/mayer/NSCC/initial.c" 565 lines, 18888 characters 2005.04.27 14:40:34 -> "info source\n" 2005.04.27 14:40:34 <- "Current source file is initial.c\n" "Compilation directory is /scratch/mayer/NSCC\n" "Located in /scratch/mayer/NSCC/initial.c\n" "Contains 565 lines.\n" "Source language is c.\n" "Compiled with DWARF 2 debugging format.\n" "Does not include preprocessor macro info.\n" "(gdb) " 2005.04.27 14:40:36 -> "output THREE_D\n" 2005.04.27 14:40:36 <- "No symbol \"THREE_D\" in current context." 2005.04.27 14:40:36 <- "\n" 2005.04.27 14:40:36 <- "(gdb) " 2005.04.27 14:40:46 -> "output i\n" 2005.04.27 14:40:46 <- "380755" 2005.04.27 14:40:46 <- "(gdb) " 2005.04.27 14:40:47 -> "output d\n" 2005.04.27 14:40:47 <- "1" 2005.04.27 14:40:47 <- "(gdb) " 2005.04.27 14:40:55 -> "output transformations\n" 2005.04.27 14:40:55 <- "No symbol \"transformations\" in current context.\n" 2005.04.27 14:40:55 <- "(gdb) " 2005.04.27 14:40:58 -> "frame\n" 2005.04.27 14:40:58 <- "#0 initialize () at initial.c:248\n" "\032\032/scratch/mayer/NSCC/initial.c:248:7262:beg:0x8088b37\n" 2005.04.27 14:40:58 <- "(gdb) " 2005.04.27 14:40:58 -> "display d\n" 2005.04.27 14:40:58 <- "(gdb) " 2005.04.27 14:40:58 -> "display\n" 2005.04.27 14:40:58 <- "1: d = 1\n" 2005.04.27 14:40:58 <- "(gdb) " # Creating display... # Creating display...done. >> "set term xlib\n" "set parametric\n" "set urange [0:1]\n" "set vrange [0:1]\n" "set trange [0:1]" >> "set noborder\n" "plot t, 1 title \"d\"" 2005.04.27 14:40:58 -> "output &d\n" # Display 1: d (enabled, scope initialize) # Warning: empty y range [1:1], adjusting to [0.99:1.01] <= "Warning: empty y range [1:1], adjusting to [0.99:1.01]" << "G0 44236736\n" "QD\n" "A90\n" "A0\n" "W0001\n" "L-002\n" "M04010326\n" "V04280326\n" "M39340326\n" "V39070326\n" "J0002\n" "QF\n" "T03610326 0.985\n" "W0001\n" "L-002\n" "M04011064\n" "V04281064\n" "M39341064\n" "V39071064\n" "J0002\n" "T03611064 0.99\n" "W0001\n" "L-002\n" "M04011802\n" "V04281802\n" "M39341802\n" "V39071802\n" "J0002\n" "T03611802 0.995\n" "W0001\n" "L-002\n" "M04012540\n" "V04282540\n" "M39342540\n" "V39072540\n" "J0002\n" "T03612540 1\n" "W0001\n" "L-002\n" "M04013278\n" "V04283278\n" "M39343278\n" "V39073278\n" "J0002\n" "T03613278 1.005\n" "W0001\n" "L-002\n" "M04014016\n" "V04284016\n" "M39344016\n" "V39074016\n" "J0002\n" "T03614016 1.01\n" "W0001\n" "L-002\n" "A0\n" "M04010326\n" "V04010366\n" "M04014016\n" "V04013976\n" "J0001\n" "T04010163 0\n" "W0001\n" "L-002\n" "M11080326\n" "V11080366\n" "M11084016\n" "V11083976\n" "J0001\n" "T11080163 0.2\n" "W0001\n" "L-002\n" "M18140326\n" "V18140366\n" "M18144016\n" "V18143976\n" "J0001\n" "T18140163 0.4\n" "W0001\n" "L-002\n" "M25210326\n" "V25210366\n" "M25214016\n" "V25213976\n" "J0001\n" "T25210163 0.6\n" "W0001\n" "L-002\n" "M32270326\n" "V32270366\n" "M32274016\n" "V32273976\n" "J0001\n" "T32270163 0.8\n" "W0001\n" "L-002\n" "M39340326\n" "V39340366\n" "M39344016\n" "V39343976\n" "J0001\n" "T39340163 1\n" "W0001\n" "L-002\n" "A0\n" "P-2 13 20\n" "W0001\n" "L0000\n" "L-002\n" "J0002\n" "T36273895d\n" "L0000\n" "M36673895\n" "V38543895\n" "M04012540\n" "V04012540\n" "V04372540\n" "V04722540\n" "V05082540\n" "V05442540\n" "V05792540\n" "V06152540\n" "V06512540\n" "V06862540\n" "V07222540\n" "V07582540\n" "V07942540\n" "V08292540\n" "V08652540\n" "V09012540\n" "V09362540\n" "V09722540\n" "V10082540\n" "V10432540\n" "V10792540\n" "V11152540\n" "V11502540\n" "V11862540\n" "V12222540\n" "V12572540\n" "V12932540\n" "V13292540\n" "V13652540\n" "V14002540\n" "V14362540\n" "V14722540\n" "V15072540\n" "V15432540\n" "V15792540\n" "V16142540\n" "V16502540\n" "V16862540\n" "V17212540\n" "V17572540\n" "V17932540\n" "V18282540\n" "V18642540\n" "V19002540\n" "V19362540\n" "V19712540\n" "V20072540\n" "V20432540\n" "V20782540\n" "V21142540\n" "V21502540\n" "V21852540\n" "V22212540\n" "V22572540\n" "V22922540\n" "V23282540\n" "V23642540\n" "V23992540\n" "V24352540\n" "V24712540\n" "V25072540\n" "V25422540\n" "V25782540\n" "V26142540\n" "V26492540\n" "V26852540\n" "V27212540\n" "V27562540\n" "V27922540\n" "V28282540\n" "V28632540\n" "V28992540\n" "V29352540\n" "V29702540\n" "V30062540\n" "V30422540\n" "V30782540\n" "V31132540\n" "V31492540\n" "V31852540\n" "V32202540\n" "V32562540\n" "V32922540\n" "V33272540\n" "V33632540\n" "V33992540\n" "V34342540\n" "V34702540\n" "V35062540\n" "V35412540\n" "V35772540\n" "V36132540\n" "V36492540\n" "V36842540\n" "V37202540\n" "V37562540\n" "V37912540\n" "V38272540\n" "V38632540\n" "V38982540\n" "V39342540\n" "P-2 13 20\n" "E" 2005.04.27 14:40:58 <- "(int *) 0xbffff618" 2005.04.27 14:40:58 <- "(gdb) " # Display 1: d (enabled, scope initialize, address 0xbffff618) ! X error X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 10 (X_UnmapWindow) Resource id in failed request: 0x0 Serial number of failed request: 88217 Current serial number in output stream: 88220 ! X error # Saving options in "/scratch/mayer/.ddd/init"... # Saving options in "/scratch/mayer/.ddd/init"...done. # Deleting session "1180c4a944000111463796000000308870073"... # Current session is [none]. # Deleting session "1180c4a944000111463796000000308870073"...done. # Closing execution window... 2005.04.27 14:41:00 -> "set environment TERM dumb\n" 2005.04.27 14:41:00 <- "(gdb) " # Closing execution window...done. # Saving history in "/scratch/mayer/.ddd/history"... # Saving history in "/scratch/mayer/.ddd/history"...done. # Thanks for using DDD 3.3.9! (We apologize for the inconvenience.) X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 10 (X_UnmapWindow) Resource id in failed request: 0x0 Serial number of failed request: 88219 Current serial number in output stream: 88834