bug-ddd
[Top][All Lists]
Advanced

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

Display doesn't show one structure member


From: Ajit Sen Surendran
Subject: Display doesn't show one structure member
Date: Tue, 9 Nov 2004 21:46:50 -0800 (PST)

Sir,
   I like ddd very much and it is really useful. I use

two versions of ddd right now on diffrent machines and

found that the recent version(3.3.8) has a problem but
the older version (3.3.1) doesnot have this problem.

   When i give a structure Graph * Nodes_Set
to display it does not show up the fisrt member
Nodes_Set->names (ps file attached), while  
(gdb)print *Nodes_Set gives

"$1 = {name = 0x986a090, incoming = 0x0, outgoing =
0x986aa28, oldstring = 0x0, nxtstring = 0x0, New =
0x0, Old = 0x986a0d4, Other = 0x986a0d4, Next = 0x0,
isred = \'\\0\' <repeats 63 times>"

>>>>>>>>>>>>~/.ddd/log <<<<<<<<<<<<<<<<<<

GNU DDD 3.3.8 (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.

Compiled with GCC 3.3.3 20040326 (Red Hat Linux
3.3.3-6), GNU libc 2.3
Requires X11R6, Xt11R6, Motif 2.2.3 (Motif Version
2.2.2)
Includes XPM 3.4.11, Athena Panner (7000002L), DDD
core
Built 2004-04-09 by Compile Server
<bhcompile@tweety.devel.redhat.com>.
$  ddd diag
+  /bin/sh -c 'exec gdb -q -fullname '\''diag'\'''
#  Hello, world!
#  Starting GDB...
#  Enabling core dumps...
#  Enabling core dumps...done.
#  Running GDB (pid 6121, tty /dev/pts/7)...
#  Current language: C/C++
#  Searching "vsllib/ddd.vsl"...
#  Trying "/home/ajits/.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".
<- "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"
<- "67\t\tprintf(\"\\t-F file  like -f, but with the
LTL \");\n"
   "68\t\tprintf(\"formula stored in a 1-line file\\n"
   "\");\n"
   "69\t\talldone(1);\n"
   "70\t}\n"
   "71\t\n"
   "72\t\n"
   "73\tint\n"
   "74\tmain(int argc, char *argv[])\n"
   "75\t{\n"
   "76\t        verbose =1 ;\n"
<- "(gdb) "
-> "info line\n"
<- "Line 76 of \"main.c\" starts at address 0x804f711
<main+19> and ends at 0x804f71b <main+29>.\n"
  
"\032\032/home/ajits/FormalVerification/Spin/Src4.2.0/ajit/main.c:76:1131:beg:0x804f711\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 Red Hat Linux (6.0post-0.20040223.19rh)\n"
   "Copyright 2004 Free Software Foundation, Inc.\n"
   "GDB is free software, covered by the GNU General
Public License, and you are\n"
   "welcome to change it and/or distribute copies of
it under certain conditions.\n"
   "Type \"show copying\" to see the conditions.\n"
   "There is absolutely no warranty for GDB.  Type
\"show warranty\" for details.\n"
   "This GDB was configured as
\"i386-redhat-linux-gnu\".\n"
<- "(gdb) "
-> "pwd\n"
<- "Working directory
/home/ajits/FormalVerification/Spin/Src4.2.0/ajit.\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/ajits/FormalVerification/Spin/Src4.2.0/ajit/.gdb_history\".\n"
<- "(gdb) "
-> "show history size\n"
<- "The size of the command history is 1000.\n"
<- "(gdb) "
#  Reading file
"/home/ajits/FormalVerification/Spin/Src4.2.0/ajit/main.c"...
#  Reading file
"/home/ajits/FormalVerification/Spin/Src4.2.0/ajit/main.c"...done.
#  File
"/home/ajits/FormalVerification/Spin/Src4.2.0/ajit/main.c"
110 lines, 3242 characters
#  Setting buttons...
#  Setting buttons...done.
-> "info source\n"
<- "Current source file is main.c\n"
   "Compilation directory is
/home/ajits/FormalVerification/Spin/Src4.2.0/ajit\n"
   "Located in
/home/ajits/FormalVerification/Spin/Src4.2.0/ajit/main.c\n"
   "Contains 110 lines.\n"
   "Source language is c.\n"
   "Compiled with DWARF 2 debugging format.\n"
   "Does not include preprocessor macro info.\n"
<- "(gdb) "
-> "info files\n"
<- "Symbols from
\"/home/ajits/FormalVerification/Spin/Src4.2.0/ajit/diag\".\n"
   "Local exec file:\n"
  
"\t`/home/ajits/FormalVerification/Spin/Src4.2.0/ajit/diag\',
file type elf32-i386.\n"
   "\tEntry point: 0x804866c\n"
   "\t0x08048114 - 0x08048127 is .interp\n"
   "\t0x08048128 - 0x08048148 is .note.ABI-tag\n"
   "\t0x08048148 - 0x080481ec is .hash\n"
   "\t0x080481ec - 0x0804834c is .dynsym\n"
   "\t0x0804834c - 0x0804842f is .dynstr\n"
   "\t0x08048430 - 0x0804845c is .gnu.version\n"
   "\t0x0804845c - 0x0804849c is .gnu.version_r\n"
   "\t0x0804849c - 0x080484ac is .rel.dyn\n"
   "\t0x080484ac - 0x08048534 is .rel.plt\n"
   "\t0x08048534 - 0x0804854b is .init\n"
   "\t0x0804854c - 0x0804866c is .plt\n"
   "\t0x0804866c - 0x0804f980 is .text\n"
   "\t0x0804f980 - 0x0804f99b is .fini\n"
   "\t0x0804f99c - 0x08050692 is .rodata\n"
   "\t0x08050694 - 0x08050698 is .eh_frame\n"
   "\t0x08051000 - 0x08051008 is .ctors\n"
   "\t0x08051008 - 0x08051010 is .dtors\n"
   "\t0x08051010 - 0x08051014 is .jcr\n"
   "\t0x08051014 - 0x080510dc is .dynamic\n"
   "\t0x080510dc - 0x080510e0 is .got\n"
   "\t0x080510e0 - 0x08051130 is .got.plt\n"
   "\t0x08051140 - 0x08051180 is .data\n"
   "\t0x08051180 - 0x08053cac is .bss\n"
<- "(gdb) "
-> "info program\n"
<- "The program being debugged is not being run.\n"
<- "(gdb) "
-> "set confirm off\n"
<- "(gdb) "
-> "source /tmp/dddD7M5AV\n"
<- "The target architecture is set automatically
(currently i386)\n"
   "The target endianness is set automatically
(currently little endian)\n"
   "/tmp/dddD7M5AV:60: Error in sourced command
file:\n"
   "Undefined item: \"`ISO-8859-1\'\".\n"
<- "(gdb) "
-> "info breakpoints\n"
<- "No breakpoints or watchpoints.\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/ajits/FormalVerification/Spin/Src4.2.0/ajit/diag\".\n"
   "Local exec file:\n"
  
"\t`/home/ajits/FormalVerification/Spin/Src4.2.0/ajit/diag\',
file type elf32-i386.\n"
   "\tEntry point: 0x804866c\n"
   "\t0x08048114 - 0x08048127 is .interp\n"
   "\t0x08048128 - 0x08048148 is .note.ABI-tag\n"
   "\t0x08048148 - 0x080481ec is .hash\n"
   "\t0x080481ec - 0x0804834c is .dynsym\n"
   "\t0x0804834c - 0x0804842f is .dynstr\n"
   "\t0x08048430 - 0x0804845c is .gnu.version\n"
   "\t0x0804845c - 0x0804849c is .gnu.version_r\n"
   "\t0x0804849c - 0x080484ac is .rel.dyn\n"
   "\t0x080484ac - 0x08048534 is .rel.plt\n"
   "\t0x08048534 - 0x0804854b is .init\n"
   "\t0x0804854c - 0x0804866c is .plt\n"
   "\t0x0804866c - 0x0804f980 is .text\n"
   "\t0x0804f980 - 0x0804f99b is .fini\n"
   "\t0x0804f99c - 0x08050692 is .rodata\n"
   "\t0x08050694 - 0x08050698 is .eh_frame\n"
   "\t0x08051000 - 0x08051008 is .ctors\n"
   "\t0x08051008 - 0x08051010 is .dtors\n"
   "\t0x08051010 - 0x08051014 is .jcr\n"
   "\t0x08051014 - 0x080510dc is .dynamic\n"
   "\t0x080510dc - 0x080510e0 is .got\n"
   "\t0x080510e0 - 0x08051130 is .got.plt\n"
   "\t0x08051140 - 0x08051180 is .data\n"
   "\t0x08051180 - 0x08053cac 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 solib 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 breakpoint pending auto\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/ajits/FormalVerification/Spin/Src4.2.0/.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 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 tui active-border-mode bold-standout\n"
<- "(gdb) "
-> "set tui border-kind acs\n"
<- "(gdb) "
-> "set tui border-mode normal\n"
<- "(gdb) "
-> "set watchdog 0\n"
<- "(gdb) "
-> "set width 0\n"
<- "(gdb) "
#  Starting GDB...done.
#  Welcome to DDD 3.3.8 "Cinnamon"
(i386-redhat-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) "
#  Retrieving Command Definitions...
-> "help user-defined\n"
<- "User-defined commands.\n"
   "The commands in this class are those defined by
the user.\n"
   "Use the \"define\" command to define a command.\n"
   "\n"
   "List of commands:\n"
   "\n"
   "\n"
   "Type \"help\" followed by command name for full
documentation.\n"
   "Command name abbreviations are allowed if
unambiguous.\n"
<- "(gdb) "
#  Retrieving Command Definitions...done.
-> "set args -f \"p U q\"\n"
<- "(gdb) "
-> "info breakpoints\n"
<- "No breakpoints or watchpoints.\n"
<- "(gdb) "
-> "b tl_main.c:102\n"
<- "Breakpoint 1 at 0x8049bcf: file tl_main.c, line
102.\n"
<- "(gdb) "
-> "info breakpoints\n"
<- "Num Type           Disp Enb Address    What\n"
<- "1   breakpoint     keep y   0x08049bcf in tl_main
at tl_main.c:102\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; 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
</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 \"-f \"p U q\"\".\n"
<- "(gdb) "
-> "r < /dev/pts/8 > /dev/pts/8 2>&1 -f \"p U q\"\n"
<- "Error while mapping shared library sections:\n"
   ": No such file or directory.\n"
   "Error while reading shared library symbols:\n"
   ": No such file or directory.\n"
<- "Error while reading shared library symbols:\n"
<- ": No such file or directory.\n"
   "Error while reading shared library symbols:\n"
   ": No such file or directory.\n"
   "\n"
   "Breakpoint 1, tl_main (argc=0, argv=0xfef5b19c) at
tl_main.c:102\n"
  
"\032\032/home/ajits/FormalVerification/Spin/Src4.2.0/ajit/tl_main.c:102:2488:beg:0x8049bcf\n"
<- "(gdb) "
-> "info breakpoints\n"
<- "Num Type           Disp Enb Address    What\n"
<- "1   breakpoint     keep y   0x08049bcf in tl_main
at tl_main.c:102\n"
<- "\tbreakpoint already hit 1 time\n"
<- "(gdb) "
#  Reading file
"/home/ajits/FormalVerification/Spin/Src4.2.0/ajit/tl_main.c"...
#  Reading file
"/home/ajits/FormalVerification/Spin/Src4.2.0/ajit/tl_main.c"...done.
#  File
"/home/ajits/FormalVerification/Spin/Src4.2.0/ajit/tl_main.c"
216 lines, 7366 characters
-> "info source\n"
<- "Current source file is tl_main.c\n"
   "Compilation directory is
/home/ajits/FormalVerification/Spin/Src4.2.0/ajit\n"
   "Located in
/home/ajits/FormalVerification/Spin/Src4.2.0/ajit/tl_main.c\n"
   "Contains 216 lines.\n"
   "Source language is c.\n"
   "Compiled with DWARF 2 debugging format.\n"
   "Does not include preprocessor macro info.\n"
<- "(gdb) "
-> "info line \'Nodes_Set\'\n"
<- "Line 23 of \"tl_trans.c\" is at address 0x804a2b8
<dump_graph> but contains no code.\n"
<- "warning: "
<- "Source file is more recent than executable.\n"
<- "\n"
<-
"\032\032/home/ajits/FormalVerification/Spin/Src4.2.0/ajit/tl_trans.c:23:976:beg:0x804a2b8\n"
<- "(gdb) "
#  Reading file
"/home/ajits/FormalVerification/Spin/Src4.2.0/ajit/tl_trans.c"...
#  Reading file
"/home/ajits/FormalVerification/Spin/Src4.2.0/ajit/tl_trans.c"...done.
#  File
"/home/ajits/FormalVerification/Spin/Src4.2.0/ajit/tl_trans.c"
946 lines, 31005 characters
-> "info source\n"
<- "Current source file is tl_trans.c\n"
   "Compilation directory is
/home/ajits/FormalVerification/Spin/Src4.2.0/ajit\n"
   "Located in
/home/ajits/FormalVerification/Spin/Src4.2.0/ajit/tl_trans.c\n"
   "Contains 946 lines.\n"
   "Source language is c.\n"
   "Compiled with DWARF 2 debugging format.\n"
   "Does not include preprocessor macro info.\n"
<- "(gdb) "
-> "output Nodes_Set\n"
<- "(Graph *) 0x986ab7c"
<- "(gdb) "
-> "frame\n"
<- "#0  tl_main (argc=0, argv=0xfef5b19c) at
tl_main.c:102\n"
<-
"\032\032/home/ajits/FormalVerification/Spin/Src4.2.0/ajit/tl_main.c:102:2488:beg:0x8049bcf\n"
<- "(gdb) "
-> "display Nodes_Set\n"
<- "(gdb) "
-> "display\n"
<- "1: Nodes_Set = (Graph *) 0x986ab7c\n"
<- "(gdb) "
#  Creating display...
#  Creating display...done.
-> "output &Nodes_Set\n"
#  Display 1: Nodes_Set (enabled, scope tl_main)
<- "(Graph **) 0x80525d0"
<- "(gdb) "
#  Display 1: Nodes_Set (enabled, scope tl_main,
address 0x80525d0)
#  In display 1: Nodes_Set (double-click to
dereference)
-> "frame\n"
<- "#0  tl_main (argc=0, argv=0xfef5b19c) at
tl_main.c:102\n"
<-
"\032\032/home/ajits/FormalVerification/Spin/Src4.2.0/ajit/tl_main.c:102:2488:beg:0x8049bcf\n"
<- "(gdb) "
-> "display *Nodes_Set\n"
<- "(gdb) "
-> "display\n"
<- "2: *Nodes_Set = {name = 0x986a090, incoming = 0x0,
outgoing = 0x986aa28, oldstring = 0x0, nxtstring =
0x0, New = 0x0, Old = 0x986a0d4, Other = 0x986a0d4,
Next = 0x0, isred = \'\\0\' <repeats 63 times>, isgrn
= \'\\0\' <repeats 63 times>, redcnt = 0 \'\\0\',
grncnt = 0 \'\\0\', reachable = 0 \'\\0\', nxt =
0x986a4ac}\n"
   "1: Nodes_Set = (Graph *) 0x986ab7c\n"
<- "(gdb) "
#  Creating display...
#  Creating display...done.
-> "output &(*Nodes_Set)\n"
<- "(Graph *) 0x986ab7c(gdb) "
#  Display 2: *Nodes_Set (enabled, scope tl_main,
address 0x986ab7c)
#  Display 2: *Nodes_Set (enabled, scope tl_main,
address 0x986ab7c)
-> "p *Nodes_Set\n"
<- "$1 = {name = 0x986a090, incoming = 0x0, outgoing =
0x986aa28, oldstring = 0x0, nxtstring = 0x0, New =
0x0, Old = 0x986a0d4, Other = 0x986a0d4, Next = 0x0,
isred = \'\\0\' <repeats 63 times>"
<- ", isgrn = \'\\0\' <repeats 63 times>"
<- ", redcnt = 0 \'\\0\'"
<- ", grncnt = 0 \'\\0\'"
<- ", reachable = 0 \'\\0\'"
<- ", nxt = 0x986a4ac}"
<- "\n"
<- "(gdb) "
-> "info breakpoints\n"
<- "Num Type           Disp Enb Address    What\n"
<- "1   breakpoint     keep y   0x08049bcf in tl_main
at tl_main.c:102\n"
<- "\tbreakpoint already hit 1 time\n"
<- "(gdb) "
-> "output &(*Nodes_Set)\n"
<- "(Graph *) 0x986ab7c"
<- "(gdb) "
-> "output &Nodes_Set\n"
<- "(Graph **) 0x80525d0"
<- "(gdb) "
-> "c\n"
<- "\n"
   "Program exited normally.\n"
<- "(gdb) "
-> "info breakpoints\n"
<- "Num Type           Disp Enb Address    What\n"
<- "1   breakpoint     keep y   0x08049bcf in tl_main
at tl_main.c:102\n"
<- "\tbreakpoint already hit 1 time\n"
<- "(gdb) "
#  Updating displays...
#  Updating displays...done.
-> "q\n"
#  Running GDB (pid 6121, tty /dev/pts/7)...Exit 0.
#  Saving options in "/home/ajits/.ddd/init"...
#  Saving options in "/home/ajits/.ddd/init"...done.
#  Closing execution window...
#  Closing execution window...done.
#  Saving history in "/home/ajits/.ddd/history"...
#  Saving history in
"/home/ajits/.ddd/history"...done.
#  Thanks for using DDD 3.3.8!


>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<


                
__________________________________ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 

Attachment: dddgraph.ps
Description: dddgraph.ps


reply via email to

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