From: Aditya Kamath <Aditya.Kamath1@ibm.com>
To: Ulrich Weigand <Ulrich.Weigand@de.ibm.com>,
"akamath996@gmail.com" <akamath996@gmail.com>
Cc: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>,
SANGAMESH MALLAYYA <sangamesh.swamy@in.ibm.com>
Subject: Re: [PATCH v2] Fix AIX core dump while main thread exits.
Date: Mon, 4 Nov 2024 08:44:13 +0000 [thread overview]
Message-ID: <CH2PR15MB354490062A4C185ACC690922D6512@CH2PR15MB3544.namprd15.prod.outlook.com> (raw)
In-Reply-To: <a190aabe3af1de90c5e2d18f0871501af1e196de.camel@de.ibm.com>
[-- Attachment #1: Type: text/plain, Size: 1285 bytes --]
Thanks.
I have made the commit. https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=9247f052848f3961402754ebfbc1bc28cf0857a5
Have a nice day ahead.
Thanks and regards,
Aditya.
From: Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
Date: Monday, 4 November 2024 at 1:37 PM
To: akamath996@gmail.com <akamath996@gmail.com>
Cc: gdb-patches@sourceware.org <gdb-patches@sourceware.org>, Aditya Kamath <Aditya.Kamath1@ibm.com>, SANGAMESH MALLAYYA <sangamesh.swamy@in.ibm.com>
Subject: Re: [PATCH v2] Fix AIX core dump while main thread exits.
Aditya Vidyadhar Kamath <akamath996@gmail.com> wrote:
>diff --git a/gdb/aix-thread.c b/gdb/aix-thread.c
>index 9e6952b974f..4a050cdff10 100644
>--- a/gdb/aix-thread.c
>+++ b/gdb/aix-thread.c
>@@ -854,7 +854,7 @@ sync_threadlists (pid_t pid)
> thread exits and gets into a PST_UNKNOWN state. So this thread
> will not run in the above for loop. Therefore the below for loop
> is to manually delete such threads. */
>- for (struct thread_info *it : all_threads ())
>+ for (struct thread_info *it : all_threads_safe ())
> {
> aix_thread_info *priv = get_aix_thread_info (it);
> if (in_queue_threads.count (priv->pdtid) == 0
This is OK.
Thanks,
Ulrich
[-- Attachment #2: Type: text/html, Size: 4623 bytes --]
prev parent reply other threads:[~2024-11-04 8:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-04 6:32 Aditya Vidyadhar Kamath
2024-11-04 8:07 ` Ulrich Weigand
2024-11-04 8:44 ` Aditya Kamath [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CH2PR15MB354490062A4C185ACC690922D6512@CH2PR15MB3544.namprd15.prod.outlook.com \
--to=aditya.kamath1@ibm.com \
--cc=Ulrich.Weigand@de.ibm.com \
--cc=akamath996@gmail.com \
--cc=gdb-patches@sourceware.org \
--cc=sangamesh.swamy@in.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox