mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-10 14:59:31 +08:00
* monitor.c (monitor_open): If a dcache has already been created,
invalidate it rather than creating another. * ocd.c (ocd_open): Likewise. * remote-nindy.c (nindy_open): Likewise. * remote-sds.c (sds_open): Likewise. * remote-utils.c (gr_open): Likewise. * remote.c (remote_open_1, remote_cisco_open): Likewise. * dcache.c (dcache_alloc): Changed to take address of line as an argument, and to invalidate cache line before returning. (dcache_peek_byte): Updated. (dcache_poke_byte): Updated. -------------------------------------------------------------------
This commit is contained in:
@ -203,7 +203,10 @@ device is attached to the remote system (e.g. /dev/ttya).");
|
||||
|
||||
unpush_target (&sds_ops);
|
||||
|
||||
sds_dcache = dcache_init (sds_read_bytes, sds_write_bytes);
|
||||
if (!sds_dcache)
|
||||
sds_dcache = dcache_init (sds_read_bytes, sds_write_bytes);
|
||||
else
|
||||
dcache_flush (sds_dcache);
|
||||
|
||||
sds_desc = SERIAL_OPEN (name);
|
||||
if (!sds_desc)
|
||||
|
Reference in New Issue
Block a user