This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Debugging GDB with GDB


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]