[PATCH 0/7 V2] Trust readonly sections if target has memory protection
Yao Qi
yao@codesourcery.com
Fri Sep 13 08:17:00 GMT 2013
On 09/12/2013 05:49 PM, Mark Kettenis wrote:
> I'm certainly not outright rejecting it. But you'll certainly need to
> rethink in which contexts it is safe/acceptable that "auto" actually
> turns on the trust-readonly-sections feature. That decision should
> probably be done on a per-architecture, per-OS basis, and only for
> remote debugging.
Yeah, that is reasonable to me. Then, the proposed scope could be
{x86, x86_64}-{linux,mingw,cygwin} for remote debugging only. What do
you think?
I am fine to extend this scope to all linux targets, as what I did in
my patches, but looks it is safe to keep this set small at the
beginning.
--
Yao (é½å°§)
More information about the Gdb-patches
mailing list