This is the mail archive of the gdb-patches@sourceware.org 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: [RFA] set/show enable-software-singlestep


On Thu, Jul 10, 2008 at 12:07:19PM +0100, Pedro Alves wrote:
> I had understood the consensus was that the command would be
> useful for now.
> 
> It would be really nice if someone that had a target that
> always required disabling software-singlestepping stepped forward
> to add the GDB/remote smarts to do it automatically, though.  ;-)

I'd like to have some conclusion on how normal software single step
and special software single step interact.  Are all the things handled
in GDB's software single step routine also the responsibility of any
stub that claims single step support?

Which is not how it works today - we let a powerpc gdbserver single
step most things, but detect atomic sequences in the client.  This
avoids duplicating the logic across all stubs, but is slower.

And do these special stepping types get turned off if you disable
software single stepping manually?

-- 
Daniel Jacobowitz
CodeSourcery


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