bug-ddd
[Top][All Lists]
Advanced

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

Source view not updated


From: Andreas Zeller
Subject: Source view not updated
Date: 18 Jan 2001 10:58:58 +0100
User-agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)

Hi!

Kevin Holbrook <holbrook@metrowerks.com> writes:

> Andreas Zeller wrote:
> > 
> > DDD 3.2.98 is now available - via the DDD WWW page,
> > 
> 
> Cool!
> 
> I'll have to test some more.
> 
> It seems I was premature in saying the source view
> update bug was fixed. It works in some cases but not others now.

DDD 3.2.98 fixes two minor bugs in DDD's parsing of breakpoint and
position information.  But these occurred under really unusual
circumstances (such as breakpoints at places w/o source, GDB breaking
lines of `info breakpoint' output, and likewise).  I hope these fixes
will help you out, although I'm pessimistic.


> I'll try and spare a few cycles to try and get you a log
> from a case where it doesn't work.
> 
> Any place in particular in the source I might try looking at?

There's a `PosBuffer' class (in a file named `PosBuffer.C') which does
all the parsing of GDB's position information (notably, the method
`filter_gdb()').  

Although GDB is supposed to report the current location in a special
string using a `\032\032' prefix, GDB omits this information
sometimes, so DDD handles a wide variety of GDB messages.

Again, if you have a ~/.ddd/log file which reproduces the problem, it
would be easy to set up the `PosBuffer' class such that the specific
GDB message is parsed properly.

Best wishes,

Andreas

-- 
Andreas Zeller     Universitaet Passau
                   http://www.fmi.uni-passau.de/st/staff/zeller/



reply via email to

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