Re: How step over a ass call command?

Pedro Alves <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
On 10/07/2014 05:24 PM, Pedro Alves wrote:
> "nexti" relies on being able to backtrace out of that "function",
> and check that the previous caller is still found at frame #1, to
> detect that a function call was done.  So run to that "call" line,
> and then do "bt".  And then do "stepi" to step that instruction
> instead of "nexti", and then do "bt" again.  If the second
> backtrace doesn't have one extra frame, or if the frame that was frame
> #0 in the first backtrace is       frame #1 in the second backtrace,
                               ^NOT^

> then "nexti" won't work either.

Thanks,
Pedro Alves
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.