Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* Windows native GDB event handling enhancement
@ 2019-04-16 22:33 Joel Brobecker
  2019-04-16 22:33 ` [RFA 2/2][master only] gdb/windows-nat.c: Get rid of main_thread_id global Joel Brobecker
                   ` (2 more replies)
  0 siblings, 3 replies; 25+ messages in thread
From: Joel Brobecker @ 2019-04-16 22:33 UTC (permalink / raw)
  To: gdb-patches

Hello,

This patch series introduces two patches:

 * [RFA 1/2][master+8.3] (Windows) fix thr != nullptr assert failure in delete_thread_1
 * [RFA 2/2][master only] gdb/windows-nat.c: Get rid of main_thread_id global

I started working on those when I realized that GDB 8.3 showed
some crashes which seemed more frequent than the typical instability
we might have seen from time to time. And sure enough, I found
something.

It's split into two patches, although conceptually, they should be
one patch. The reason for that is that the change in its globality
is, in my opinion, potentially risky, because it is a bit of a jump
in the unknown, because I don't really know the reasons behind doing
the things the way we used to do them. What I know is that what
I propose seems to make better sense to me, and seems cleaner too;
but there might be something behind them I didn't know.

So I've extracted the part that avoids the crash into a first patch,
knowing that this part seems clear enough to me that the risk, if
any, should be at worst that we crash later on. In a couple of weeks
of nightly testing on various Windows versions, though, I haven't
seen it happen, so I think we're good. That way, this patch could
be reviewed on its own, and eventually find its way to the gdb-8.3-branch
as well.

Then the second patch, which complete the first one, could be poushed
to master. It's potentially more disruptive, which is why we give it
more time in master, and don't consider it for gdb-8.3-branch.

-- 
Joel


^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2019-04-30 21:04 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-16 22:33 Windows native GDB event handling enhancement Joel Brobecker
2019-04-16 22:33 ` [RFA 2/2][master only] gdb/windows-nat.c: Get rid of main_thread_id global Joel Brobecker
     [not found]   ` <83imvcg0ud.fsf@gnu.org>
2019-04-17 17:38     ` Joel Brobecker
2019-04-17 18:29       ` Eli Zaretskii
2019-04-17 22:17         ` Joel Brobecker
2019-04-18 12:52           ` Eli Zaretskii
2019-04-18 14:54             ` Joel Brobecker
2019-04-18 16:27           ` Pedro Alves
2019-04-19 20:43             ` Joel Brobecker
2019-04-22 14:24               ` Pedro Alves
2019-04-22 15:20                 ` André Pönitz
2019-04-22 17:29                   ` Pedro Alves
2019-04-22 21:42                     ` André Pönitz
2019-04-23  5:54                       ` Eli Zaretskii
2019-04-24 20:10                         ` André Pönitz
2019-04-25  5:39                           ` Eli Zaretskii
2019-04-23 11:42                       ` Pedro Alves
2019-04-16 22:33 ` [RFA 1/2][master+8.3] (Windows) fix thr != nullptr assert failure in delete_thread_1 Joel Brobecker
2019-04-18 14:52   ` Pedro Alves
2019-04-18 15:04     ` Pedro Alves
2019-04-28 16:58 ` [v2] Windows native GDB event handling enhancement Joel Brobecker
2019-04-28 16:58   ` [RFA v2 2/2][master only] gdb/windows-nat.c: Get rid of main_thread_id global Joel Brobecker
2019-04-28 16:58   ` [RFA v2 1/2][master+8.3] (Windows) fix thr != nullptr assert failure in delete_thread_1 Joel Brobecker
2019-04-30 13:00   ` [v2] Windows native GDB event handling enhancement Pedro Alves
2019-04-30 21:04     ` pushed(master+8.3): " Joel Brobecker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox