News for hackers. Stuff that matters.
Re:Restartable Sequences in Glibc 2.35 by amelius on Saturday February 12, 2022 @09:29AM (#30313046)
Can GDB handle these? How about Valgrind?
Re:Restartable Sequences in Glibc 2.35 by simark1 on Saturday February 12, 2022 @08:08PM (#30318060)
If GDB doesn't need to do single step the region, it should make no difference. Trying to single step the region would restart it indefinitely.

librseq generates a section describing the possible critical sections, so it would be possible to make GDB read it and skip critical sections when single stepping.

Re:Restartable Sequences in Glibc 2.35 by jsnell on Saturday February 12, 2022 @09:44AM (#30313150)
Valgring is discussed in the comments of the post, with a link to https://bugs.kde.org/show_bug.cgi?id=405377
Re:Restartable Sequences in Glibc 2.35 by CUViper on Saturday February 12, 2022 @09:46AM (#30313166)
In the LWN comments, mjw said that Valgrind just forces an ENOSYS error.