Re: Debugging GDB with GDB

Daniel Jacobowitz
2006-08-31T16:34:35Z

On Thu, Aug 31, 2006 at 09:47:38PM +0530, Rajesh Warange wrote:
> I 'm pretty badly foxed by this behaviour.
> Could anyone please explain me this

This is what always happens when you are debugging optimized code.
Either ignore the jumps back and forth, or build GDB with CFLAGS=-g.

--
Daniel Jacobowitz
CodeSourcery