From owner-cvs-src@FreeBSD.ORG Sat Apr 16 05:38:59 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC7F116A4CE; Sat, 16 Apr 2005 05:38:59 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A3F0E43D31; Sat, 16 Apr 2005 05:38:59 +0000 (GMT) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j3G5cx0Y037226; Sat, 16 Apr 2005 05:38:59 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j3G5cxJQ037225; Sat, 16 Apr 2005 05:38:59 GMT (envelope-from marcel) Message-Id: <200504160538.j3G5cxJQ037225@repoman.freebsd.org> From: Marcel Moolenaar Date: Sat, 16 Apr 2005 05:38:59 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/ia64/ia64 db_trace.c unwind.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Apr 2005 05:38:59 -0000 marcel 2005-04-16 05:38:59 UTC FreeBSD src repository Modified files: sys/ia64/ia64 db_trace.c unwind.c Log: Return better "error" values for UWX_BOTTOM and UWX_ABI_FRAME in unw_step(). Both errors denote the end of a stack trace (i.e. no prior frame), but are otherwise not error conditions. Have db_trace() return 0 when the trace ends due to one of these return codes as they are really normal termination conditions. This change especially improves the output of the "show thread" command in DDB when there are threads in fork_trampoline() and previously db_trace() would return an error, causing the show command to emit '***'. Revision Changes Path 1.23 +6 -2 src/sys/ia64/ia64/db_trace.c 1.14 +15 -4 src/sys/ia64/ia64/unwind.c