This is the mail archive of the gdb@sources.redhat.com 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: Unable to step over (n and ni) on mipsel-linux...


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?

-- 
Daniel Jacobowitz


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