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: Joel Brobecker <brobecker at adacore dot com>
- To: Eli Zaretskii <eliz at gnu dot org>
- Cc: yao at codesourcery dot com, gdb-patches at sourceware dot org
- Date: Fri, 6 Sep 2013 11:10:15 -0700
- 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> <83y57akkp7 dot fsf at gnu dot 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?
Not all platforms are in the particular situation I was describing.
--
Joel