MFC after: 2 weeks
MFC to: stable/14, stable/15
Sponsored by: FreeBSD Foundation
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 76857 Build 73740: arc lint + arc unit
Event Timeline
Comment Actions
I wanted to test this through QEMU, but it seems like armv7 minidump is broken (it cannot locate allproc, stoppcbs, etc)
Comment Actions
D59716 allowed me extract kernel dump from QEMU, and the frame unwinding works as expected. Ready for review.
Comment Actions
Of course, I don't know anything about annotating the trap frame.
However, adding instructions to the absolutely hot path(s) in the system to fix the debugger doesn't seem like a good idea to me.
Why can't stop lying about the annotation of the stored registers and properly annotate the entire trapframe (including the SPSR), allowing the debugger to do its job?
| sys/arm/arm/exception.S | ||
|---|---|---|
| 364–365 ↗ | (On Diff #186803) | Why has this change been made? It doesn't make sense to me. |