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 Tue, 2008-06-24 at 11:18 -0700, Michael Snyder wrote:
> There may be cases where gdb would be inclined to use
> software singlestep, but you might not want it to.  Examples:
> 
>  * "target remote" to a target such as a simulator that
>    would be able to support normal singlestep.
> 
>  * reverse debugging, where you can't predict the 
>    "come-from" address of a jump instruction.
> 
> What do you guys think?  Useful?

It's a useful feature and looks OK. I'm just wondering how dangerous it
would be to turn software single stepping off on PPC64 and stumble upon
an atomic sequence and end up locked there (we use software single
stepping explicitly to jump those sequences).

Regards,
Luis


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