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: Yao Qi <yao at codesourcery dot com>
- To: Eli Zaretskii <eliz at gnu dot org>
- Cc: <gdb-patches at sourceware dot org>
- Date: Fri, 6 Sep 2013 16:23:27 +0800
- 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>
On 09/06/2013 01:57 PM, Eli Zaretskii wrote:
Which "ancient" Windows versions are those? Can't we decide at run
time whether to trust read-only sections, by looking at the Windows
version?
I meant Windows 3.0 and 9x, which don't have a full memory protection,
AFAIK.
http://en.wikipedia.org/wiki/Memory_protection tells me that "Windows
family from Windows NT 3.1" have memory protection.
Yes, we can extend osdata mechanism to get os version, and decide
whether to trust read-only sections.
--
Yao (éå)