This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 0/3] Trust readonly sections if target has memory protection
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: yao at codesourcery dot com, gdb-patches at sourceware dot org
- Date: Fri, 06 Sep 2013 18:56:36 +0300
- Subject: Re: [PATCH 0/3] Trust readonly sections if target has memory protection
- Authentication-results: sourceware.org; auth=none
- References: <1378432920-7731-1-git-send-email-yao at codesourcery dot com> <83txhymr02 dot fsf at gnu dot org> <522990FF dot 30608 at codesourcery dot com> <83mwnqmj8f dot fsf at gnu dot org> <20130906130332 dot GE3001 at adacore dot com> <8361uem5yv dot fsf at gnu dot org> <20130906145205 dot GF3001 at adacore dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Fri, 6 Sep 2013 07:52:05 -0700
> From: Joel Brobecker <brobecker@adacore.com>
> Cc: yao@codesourcery.com, gdb-patches@sourceware.org
>
> Perhaps a compromise: For the new feature to fail, it'd need an
> extremely ancient version of Windows, coupled with a bad program
> that writes outside of its memory area. How about we forgo the
> Windows 9x detection, and just enable the feature on Windows
> unconditionally? This removes the burden from Yao, who shouldn't
> be asked to do this work unless he wants to. Then, if someone
> believes it's necessary to turn the feature off by default on
> old versions of Windows, it should be easy for them to do so.
Fine with me, but then why not enable this on all platforms?