kernel_ppc: Save caller's stack pointer in arch_debug_save_registers

Suggested by Ingo in ticket #6139. Code is adapted from x86.
Note that on ppc64 GPR1 needs to be 64-bit, thus the choice of addr_t.

Resolves part of ticket #6160.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37281 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Andreas Färber
2010-06-27 20:16:59 +00:00
parent 4fa4224a1d
commit d46ce4d62a
2 changed files with 4 additions and 0 deletions
@@ -10,6 +10,7 @@
struct arch_debug_registers {
addr_t r1;
};