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] Displaced stepping just enable in non-stop mode


> 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


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