[EXT] Re: Context switch during stepping causes weird behavior

Adrian Oltean adrian.oltean@nxp.com
Wed Oct 12 06:46:39 GMT 2022


Thanks guys. Looks like displaced stepping is off by default when GDB is running
in all-stop mode - my case. So I'll have to look for other ways to work around
the behavior I described.

Adrian

> Caution: EXT Email
> 
> On 10/5/22 09:53, John Baldwin wrote:
> 
> > I don't know off the top of my head if there is a knob to disable
> > displaced stepping.
> FYI:
> 
> (gdb) apropos displaced
> set debug displaced -- Set displaced stepping debugging.
> set displaced-stepping -- Set debugger's willingness to use displaced stepping.
> show debug displaced -- Show displaced stepping debugging.
> show displaced-stepping -- Show debugger's willingness to use displaced
> stepping.
> 
> Keith



More information about the Gdb mailing list