gdb
[Top][All Lists]
Advanced

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

[Gdb] Re[2]: Gdb's unexpected behaviour.


From: Vyacheslav Zakharin
Subject: [Gdb] Re[2]: Gdb's unexpected behaviour.
Date: Tue, 5 Nov 2002 10:25:59 +0600

>>Eric Hanchrow writes:
EH>     VZ> When I start debugging foo(), pointer "=>" move:
EH>     VZ> (1)->(2)->(3)->(2)->(1)->(3)->...

EH>     VZ> Writing "p len" in state (2|3|4) produce:
EH>     VZ>         "len" not defined in current context.

EH>     VZ> What's the reason? Please help.

EH> It sounds like your source is "out of sync" with your binary -- you
EH> simply need to recompile.

Ben Elliston was right - it's all because of optimization.
Thanks to all.

---------
Vian






reply via email to

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