diff --git a/sys/sparc64/sparc64/db_trace.c b/sys/sparc64/sparc64/db_trace.c index ee354e11a536..db23479eaed6 100644 --- a/sys/sparc64/sparc64/db_trace.c +++ b/sys/sparc64/sparc64/db_trace.c @@ -279,7 +279,7 @@ db_trace_self(void) { db_backtrace(curthread, - (struct frame *)__builtin_frame_address(1), -1); + (struct frame *)__builtin_frame_address(0), -1); } int