I'm debugging the goldfish android kernel (version 3.4), with kernel sources.
Now I found that gdb sometimes jump back and forth between lines, e.g consider c source code like the following:
char *XXX;
int a;
...
if (...)
{
}
When I reached the if
clause, I type in n
and it will jump back to the int a
part. Why is that?
If I execute that command again, it would enter the brackets in the if
.
If possible, I want to avoid that part, and enter the if directly (of course, if condition matches)