Searched hist:"962 b0b887d830b7f7bfd47de10112609302bbd82" (Results 1 – 2 of 2) sorted by relevance
/haiku/src/system/kernel/arch/ppc/ |
H A D | arch_cpu.cpp | 962b0b887d830b7f7bfd47de10112609302bbd82 Sun Apr 01 17:15:37 UTC 2007 Ingo Weinhold <ingo_weinhold@gmx.de> Added a wrapper function for the invocation of debugger commands. It sets a fault handler, so that an invalid memory access while executing the command (address typos always do the trick :-) won't result in another KDL session on top of the current one, which wouldn't even be "cont"able.
All pieces of code setting a fault handler do now save and reset the previous one, so that e.g. a user_memcpy() in a debugger command doesn't disturb the mechanism.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20500 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
H A D | arch_debug.cpp | 962b0b887d830b7f7bfd47de10112609302bbd82 Sun Apr 01 17:15:37 UTC 2007 Ingo Weinhold <ingo_weinhold@gmx.de> Added a wrapper function for the invocation of debugger commands. It sets a fault handler, so that an invalid memory access while executing the command (address typos always do the trick :-) won't result in another KDL session on top of the current one, which wouldn't even be "cont"able.
All pieces of code setting a fault handler do now save and reset the previous one, so that e.g. a user_memcpy() in a debugger command doesn't disturb the mechanism.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20500 a95241bf-73f2-0310-859d-f6bbb57e9c96
|