git.ucc.asn.au
/
tpg
/
acess2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b1620b
)
Debug
author
John Hodge
<
[email protected]
>
Mon, 28 Sep 2009 01:14:29 +0000
(09:14 +0800)
committer
John Hodge
<
[email protected]
>
Mon, 28 Sep 2009 01:14:29 +0000
(09:14 +0800)
Kernel/threads.c
patch
|
blob
|
history
diff --git
a/Kernel/threads.c
b/Kernel/threads.c
index
0765385
..
d55bd2d
100644
(file)
--- a/
Kernel/threads.c
+++ b/
Kernel/threads.c
@@
-586,5
+586,6
@@
tThread *Threads_GetNextToRun(int CPU)
void Threads_SegFault(tVAddr Addr)
{
//Threads_SendSignal( Proc_GetCurThread()->TID, SIGSEGV );
- Threads_Kill( Proc_GetCurThread(), 0 );
+ Log("Thread #%i committed a segfault at address %p\n", Proc_GetCurThread()->TID, Addr);
+ Threads_Exit( 0, 0 );
}
UCC
git Repository :: git.ucc.asn.au