mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:54:41 +08:00
set_address_space_data if dcache is NULL.
gdb: 2013-11-20 Yao Qi <yao@codesourcery.com> * target-dcache.c (target_dcache_get_or_init): Call set_address_space_data if 'dcache' is NULL.
This commit is contained in:
parent
60650f2e2f
commit
6b1141e3f3
@ -1,3 +1,8 @@
|
||||
2013-11-20 Yao Qi <yao@codesourcery.com>
|
||||
|
||||
* target-dcache.c (target_dcache_get_or_init): Call
|
||||
set_address_space_data if 'dcache' is NULL.
|
||||
|
||||
2013-11-20 Walfred Tedeschi <walfred.tedeschi@intel.com>
|
||||
|
||||
* common/i386-gcc-cpuid.h (bit_MPX): Synchronize with gcc file.
|
||||
|
@ -79,7 +79,11 @@ target_dcache_get_or_init (void)
|
||||
target_dcache_aspace_key);
|
||||
|
||||
if (dcache == NULL)
|
||||
dcache = dcache_init ();
|
||||
{
|
||||
dcache = dcache_init ();
|
||||
set_address_space_data (current_program_space->aspace,
|
||||
target_dcache_aspace_key, dcache);
|
||||
}
|
||||
|
||||
return dcache;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user