commit | 818ef5f4137aaff3afdb52f8bbd3a4c3a9ffa28b | [log] [tgz] |
---|---|---|
author | Tom Tromey <tromey@adacore.com> | Tue Feb 13 13:55:34 2024 -0700 |
committer | Tom Tromey <tromey@adacore.com> | Tue Mar 26 09:49:43 2024 -0600 |
tree | d8b0fc9c3439c0945745e167529ced14efcb735d | |
parent | bb9a951fab7a30cc1209c6b8b1716c13456e8b1a [diff] |
Capture warnings when writing to the index cache PR symtab/30837 points out a race that can occur when writing to the index cache: a call to ada_encode can cause a warning, which is forbidden on a worker thread. This patch fixes the problem by arranging to capture any such warnings. This is v2 of the patch. It is rebased on top of some other changes in the same area. v1 was here: https://sourceware.org/pipermail/gdb-patches/2024-February/206595.html Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=30837