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: [PATCH 17/17] infrun: scheduler-locking reverse


On 09/09/2015 11:35 AM, Markus Metzger wrote:
> Record targets behave as if scheduler-locking were on during replay/reverse
> execution.  Add a new scheduler-locking option "reverse" to make this implicit
> behaviour explicit.  It behaves like "on" during reverse/replay execution and
> like "off" during normal execution.
> 
> By making the current behaviour a scheduler-locking option, we allow the user
> to change it.  Since it is the current behaviour, this new option is also
> the new default.

Hmm.  The code looks fine.  But I should point out that if a user
has "schedlock step" in their gdbinit, they'll miss this.  Fedora's gdb
actually currently defaults to schedlock=step.

Thanks,
Pedro Alves


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