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 09/10] set/show code-cache


> From: Yao Qi <yao@codesourcery.com>
> Date: Sun, 3 Nov 2013 13:54:09 +0800
> 
> Similar to stack cache, in this patch, we add
> TARGET_OBJECT_CODE_MEMORY to read code from target and add a new
> option "set code-cache on|off" to control use code cache or not.
> 
> gdb:
> 
> 2013-11-02  Yao Qi  <yao@codesourcery.com>
> 
> 	* NEWS: Add note on new "set code-cache" option.
> 	* target-dcache.c (code_cache_enabled_p): New.
> 	(show_code_cache_enabled_p): New function.
> 	(code_cache_enabled): New function.
> 	(_initialize_target_dcache): Register command.
> 	* target-dcache.h (code_cache_enabled): Declare.
> 	* target.c (memory_xfer_partial_1):Handle
> 	TARGET_OBJECT_CODE_MEMORY and code_cache_enabled.
> 	(target_read_code): New function.
> 	* target.h (enum target_object) <TARGET_OBJECT_CODE_MEMORY>:
> 	New.
> 	(target_read_code): Declare.
> 
> gdb/doc:
> 
> 2013-11-02  Yao Qi  <yao@codesourcery.com>
> 
> 	* gdb.texinfo (Caching Remote Data): Document new
> 	`set/show stack-cache' option.

The documentation parts are OK, thanks.


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