[PATCH v2] Add gdb.threads/thread_events.exp to run in AIX as well
Aditya Vidyadhar Kamath
akamath996@gmail.com
Thu May 2 14:24:12 GMT 2024
From: Aditya Vidyadhar Kamath <Aditya.Kamath1@ibm.com>
This patch is to make this testcase run on AIX.
---
gdb/testsuite/gdb.threads/thread_events.exp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gdb/testsuite/gdb.threads/thread_events.exp b/gdb/testsuite/gdb.threads/thread_events.exp
index 100205e5f58..9c3f9ce1708 100644
--- a/gdb/testsuite/gdb.threads/thread_events.exp
+++ b/gdb/testsuite/gdb.threads/thread_events.exp
@@ -21,9 +21,9 @@
# messages are printed and can be disabled) is dependent on the target
# thread support code.
-# This test has only been verified with Linux targets, and would need
+# This test has been verified with Linux targets and AIX target, and would need
# to be generalized to support other targets
-if {![istarget *-*-linux*]} {
+if {!([istarget *-*-linux*] || [istarget *-*-aix*])} {
return
}
--
2.41.0
More information about the Gdb-patches
mailing list