diff --git a/kaleid/kernel/sh/shcmds.c b/kaleid/kernel/sh/shcmds.c index dffa874..c65a675 100644 --- a/kaleid/kernel/sh/shcmds.c +++ b/kaleid/kernel/sh/shcmds.c @@ -205,12 +205,10 @@ error_t CmdStackOverflow(int argc, char **argv, char *cmdline) error_t CmdStackUnderflow(int argc, char **argv, char *cmdline) { - KernLog("\n%p\n%p\n%p\n%p\n%p\n%p\n%p\n%p\n" - "\n%p\n%p\n%p\n%p\n%p\n%p\n%p\n%p\n" - "\n%p\n%p\n%p\n%p\n%p\n%p\n%p\n%p\n" - "\n%p\n%p\n%p\n%p\n%p\n%p\n%p\n%p\n" - "\n%p\n%p\n%p\n%p\n%p\n%p\n%p\n%p\n" - ); + for (int i = 0 ;; i++) { + asm volatile ("pop %rax\n"); + } + return EOK; }