This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Re:next
- From: Jeremy Bennett <jeremy dot bennett at embecosm dot com>
- To: "nagaraju.m" <nagaraju dot m at redpinesignals dot com>
- Cc: gdb at sourceware dot org
- Date: Tue, 07 Jul 2009 11:40:07 +0100
- Subject: Re: Re:next
- References: <4A4DFA77.60707@redpinesignals.com>
- Reply-to: jeremy dot bennett at embecosm dot com
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