Invalidate target cache before starting to handle event.
authorYao Qi <yao@codesourcery.com>
Wed, 4 Dec 2013 01:28:44 +0000 (09:28 +0800)
committerYao Qi <yao@codesourcery.com>
Tue, 10 Dec 2013 11:57:20 +0000 (19:57 +0800)
commitf15cb84a84613a5017e41ae435312ddcb17877b5
treecc0a5962af18940a174c79a0d3a78f41dde22f69
parent036e93dfdadd23ac73d3bd7f98f1640ded740cc0
Invalidate target cache before starting to handle event.

gdb:

2013-12-10  Yao Qi  <yao@codesourcery.com>

* infrun.c: Include "target-dcache.h".
(prepare_for_detach): Call target_dcache_invalidate.
(wait_for_inferior): Likewise.
(fetch_inferior_event): Likewise.
(infrun_thread_stop_requested_callback): Likewise.  Set
overlay_cache_invalid to 1.
gdb/ChangeLog
gdb/infrun.c