aboutsummaryrefslogtreecommitdiff
path: root/gdb/tsan-suppressions.txt
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2022-07-12 13:45:30 +0200
committerTom de Vries <tdevries@suse.de>2022-07-12 13:45:30 +0200
commit09559238fdcca6ffa2ddfdd6a89ac919a9ccb80d (patch)
treec8f096d361b26d9f2bd63278334ed0dc992f8012 /gdb/tsan-suppressions.txt
parent02f0597c46892c4b69e0af45a95509bf310c759e (diff)
downloadgdb-09559238fdcca6ffa2ddfdd6a89ac919a9ccb80d.zip
gdb-09559238fdcca6ffa2ddfdd6a89ac919a9ccb80d.tar.gz
gdb-09559238fdcca6ffa2ddfdd6a89ac919a9ccb80d.tar.bz2
[gdb/testsuite] Add tsan-suppressions.txt
Add a new file tsan-suppressions.txt, to suppress the "unlock unlocked mutex" problem in ncurses, filed in PR29328. The file is added to the TSAN_OPTIONS in lib/gdb.exp. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=29328
Diffstat (limited to 'gdb/tsan-suppressions.txt')
-rw-r--r--gdb/tsan-suppressions.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/gdb/tsan-suppressions.txt b/gdb/tsan-suppressions.txt
new file mode 100644
index 0000000..5f1e5dc
--- /dev/null
+++ b/gdb/tsan-suppressions.txt
@@ -0,0 +1,18 @@
+# Copyright (C) 2022 Free Software Foundation, Inc.
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+# Problem in ncurses, see:
+# - https://sourceware.org/bugzilla/show_bug.cgi?id=29328.
+# - https://lists.gnu.org/archive/html/bug-ncurses/2022-07/msg00002.html
+mutex:newterm