[PATCH 17/17] infrun: scheduler-locking reverse

Pedro Alves palves@redhat.com
Wed Sep 9 13:54:00 GMT 2015


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



More information about the Gdb-patches mailing list