ddd
[Top][All Lists]
Advanced

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

ddd/gdb


From: Tom Wurgler
Subject: ddd/gdb
Date: Mon, 26 Jan 2004 15:31:29 -0500 (EST)

I have a question about ddd (3.3.8) when using gdb (6.0).  I set a breakpoint
at a point after a variable is set.  The code runs to that spot and stops.  I
highlight the variable name in the source window and click "print".  I get
$1 = 189871112.  This should be a character string "testfile.dat".  I get
similar results for a real variable.

So I get out of ddd and run gdb on the command line.  Same results.  So it is
gdb doing this, not ddd.  So I've searched the info pages for gdb and in
particular the print command and try all the options.  

I can't get things to print.  What is up with this...I know this isn't a ddd
problem, but perhaps one of you know the answer?

thanks
tom





reply via email to

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