mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 00:25:12 +00:00
Add a very hackish /proc/PID/stack.
It walks the stack and identifies anything that looks like a kernel symbol. This could be a lot more sophisticated.
This commit is contained in:
@@ -107,10 +107,10 @@ kmalloc( DWORD size )
|
||||
}
|
||||
}
|
||||
|
||||
kprintf( "kmalloc(): PANIC! Out of memory (no suitable block)" );
|
||||
kprintf("kmalloc(): PANIC! Out of memory (no suitable block for size %u)\n", size);
|
||||
HANG;
|
||||
|
||||
return 0L;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
PUBLIC void
|
||||
|
||||
Reference in New Issue
Block a user