Global structure of black holes via the dynamical system