Re: [PATCH 2/3] set/show code-cache

Eli Zaretskii
2013-11-21T03:52:31Z

> Date: Thu, 21 Nov 2013 11:03:54 +0800
> From: Yao Qi <yao@codesourcery.com>
>
> I update this patch for the name of some variables, after we discussed
> in patch 1/3. I'll commit it in two days.

Thanks.

> gdb/NEWS | 6 +++++
> gdb/doc/gdb.texinfo | 16 ++++++++++++++-

These parts are OK.

> + add_setshow_boolean_cmd ("code-cache", class_support,
> + &code_cache_enabled_1, _("\
> +Set cache use for code segment access."), _("\
> +Show cache use for code segment access."), _("\
> +When on, use the target memory cache for all code segment access,\n\
^^^^^^
"accesses"

> +regardless of any configured memory regions. This improves remote\n\
> +performance significantly. By default, caching for code segment\n\
> +access is on."),