mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
* MAINTAINERS: Add myself as dcache.c maintainer.
* remote-nindy.c (nindy_load): Invalidate dcache. * dcache.c (dcache_invd): Renamed from dcache_flush. The term flush with respect to caches usually implies that data will be written to memory. (dcache_init, dcache_xfer_memory): Updated. * monitor.c (flush_monitor_dcache, monitor_resume, monitor_load): Updated. * ocd.c (ocd_open, ocd_resume, bdm_reset_command): Updated. * remote-bug.c (bug_load, bug_resume): Updated. * remote-nindy.c (nindy_open, nindy_resume): Updated. * remote-sds.c (sds_open, sds_resume): Updated. * remote-utils.c (gr_open): Updated. * remote.c (remote_open_1, remote_resume, remote_async_resume, remote_cisco_open): Updated. * wince.c (child_create_inferior, child_resume): Updated. * monitor.c (monitor_open): Free dcache before creating a new one. * dcache.c (dcache_free): New function. * dcache.h (dcache_free): New prototype. -------------------------------------------------------------------
This commit is contained in:
@ -1732,7 +1732,7 @@ child_create_inferior (char *exec_file, char *args, char **env)
|
||||
if (!remote_dcache)
|
||||
remote_dcache = dcache_init (remote_read_bytes, remote_write_bytes);
|
||||
else
|
||||
dcache_flush (remote_dcache);
|
||||
dcache_invd (remote_dcache);
|
||||
|
||||
exec_file = upload_to_device (exec_file, exec_file);
|
||||
|
||||
@ -1842,7 +1842,7 @@ child_resume (int pid, int step, enum target_signal sig)
|
||||
th->context.ContextFlags = 0;
|
||||
}
|
||||
|
||||
dcache_flush (remote_dcache);
|
||||
dcache_invd (remote_dcache);
|
||||
|
||||
/* Allow continuing with the same signal that interrupted us.
|
||||
Otherwise complain. */
|
||||
|
Reference in New Issue
Block a user