CVSROOT: /cvs Module name: src Changes by: [email protected] 2026/04/09 11:57:09
Modified files:
sys/arch/powerpc/ddb: db_trace.c
Log message:
In powerpc stacktrace_save(), start at correct return address
I got an empty trace. It was reading garbage as the 1st return
address and might have accidentally taken the "if (lr & 3) break;".
By using __builtin_return_address(0) and pointing to the correct
frame, I get a trace where #0 is the function calling
stacktrace_save().
