Terminate the backtrace that debug_backtrace() would output.
[pintos-anon] / src / threads / start.S
index 5a495c4651fecd6bf3d920130123f47f55f6588e..68c604cc276b33a6701dab250d16784de3d45bd0 100644 (file)
@@ -8,6 +8,9 @@
        
 .globl start
 .func start
+       # Terminate the backtrace that debug_backtrace() would output.
+       movl $0, %ebp
+
        # Call main.
 start: call main