This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 1/3] set trust-readonly-sections off in test cases
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Yao Qi <yao at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 06 Sep 2013 08:55:59 +0300
- Subject: Re: [PATCH 1/3] set trust-readonly-sections off in test cases
- Authentication-results: sourceware.org; auth=none
- References: <1378432920-7731-1-git-send-email-yao at codesourcery dot com> <1378432920-7731-2-git-send-email-yao at codesourcery dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Yao Qi <yao@codesourcery.com>
> Date: Fri, 6 Sep 2013 10:01:58 +0800
>
> 2013-09-06 Yao Qi <yao@codesourcery.com>
>
> * gdb.texinfo (File): Mention that user has
> 'set trust-readonly-sections off' to get updated contents if
> they are modified.
Thanks.
> @item set trust-readonly-sections off
> Tell @value{GDBN} not to trust readonly sections. This means that
> the contents of the section might change while the program is running,
> -and must therefore be fetched from the target when needed.
> +and must therefore be fetched from the target when needed. If user
> +modified the code in the target program, user has to
> +@code{set trust-readonly-sections off} to guarantee @value{GDBN} reads
> +updated contents from the target program instead of object file.
Please don't talk about the user in the "third-person" style. Please
use "you" instead.
Also, if this patch series turns the flag on, we should change the
sentence above this text that says default is off, and announce that
in NEWS.