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: Re:next


On Fri, 2009-07-03 at 18:02 +0530, nagaraju.m wrote:

> 	I am new new to gdb. Thanks for the useful information that you provided.
> 	I have tried as you suggested, i checked function prologue but it is defined properly.
> 
> 	In my code "step", "stepi" and "continue" are behaving normally.
> 	
> 	"next" issue is not only with my target it is with simulator also.
> 
> 	When i debugged it with gdb it is behaving correctly up to
> 
> 	"*if(!frame_id_eq (get_frame_id (get_current_frame ()), step_frame_id)
>      		&& frame_id_eq (frame_unwind_id (get_current_frame ()), step_frame_id))*"
>     	this condition in infrun file in gdb. After this *start* and *end* points are changing as a result it is simply single stepping.
> 
> 	I am not able to trace the issue for here...
> 
> 	Can you please show me the path to resolve this issue...

Hi Nagaraju,

This is the test for whether the code is stepping into a function. Could
you post the output when you run "next" after "set debug infrun 1".

The suspicion is that your frame unwinder is not working correctly.

HTH,


Jeremy

-- 
Tel:      +44 (1590) 610184
Cell:     +44 (7970) 676050
SkypeID: jeremybennett
Email:   jeremy.bennett@embecosm.com
Web:     www.embecosm.com


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