From 8455d2bad423530dd46311b1ac20943cdbc56454 Mon Sep 17 00:00:00 2001 From: Ian Douglas Scott Date: Wed, 8 Aug 2018 12:35:04 -0700 Subject: [PATCH] trace: Break on RBP OVERFLOW There's not point in continuing the loop once this occurs. It just results in printing 'RBP OVERFLOW' repeatedly. --- src/arch/x86_64/interrupt/trace.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/arch/x86_64/interrupt/trace.rs b/src/arch/x86_64/interrupt/trace.rs index c13aa5d..2bac8c7 100644 --- a/src/arch/x86_64/interrupt/trace.rs +++ b/src/arch/x86_64/interrupt/trace.rs @@ -30,6 +30,7 @@ pub unsafe fn stack_trace() { } } else { println!(" {:>016X}: RBP OVERFLOW", rbp); + break; } } }