[comitted][gdbsupport] Add sequential_for_each

Tom de Vries tdevries@suse.de
Thu Jul 14 15:02:35 GMT 2022


On 6/25/22 15:20, Tom de Vries wrote:
> Hi,
> 
> Add a sequential_for_each alongside the parallel_for_each, which can be used
> as a drop-in replacement.
> 
> This can be useful when debugging multi-threading behaviour, and you want to
> limit multi-threading in a fine-grained way.
> 
> Tested on x86_64-linux, by using it instead of the parallel_for_each in
> dwarf2_build_psymtabs_hard.
> 
> Any comments?

Added function header comment, and committed.

Thanks,
- Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-gdbsupport-Add-sequential_for_each.patch
Type: text/x-patch
Size: 1564 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/gdb-patches/attachments/20220714/65245b02/attachment.bin>


More information about the Gdb-patches mailing list