cvs commit: src/sys/amd64/amd64 exception.S
Peter Wemm
peter at FreeBSD.org
Sat May 21 00:02:16 GMT 2005
peter 2005-05-21 00:02:13 UTC
FreeBSD src repository
Modified files:
sys/amd64/amd64 exception.S
Log:
For non-profiling kernels, there were two symbols assigned to the same
address. One was alltraps_with_regs_pushed, the other was calltrap.
When the stack tracer walks up, it looks for magic symbol names to
determine how to parse non-standard stack frames, such as a trapframe.
It was looking for "calltrap". Which of the two symbols you got depended
on things like Phase of moon, etc. If you were unlucky, you got a
garbage stack trace for things like 'debug.trace_on_panic', which would
completely hide the actual source of the problem.
Revision Changes Path
1.122 +4 -2 src/sys/amd64/amd64/exception.S
More information about the cvs-src
mailing list