This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fixes to Cygwin-specific signal handling
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: jon dot turney at dronecode dot org dot uk, gdb-patches at sourceware dot org
- Date: Tue, 14 Apr 2015 17:38:09 +0300
- Subject: Re: [PATCH] Fixes to Cygwin-specific signal handling
- Authentication-results: sourceware.org; auth=none
- References: <1429009382-21040-1-git-send-email-jon dot turney at dronecode dot org dot uk> <20150414131615 dot GI4704 at adacore dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Tue, 14 Apr 2015 06:16:15 -0700
> From: Joel Brobecker <brobecker@adacore.com>
> Cc: gdb-patches@sourceware.org
>
> Overall, the patch looks reasonable to me. But I think there are
> at least 3 independent changes, and it would be nice to split those
> two out, for a couple of reasons:
> 1. It allows you to explain the nature of the problem, from the user's
> standpoint, that the patch is fixing (ie, what user-visible
> symptoms it fixes);
> 2. it allows us to see how each problem is fixed, and to deal with
> each issue separately.
>
> The three issues I view as independent:
> a. ignoring "invalid handle" errors;
> b. unsetting saved_context.ContextFlags
> c. the renaming of have_saved_context into signal_thread_id
> so you can compare the current thread id with the saved
> signal_thread_id.
Also, quite a few of the changes are in non-Cygwin parts, so some
explanation of the issues would be appreciated, to make sure the
changes are safe for the native builds as well.
Thanks.