K 10 svn:author V 6 grehan K 8 svn:date V 27 2005-10-30T07:56:10.000000Z K 7 svn:log V 444 In stack_save, stop when a trap-frame is encountered. This prevents trying to access user-space stack addresses when a user fault is encountered, as occurs when GEOM KTR code is handling a page fault and is using stack_save() to capture a trace for debug purposes. It may be possible to walk beyond the trap-frame if it is a kernel fault, as db_backtrace() does, but I don't think that complexity is needed in this routine. MFC after: 3 days END