Keep current_inferior in sync with event_child.