bug-ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Selection bug


From: Giuseppe Borzì
Subject: Selection bug
Date: Tue, 13 Jul 2004 16:15:40 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040115

Configuration:
GNU DDD 3.3.8 (i586-mandrake-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.

Compiled with GCC 3.3.1 (Mandrake Linux 9.2 3.3.1-4mdk), GNU libc 2.3
Requires X11R6, Xt11R6, Motif 2.1 (GNU/LessTif Version 2.1 Release 0.93.49)
Includes XPM 3.4.11, Athena Panner (7000002L), DDD core
Built 2003-11-14 by lenny <lenny@klama.mandrake.org>.
Debugger used:
gdb-6.0-2mdk
Compiler:
gcc-g77 version 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk)
Bug description:
when I select a variable or a display in the display window, it is shown in reverse, i.e. it remains selected for a less than a second. It is not a problem for variables, because they can be printed or displayed, but for displayed data this prevents the use of undisplay, rotate and the movement of the display. I have also experienced this problem with ddd 3.3.9. In the log file a short debugging session of a fortran code is recorded. There is an integer array named j0vett with 30 entries. I select it (it is shown in reverse for less than a second), then I click display; then i try to select it for rotate and undisplay. Both attemps and others fails.
Log file:
in attach.

-- 
Giuseppe Borzi'

e-mail: gborzi@ieee.org
http://www.esg.diees.unict.it/esg/gborzi/index.phtml
Assistant Professor at the Univ. of Messina - Italia
----------------------------------------------------
GNU DDD 3.3.8 (i586-mandrake-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.

Compiled with GCC 3.3.1 (Mandrake Linux 9.2 3.3.1-4mdk), GNU libc 2.3
Requires X11R6, Xt11R6, Motif 2.1 (GNU/LessTif Version 2.1 Release 0.93.49)
Includes XPM 3.4.11, Athena Panner (7000002L), DDD core
Built 2003-11-14 by lenny <lenny@klama.mandrake.org>.
$  ddd src/elfin3/elfin
+  /bin/sh -c 'exec gdb -q -fullname '\''src/elfin3/elfin'\'''
#  Hello, world!
#  Opening session "11c0a76093000108972700200000199900006"...
#  Enabling core dumps...
#  Enabling core dumps...done.
#  Running GDB (pid 20351, tty /dev/pts/1)...
#  Current language: C/C++
#  Searching "vsllib/ddd.vsl"...
#  Trying "/home/gborzi/.ddd/vsllib/ddd.vsl"
#  Trying "/usr/share/ddd-3.3.8/vsllib/ddd.vsl"
#  Searching "vsllib/ddd.vsl"..."/usr/share/ddd-3.3.8/vsllib/ddd.vsl".
#  Creating 
"/home/gborzi/.ddd/sessions/11c0a76093000108972700200000199900006/"...
#  Creating 
"/home/gborzi/.ddd/sessions/11c0a76093000108972700200000199900006/"...done.
#  Copying "/home/gborzi/.ddd/init" to 
"/home/gborzi/.ddd/sessions/11c0a76093000108972700200000199900006/init"...
#  Copying "/home/gborzi/.ddd/init" to 
"/home/gborzi/.ddd/sessions/11c0a76093000108972700200000199900006/init"...done.
#  Copying "/home/gborzi/.ddd/history" to 
"/home/gborzi/.ddd/sessions/11c0a76093000108972700200000199900006/history"...
#  Copying "/home/gborzi/.ddd/history" to 
"/home/gborzi/.ddd/sessions/11c0a76093000108972700200000199900006/history"...done.
#  Saving session in 
"/home/gborzi/.ddd/sessions/11c0a76093000108972700200000199900006/init"...
#  Saving session in 
"/home/gborzi/.ddd/sessions/11c0a76093000108972700200000199900006/init"...done.
<- "Using host libthread_db library \"/lib/tls/libthread_db.so.1\".\n"
   "(gdb) "
-> "set prompt (gdb) \n"
<- "(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 6.0-2mdk (Mandrake Linux)\n"
   "Copyright 2003 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-mandrake-linux-gnu\".\n"
   "(gdb) "
-> "pwd\n"
<- "Working directory /home/gborzi.\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/gborzi/.gdb_history\".\n"
   "(gdb) "
-> "show history size\n"
<- "The size of the command history is 1000.\n"
   "(gdb) "
#  Reading file "/home/gborzi/init.c"...
#  Reading file "/home/gborzi/init.c"...No such file or directory.
-> "info source\n"
<- "Current source file is init.c\n"
   "Compilation directory is /usr/src/RPM/BUILD/glibc-2.3.1/csu\n"
   "Source language is c.\n"
   "Compiled with DWARF 2 debugging format.\n"
   "Does not include preprocessor macro info.\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/gborzi/init.c"...
!  /home/gborzi/init.c: No such file or directory
#  Reading file "/home/gborzi/init.c"...No such file or directory.
-> "info source\n"
<- "Current source file is init.c\n"
   "Compilation directory is /usr/src/RPM/BUILD/glibc-2.3.1/csu\n"
   "Source language is c.\n"
   "Compiled with DWARF 2 debugging format.\n"
   "Does not include preprocessor macro info.\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"
   "/usr/src/RPM/BUILD/glibc-2.3.1/build-i586-linux/csu/crtn.S, solvlib4.f, 
solvlib2.f, mathlib.f, comelfin.f, iterelfin.f, elfin.f, 
/usr/src/RPM/BUILD/glibc-2.3.1/build-i586-linux/csu/crti.S\n"
   "(gdb) "
-> "info line main\n"
<- "No line number information available for address 0x8090d20 <main>\n"
   "(gdb) "
-> "info source\n"
<- "Current source file is init.c\n"
   "Compilation directory is /usr/src/RPM/BUILD/glibc-2.3.1/csu\n"
   "Source language is c.\n"
   "Compiled with DWARF 2 debugging format.\n"
   "Does not include preprocessor macro info.\n"
   "(gdb) "
-> "info line MAIN\n"
<- "Function \"MAIN\" not defined.\n"
   "(gdb) "
-> "info files\n"
<- "Symbols from \"/home/gborzi/src/elfin3/elfin\".\n"
   "Local exec file:\n"
   "\t`/home/gborzi/src/elfin3/elfin\', file type elf32-i386.\n"
   "\tEntry point: 0x8049930\n"
   "\t0x080480f4 - 0x08048107 is .interp\n"
   "\t0x08048108 - 0x08048128 is .note.ABI-tag\n"
   "\t0x08048128 - 0x08048468 is .hash\n"
   "\t0x08048468 - 0x08048b38 is .dynsym\n"
   "\t0x08048b38 - 0x08048ebb is .dynstr\n"
   "\t0x08048ebc - 0x08048f96 is .gnu.version\n"
   "\t0x08048f98 - 0x08048fe8 is .gnu.version_r\n"
   "\t0x08048fe8 - 0x08048ff0 is .rel.dyn\n"
   "\t0x08048ff0 - 0x080492f8 is .rel.plt\n"
   "\t0x080492f8 - 0x0804930f is .init\n"
   "\t0x08049310 - 0x08049930 is .plt\n"
   "\t0x08049930 - 0x08090e44 is .text\n"
   "\t0x08090e44 - 0x08090e5f is .fini\n"
   "\t0x08090e60 - 0x08092220 is .rodata\n"
   "\t0x08092220 - 0x08092224 is .eh_frame\n"
   "\t0x08093240 - 0x080976e0 is .data\n"
   "\t0x080976e0 - 0x080977d8 is .dynamic\n"
   "\t0x080977d8 - 0x080977e0 is .ctors\n"
   "\t0x080977e0 - 0x080977e8 is .dtors\n"
   "\t0x080977e8 - 0x080977ec is .jcr\n"
   "\t0x080977ec - 0x08097984 is .got\n"
   "\t0x080979a0 - 0x36c64d98 is .bss\n"
   "(gdb) "
-> "info line main_\n"
<- "Line 26 of \"comelfin.f\" is at address 0x8061ef3 <legfdat_+11> but 
contains no code.\n"
<- "\032\032/home/gborzi/src/elfin3/comelfin.f:26:923:beg:0x8061ef3\n"
   "(gdb) "
#  Reading file "/home/gborzi/src/elfin3/comelfin.f"...
#  Reading file "/home/gborzi/src/elfin3/comelfin.f"...done.
#  File "/home/gborzi/src/elfin3/comelfin.f" 5997 lines, 186769 characters
-> "info program\n"
<- "The program being debugged is not being run.\n"
   "(gdb) "
-> "set confirm off\n"
<- "(gdb) "
-> "source /home/gborzi/tmp/dddVMp2qc\n"
<- "The target architecture is set automatically (currently i386)\n"
   "The target endianness is set automatically (currently little endian)\n"
   "/home/gborzi/tmp/dddVMp2qc:58: Error in sourced command file:\n"
   "Undefined item: \"`ISO-8859-1\'\".\n"
   "(gdb) "
-> "info breakpoints\n"
<- "No breakpoints or watchpoints.\n"
   "(gdb) "
-> "info source\n"
<- "Current source file is comelfin.f\n"
   "Compilation directory is /home/gborzi/src/elfin3\n"
   "Located in /home/gborzi/src/elfin3/comelfin.f\n"
   "Contains 5997 lines.\n"
   "Source language is fortran.\n"
   "Compiled with DWARF 2 debugging format.\n"
   "Does not include preprocessor macro info.\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 files\n"
<- "Symbols from \"/home/gborzi/src/elfin3/elfin\".\n"
   "Local exec file:\n"
   "\t`/home/gborzi/src/elfin3/elfin\', file type elf32-i386.\n"
   "\tEntry point: 0x8049930\n"
   "\t0x080480f4 - 0x08048107 is .interp\n"
   "\t0x08048108 - 0x08048128 is .note.ABI-tag\n"
   "\t0x08048128 - 0x08048468 is .hash\n"
   "\t0x08048468 - 0x08048b38 is .dynsym\n"
   "\t0x08048b38 - 0x08048ebb is .dynstr\n"
   "\t0x08048ebc - 0x08048f96 is .gnu.version\n"
   "\t0x08048f98 - 0x08048fe8 is .gnu.version_r\n"
   "\t0x08048fe8 - 0x08048ff0 is .rel.dyn\n"
   "\t0x08048ff0 - 0x080492f8 is .rel.plt\n"
   "\t0x080492f8 - 0x0804930f is .init\n"
   "\t0x08049310 - 0x08049930 is .plt\n"
   "\t0x08049930 - 0x08090e44 is .text\n"
   "\t0x08090e44 - 0x08090e5f is .fini\n"
   "\t0x08090e60 - 0x08092220 is .rodata\n"
   "\t0x08092220 - 0x08092224 is .eh_frame\n"
   "\t0x08093240 - 0x080976e0 is .data\n"
   "\t0x080976e0 - 0x080977d8 is .dynamic\n"
   "\t0x080977d8 - 0x080977e0 is .ctors\n"
   "\t0x080977e0 - 0x080977e8 is .dtors\n"
   "\t0x080977e8 - 0x080977ec is .jcr\n"
   "\t0x080977ec - 0x08097984 is .got\n"
   "\t0x080979a0 - 0x36c64d98 is .bss\n"
   "(gdb) "
-> "info program\n"
<- "The program being debugged is not being run.\n"
   "(gdb) "
-> "set auto-solib-add on\n"
<- "(gdb) "
-> "set backtrace past-main off\n"
<- "(gdb) "
-> "set coerce-float-to-double on\n"
<- "(gdb) "
-> "set confirm off\n"
<- "(gdb) "
-> "set editing on\n"
<- "(gdb) "
-> "set exec-done-display off\n"
<- "(gdb) "
-> "set history expansion off\n"
<- "(gdb) "
-> "set history save off\n"
<- "(gdb) "
-> "set logging overwrite off\n"
<- "(gdb) "
-> "set logging redirect off\n"
<- "(gdb) "
-> "set opaque-type-resolution on\n"
<- "(gdb) "
-> "set overload-resolution on\n"
<- "(gdb) "
-> "set pagination on\n"
<- "(gdb) "
-> "set print address on\n"
<- "(gdb) "
-> "set print array off\n"
<- "(gdb) "
-> "set print asm-demangle on\n"
<- "(gdb) "
-> "set print demangle on\n"
<- "(gdb) "
-> "set print null-stop off\n"
<- "(gdb) "
-> "set print object off\n"
<- "(gdb) "
-> "set print pascal_static-members on\n"
<- "(gdb) "
-> "set print pretty off\n"
<- "(gdb) "
-> "set print sevenbit-strings off\n"
<- "(gdb) "
-> "set print static-members on\n"
<- "(gdb) "
-> "set print symbol-filename off\n"
<- "(gdb) "
-> "set print union on\n"
<- "(gdb) "
-> "set print vtbl off\n"
<- "(gdb) "
-> "set remotebreak off\n"
<- "(gdb) "
-> "set remotecache off\n"
<- "(gdb) "
-> "set step-mode off\n"
<- "(gdb) "
-> "set symbol-reloading off\n"
<- "(gdb) "
-> "set trust-readonly-sections off\n"
<- "(gdb) "
-> "set unwindonsignal off\n"
<- "(gdb) "
-> "set verbose off\n"
<- "(gdb) "
-> "set write off\n"
<- "(gdb) "
-> "set can-use-hw-watchpoints 1\n"
<- "(gdb) "
-> "set debug arch 0\n"
<- "(gdb) "
-> "set debug event 0\n"
<- "(gdb) "
-> "set debug expression 0\n"
<- "(gdb) "
-> "set debug frame 0\n"
<- "(gdb) "
-> "set debug lin-lwp 0\n"
<- "(gdb) "
-> "set debug overload 0\n"
<- "(gdb) "
-> "set debug remote 0\n"
<- "(gdb) "
-> "set debug serial 0\n"
<- "(gdb) "
-> "set debug target 0\n"
<- "(gdb) "
-> "set debugvarobj 0\n"
<- "(gdb) "
-> "set stop-on-solib-events 0\n"
<- "(gdb) "
-> "set architecture auto\n"
<- "The target architecture is set automatically (currently i386)\n"
   "(gdb) "
-> "set endian auto\n"
<- "The target endianness is set automatically (currently little endian)\n"
   "(gdb) "
-> "set demangle-style auto\n"
<- "(gdb) "
-> "set language auto\n"
<- "(gdb) "
-> "set disassembly-flavor att\n"
<- "(gdb) "
-> "set follow-fork-mode parent\n"
<- "(gdb) "
-> "set check range auto\n"
<- "(gdb) "
-> "set check type auto\n"
<- "(gdb) "
-> "set annotate 1\n"
<- "(gdb) "
-> "set backtrace limit 0\n"
<- "(gdb) "
-> "set case-sensitive auto\n"
<- "(gdb) "
-> "set charset `ISO-8859-1\'\n"
<- "Undefined item: \"`ISO-8859-1\'\".\n"
   "(gdb) "
-> "set complaints 0\n"
<- "(gdb) "
-> "set cp-abi auto\" (currently \"gnu-v2\"\n"
<- "Could not find \"auto\" (currently \"gnu-v2\"\" in ABI list\n"
   "(gdb) "
-> "set debug-file-directory /usr/lib/debug\n"
<- "(gdb) "
-> "set download-write-size 0d512\n"
<- "(gdb) "
-> "set gnutarget auto\n"
<- "(gdb) "
-> "set height 0\n"
<- "(gdb) "
-> "set history filename /home/gborzi/cmbd/disp/.gdb_history\n"
<- "(gdb) "
-> "set history size 0d1000\n"
<- "(gdb) "
-> "set host-charset ISO-8859-1\n"
<- "(gdb) "
-> "set input-radix 0d10\n"
<- "(gdb) "
-> "set listsize 0d10\n"
<- "(gdb) "
-> "set logging file gdb.txt\n"
<- "(gdb) "
-> "set max-user-call-depth 0d1024\n"
<- "(gdb) "
-> "set os \n"
<- "(gdb) "
-> "set output-radix 0d10\n"
<- "(gdb) "
-> "set print elements 0d200\n"
<- "(gdb) "
-> "set print max-symbolic-offset 0\n"
<- "(gdb) "
-> "set print repeats 0d10\n"
<- "(gdb) "
-> "set prompt (gdb) \n"
<- "(gdb) "
-> "set prompt-escape-char 0\n"
<- "(gdb) "
-> "set remote hardware-breakpoint-limit 0d4294967295\n"
<- "(gdb) "
-> "set remote hardware-watchpoint-limit 0d4294967295\n"
<- "(gdb) "
-> "set remote memory-read-packet-size 0\n"
<- "(gdb) "
-> "set remote memory-write-packet-size 0\n"
<- "(gdb) "
-> "set remote system-call-allowed not allowed\n"
<- "Illegal argument for \"set remote system-call-allowed\" command\n"
   "(gdb) "
-> "set remoteaddresssize 0d32\n"
<- "(gdb) "
-> "set remotebaud 0d4294967295\n"
<- "(gdb) "
-> "set remotelogbase ascii\n"
<- "(gdb) "
-> "set remotetimeout 0d2\n"
<- "(gdb) "
-> "set solib-search-path \n"
<- "(gdb) "
-> "set struct-convention default\n"
<- "(gdb) "
-> "set target-charset ISO-8859-1\n"
<- "(gdb) "
-> "set watchdog 0\n"
<- "(gdb) "
-> "set width 0\n"
<- "(gdb) "
#  Opening session "11c0a76093000108972700200000199900006"...done.
#  Welcome to DDD 3.3.8 "Cinnamon" (i586-mandrake-linux-gnu)
-> "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 location (same args as break command) within the current 
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) "
-> "complete break MAIN\n"
<- "break MAIN__\n"
<- "(gdb) "
-> "break MAIN__ \n"
<- "Breakpoint 1 at 0x80499f5: file elfin.f, line 122.\n"
<- "(gdb) "
-> "info breakpoints\n"
<- "Num Type           Disp Enb Address    What\n"
<- "1   breakpoint     keep y   0x080499f5 in MAIN__ at elfin.f:122\n"
<- "(gdb) "
#  Starting execution window...
+  /bin/sh -c 'tmp=${TMPDIR-/tmp}/ddd$$; export tmp; trap "rm -f $tmp" 0; trap 
'\''exit 1'\'' 1 2 15; aterm -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 </dev/null 
2>&1 & while test ! -s $tmp; do sleep 1; done; cat $tmp'
#  Starting execution window...done.
#  Initializing execution window...
#  Initializing execution window...done.
-> "set environment TERM xterm\n"
<- "(gdb) "
-> "show args\n"
<- "Argument list to give program being debugged when it is started is \"\".\n"
<- "(gdb) "
-> "run < /dev/pts/2 > /dev/pts/2 2>&1\n"
<- "\n"
<- "Program exited with code 0177.\n"
<- "(gdb) "
-> "info breakpoints\n"
<- "Num Type           Disp Enb Address    What\n"
   "1   breakpoint     keep y   0x080499f5 in MAIN__ at elfin.f:122\n"
<- "(gdb) "
#  Initializing execution window...
#  Initializing execution window...done.
-> "set environment TERM xterm\n"
<- "(gdb) "
-> "show args\n"
<- "Argument list to give program being debugged when it is started is \"< 
/dev/pts/2 > /dev/pts/2 2>&1\".\n"
<- "(gdb) "
-> "run < /dev/pts/2 > /dev/pts/2 2>&1\n"
<- "\n"
<- "Breakpoint 1, MAIN__ () at elfin.f:122\n"
<- "\032\032/home/gborzi/src/elfin3/elfin.f:122:4748:beg:0x80499f5\n"
<- "Current language:  auto; currently fortran\n"
<- "(gdb) "
#  Current language: Fortran
-> "info breakpoints\n"
<- "Num Type           Disp Enb Address    What\n"
   "1   breakpoint     keep y   0x080499f5 in MAIN__ at elfin.f:122\n"
   "\tbreakpoint already hit 1 time\n"
<- "(gdb) "
#  Reading file "/home/gborzi/src/elfin3/elfin.f"...
#  Reading file "/home/gborzi/src/elfin3/elfin.f"...done.
#  File "/home/gborzi/src/elfin3/elfin.f" 3595 lines, 121127 characters
-> "info source\n"
<- "Current source file is elfin.f\n"
   "Compilation directory is /home/gborzi/src/elfin3\n"
   "Located in /home/gborzi/src/elfin3/elfin.f\n"
   "Contains 3595 lines.\n"
   "Source language is fortran.\n"
   "Compiled with DWARF 2 debugging format.\n"
   "Does not include preprocessor macro info.\n"
   "(gdb) "
-> "output main\n"
<- "{<text variable, no debug info>} 0x8090d20 <main>"
<- "(gdb) "
-> "output main_\n"
<- "(0 \'\\000\', 0 \'\\000\', 0 \'\\000\', 0 \'\\000\', 0 \'\\000\', 0 
\'\\000\', 0 \'\\000\', 0 \'\\000\')"
<- "(gdb) "
-> "next\n"
<- "\032\032/home/gborzi/src/elfin3/elfin.f:124:4821:beg:0x80499ff\n"
<- "(gdb) "
-> "info breakpoints\n"
<- "Num Type           Disp Enb Address    What\n"
<- "1   breakpoint     keep y   0x080499f5 in MAIN__ at elfin.f:122\n"
<- "\tbreakpoint already hit 1 time\n"
<- "(gdb) "
-> "output main\n"
<- "{<text variable, no debug info>} 0x8090d20 <main>"
<- "(gdb) "
-> "output main_\n"
<- "(2 \'\\002\'"
<- ", 0 \'\\000\'"
<- ", 0 \'\\000\'"
<- ", 0 \'\\000\'"
<- ", 0 \'\\000\'"
<- ", 0 \'\\000\'"
<- ", 0 \'\\000\'"
<- ", 0 \'\\000\'"
<- ")"
<- "(gdb) "
-> "output imain\n"
<- "2"
<- "(gdb) "
-> "output imain_\n"
<- "No symbol \"imain_\" in current context.\n"
<- "(gdb) "
-> "output imain__\n"
<- "No symbol \"imain__\" in current context."
<- "\n"
<- "(gdb) "
-> "output IMAIN_\n"
<- "No symbol \"IMAIN_\" in current context.\n"
<- "(gdb) "
-> "output IMAIN__\n"
<- "No symbol \"IMAIN__\" in current context.\n"
<- "(gdb) "
-> "print imain\n"
<- "$1 = 2\n"
<- "(gdb) "
-> "info breakpoints\n"
<- "Num Type           Disp Enb Address    What\n"
   "1   breakpoint     keep y   0x080499f5 in MAIN__ at elfin.f:122\n"
   "\tbreakpoint already hit 1 time\n"
<- "(gdb) "
-> "frame\n"
<- "#0  MAIN__ () at elfin.f:124\n"
   "\032\032/home/gborzi/src/elfin3/elfin.f:124:4821:beg:0x80499ff\n"
<- "(gdb) "
-> "display imain\n"
<- "(gdb) "
-> "display\n"
<- "1: imain = 2"
<- "\n"
<- "(gdb) "
#  Creating display...
#  Creating display...done.
#  Display 1: imain (enabled, scope MAIN__)
#  Display 1: imain (enabled, scope MAIN__)
#  Display 1: imain (enabled, scope MAIN__)
#  Display 1: imain (enabled, scope MAIN__)
#  Display 1: imain (enabled, scope MAIN__)
#  Display 1: imain (enabled, scope MAIN__)
#  Display 1: imain (enabled, scope MAIN__)
#  Display 1: imain (enabled, scope MAIN__)
#  Display 1: imain (enabled, scope MAIN__)
#  Display 1: imain (enabled, scope MAIN__)
#  Display 1: imain (enabled, scope MAIN__)
#  Display 1: imain (enabled, scope MAIN__)
#  Display 1: imain (enabled, scope MAIN__)
#  Display 1: imain (enabled, scope MAIN__)
#  Display 1: imain (enabled, scope MAIN__)
#  Display 1: imain (enabled, scope MAIN__)
#  Display 1: imain (enabled, scope MAIN__)
#  Display 1: imain (enabled, scope MAIN__)
-> "output j0vett\n"
<- "(0"
<- ", 0"
<- ", 0"
<- ", 0"
<- ", 0"
<- ", 0"
<- ", 0"
<- ", 0"
<- ", 0"
<- ", 0"
<- ", 0"
<- ", 0"
<- ", 0"
<- ", 0"
<- ", 0"
<- ", 0"
<- ", 0"
<- ", 0"
<- ", 0"
<- ", 0"
<- ", 0"
<- ", 0"
<- ", 0"
<- ", 0"
<- ", 0"
<- ", 0"
<- ", 0"
<- ", 0, 0, 0)"
<- "(gdb) "
-> "output j0vett_\n"
<- "No symbol \"j0vett_\" in current context."
<- "\n"
<- "(gdb) "
-> "output j0vett__\n"
<- "No symbol \"j0vett__\" in current context."
<- "\n"
<- "(gdb) "
-> "output J0VETT_\n"
<- "No symbol \"J0VETT_\" in current context."
<- "\n"
<- "(gdb) "
-> "output J0VETT__\n"
<- "No symbol \"J0VETT__\" in current context."
<- "\n"
<- "(gdb) "
-> "frame\n"
<- "#0  MAIN__ () at elfin.f:124\n"
   "\032\032/home/gborzi/src/elfin3/elfin.f:124:4821:beg:0x80499ff\n"
<- "(gdb) "
-> "display j0vett\n"
<- "(gdb) "
-> "display\n"
<- "2: j0vett = (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
0, 0, 0, 0, 0, 0, 0, 0, 0)\n"
   "1: imain = 2\n"
<- "(gdb) "
#  Creating display...
-> "ptype j0vett\n"
<- "type = integer (30)\n"
<- "(gdb) "
#  Creating display...done.
#  Display 2: j0vett (enabled, scope MAIN__)
#  Display 2: j0vett (enabled, scope MAIN__)
#  Display 2: j0vett (enabled, scope MAIN__)
#  Display 2: j0vett (enabled, scope MAIN__)
-> "output irun\n"
<- "0"
<- "(gdb) "
-> "output irun_\n"
<- "No symbol \"irun_\" in current context.\n"
<- "(gdb) "
-> "output irun__\n"
<- "No symbol \"irun__\" in current context."
<- "\n"
<- "(gdb) "
-> "output IRUN_\n"
<- "No symbol \"IRUN_\" in current context."
<- "\n"
<- "(gdb) "
-> "output IRUN__\n"
<- "No symbol \"IRUN__\" in current context."
<- "\n"
<- "(gdb) "
#  Display 2: j0vett (enabled, scope MAIN__)
#  Display 2: j0vett (enabled, scope MAIN__)
#  Display 2: j0vett (enabled, scope MAIN__)
#  Display 2: j0vett (enabled, scope MAIN__)
#  Display 2: j0vett (enabled, scope MAIN__)
#  Display 2: j0vett (enabled, scope MAIN__)
#  Display 2: j0vett (enabled, scope MAIN__)
#  Display 2: j0vett (enabled, scope MAIN__)
-> "quit\n"
#  Running GDB (pid 20351, tty /dev/pts/1)...Exit 0.
#  Saving options in "/home/gborzi/.ddd/init"...
#  Saving options in "/home/gborzi/.ddd/init"...done.
#  Deleting session "11c0a76093000108972700200000199900006"...
#  Current session is [none].
#  Deleting session "11c0a76093000108972700200000199900006"...done.
#  Closing execution window...
#  Closing execution window...done.
#  Saving history in "/home/gborzi/.ddd/history"...
#  Saving history in "/home/gborzi/.ddd/history"...done.
#  Thanks for using DDD 3.3.8!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]