Unable to step over (n and ni) on mipsel-linux...
Andrew Cagney
cagney@gnu.org
Tue Aug 24 19:29:00 GMT 2004
> On Mon, Aug 23, 2004 at 11:58:07AM -0700, David Daney wrote:
>
>>> For next and nexti it does not need to analyse the stack frames.
>>>
>>> I have half a mind to hack up mips-tdep.c:mips32_next_pc so that it
>>> returns the address following the jal/jalr if step_over_calls ==
>>> STEP_OVER_ALL or some such thing.
>
>
> IMO, this is reasonable on targets where we're using software single
> step anyway. It's also reasonable if trust_readonly_sections is true.
> Would anyone object to an optional gdbarch method that took a PC, and
> returned the return address of the call represented by that PC, if the
> instruction is a call?
Why not add to s/w single-step as a parameter?
Andrew
More information about the Gdb
mailing list