[PATCH v2] Add gdb.threads/thread_events.exp to run in AIX as well
Aditya Kamath1
Aditya.Kamath1@ibm.com
Thu May 2 14:28:27 GMT 2024
Respected community members,
This patch is a version 2 of the test case change to run on AIX.
Can someone kindly push this patch.
>Could you update the comment to indicate that it's been verified to
>work with (both) Linux and AIX targets?
>Once that's done, you have my approval:
>Approved-by: Kevin Buettner <kevinb@redhat.com<mailto:kevinb@redhat.com>>
I have updated this.
Have a nice day ahead.
Thanks and regards,
Aditya.
From: Aditya Vidyadhar Kamath <akamath996@gmail.com>
Date: Thursday, 2 May 2024 at 7:54 PM
To: tom@tromey.com <tom@tromey.com>
Cc: Ulrich Weigand <Ulrich.Weigand@de.ibm.com>, gdb-patches@sourceware.org <gdb-patches@sourceware.org>, Aditya Kamath1 <Aditya.Kamath1@ibm.com>, Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>, Kevin Buettner <kevinb@redhat.com>
Subject: [EXTERNAL] [PATCH v2] Add gdb.threads/thread_events.exp to run in AIX as well
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://sourceware.org/pipermail/gdb-patches/attachments/20240502/19d5d36d/attachment-0001.htm>
More information about the Gdb-patches
mailing list