* infrun.c (wait_for_inferior): Invalidate registers and overlay
authorUlrich Weigand <uweigand@de.ibm.com>
Mon, 20 Jul 2009 15:05:12 +0000 (15:05 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Mon, 20 Jul 2009 15:05:12 +0000 (15:05 +0000)
commitec9499be38ba1d887ded89bd2ef63836ad28f220
treef27e7514ea1d9491fc7698af2f096112dded78c3
parent3dcb3fcb147d19fa7d068131f47e58390c5a00a5
* infrun.c (wait_for_inferior): Invalidate registers and overlay
cache every time before calling target_wait.
(handle_inferior_event): Make static. Always reset waiton_ptid.
Never call registers_changed.
(prepare_to_wait): Do not invaliate registers or overlay cache
(moved to wait_for_inferior).  Do not reset waiton_ptid (moved
to handle_inferior_event).
(fetch_inferior_event): Remove check for always-true condition.
gdb/ChangeLog
gdb/infrun.c