Kernel: dump_stacktrace uses now "\r\n" line endings for bochs

This commit is contained in:
Bananymous 2023-01-21 22:21:38 +02:00
parent bb051604a1
commit b5453fad5c
1 changed files with 2 additions and 2 deletions

View File

@ -13,10 +13,10 @@ namespace Kernel
stackframe* frame;
asm volatile("movl %%ebp, %0" : "=r"(frame));
BAN::Formatter::println(Serial::serial_putc, "\e[36mStack trace:");
BAN::Formatter::print(Serial::serial_putc, "\e[36mStack trace:\r\n");
while (frame)
{
BAN::Formatter::println(Serial::serial_putc, " {}", (void*)frame->eip);
BAN::Formatter::print(Serial::serial_putc, " {}\r\n", (void*)frame->eip);
frame = frame->ebp;
}
}