diff options
author | Alexis211 <alexis211@gmail.com> | 2009-12-20 19:39:46 +0100 |
---|---|---|
committer | Alexis211 <alexis211@gmail.com> | 2009-12-20 19:39:46 +0100 |
commit | 1d301e54da75b90172d129594265f2b629f3125a (patch) | |
tree | 1eb918a01ef7677c4328ef1d23a2538647448f0b /Source/Kernel | |
parent | 13d720389a01161a327a30918ad7ac9eec4a3d6c (diff) | |
download | Melon-1d301e54da75b90172d129594265f2b629f3125a.tar.gz Melon-1d301e54da75b90172d129594265f2b629f3125a.zip |
rot13, demo app for StreamApp, is working :)
Diffstat (limited to 'Source/Kernel')
-rw-r--r-- | Source/Kernel/TaskManager/Thread.class.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/Kernel/TaskManager/Thread.class.cpp b/Source/Kernel/TaskManager/Thread.class.cpp index af501fe..2cd9515 100644 --- a/Source/Kernel/TaskManager/Thread.class.cpp +++ b/Source/Kernel/TaskManager/Thread.class.cpp @@ -182,9 +182,11 @@ void Thread::handleException(registers_t *regs, int no) { if (rw) vt << "R/W "; if (us) vt << "User "; if (rsvd) vt << "Rsvd "; - vt << "At:" << (u32int)faddr; + vt << "At:" << (u32int)faddr << "\n"; - vt << "\nThread finishing.\n"; + Sys::stackTrace(regs->ebp, vt, 5, true); + + vt << "Thread finishing.\n"; Task::currentThreadExits(E_PAGEFAULT); //Calling this will setup a new stack return; } |