Re: [RFA] Displaced stepping just enable in non-stop mode

Joel Brobecker
2008-10-07T12:18:23Z

> 2008-10-07 Hui Zhu <teawater@gmail.com>
>
> * infrun.c (use_displaced_stepping): Displaced stepping just
> enable in non-stop mode.

There is still a piece missing. Namely, allow the user to force
displaced-stepping in a mode that is not non-stop. Pedro suggested that
we either change the maint command, or add a new one. How about changing
the maint command into a mainstream command that's a tri-state:

set use-displaced-stepping (auto|on|off)

By default, it's "auto" which means that the debugger tries to determine
from the situation whether it's necessary or not (basically if non-stop).
But the user can then override the decision either way.

--
Joel