Kernel: dump_stacktrace uses now "\r\n" line endings for bochs
This commit is contained in:
parent
bb051604a1
commit
b5453fad5c
|
@ -13,10 +13,10 @@ namespace Kernel
|
||||||
|
|
||||||
stackframe* frame;
|
stackframe* frame;
|
||||||
asm volatile("movl %%ebp, %0" : "=r"(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)
|
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;
|
frame = frame->ebp;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue