This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 4/7] Trust readonly sections if target has memory protection


> From: Yao Qi <yao@codesourcery.com>
> Date: Sun, 8 Sep 2013 20:03:24 +0800
> 
>  int
> +default_has_memory_protection (struct gdbarch *gdbarch)
> +{
> +  /* Simply say no.  */
> +  return 0;
> +}

Do most of our supported targets have or don't have memory protection?
How about most native targets?

If a large subset of targets have the protection, it might make more
sense to say YES by default, not NO.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]