This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 2/3] set/show code-cache
- From: Doug Evans <dje at google dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: Yao Qi <yao at codesourcery dot com>, gdb-patches <gdb-patches at sourceware dot org>
- Date: Thu, 21 Nov 2013 12:49:50 -0800
- Subject: Re: [PATCH 2/3] set/show code-cache
- Authentication-results: sourceware.org; auth=none
- References: <1384996594-20865-1-git-send-email-yao at codesourcery dot com> <1384996594-20865-3-git-send-email-yao at codesourcery dot com> <528D781A dot 7070909 at codesourcery dot com> <871u29h7oa dot fsf at fleche dot redhat dot com>
On Thu, Nov 21, 2013 at 11:32 AM, Tom Tromey <tromey@redhat.com> wrote:
>>>>>> "Yao" == Yao Qi <yao@codesourcery.com> writes:
>
> Yao> +@kindex set code-cache
> Yao> +@item set code-cache on
> Yao> +@itemx set code-cache off
> Yao> +Enable or disable caching of code segment accesses. When @code{ON},
> Yao> +use caching. By default, this option is @code{ON}. This improves
> Yao> +performance of disassembly in remote debugging without affecting
> Yao> +correctness.
>
> It seems unusual to have "ON" in upper case.
cut-n-paste from the stack-cache case.
I forget what the rules are here.
Do we require fixing the stack-cache case first?