sh: kgdb: do not reload VBR while handling debugger breackpoint
authorGiuseppe Cavallaro <peppe.cavallaro@st.com>
Mon, 24 Aug 2009 07:14:03 +0000 (16:14 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 24 Aug 2009 07:14:03 +0000 (16:14 +0900)
commit27a30f53bbb77fd7e2e0459197e23b63fe3b74d4
treee64230e38796917f3587b7d41a2b0fdb8e261590
parent15444a8973dcfbd286b3e638cbadac2446a9271a
sh: kgdb: do not reload VBR while handling debugger breackpoint

Save the VBR allowing GDB to dump full registers set but do not reload it
as soon as the kgdb_handle_exception is invoked.

Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: Stuart Menefy <stuart.menefy@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/kgdb.c