X86: Single stepping

This patch enables the user land to use the CPU's single stepping mode on
x86_32 platforms. It is needed to enable the use of GDB monitor for
user-level debugging.

Was: 'foc_single_step_x86.patch'
This commit is contained in:
Sebastian Sumpf
2013-01-11 17:29:20 +01:00
parent c9830dbc1e
commit 10d7926ce0
8 changed files with 90 additions and 1 deletions

View File

@@ -594,6 +594,10 @@ Thread::condition_valid(Unsigned32 insn, Unsigned32 psr)
return (v[insn >> 28] >> (psr >> 28)) & 1;
}
IMPLEMENT inline
void Thread::user_single_step(bool)
{}
// ------------------------------------------------------------------------
IMPLEMENTATION [arm && armv6plus]: