Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 3 Oct 2002 04:26:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 3 Oct 2002 04:26:49 -0400 Received: from k100-28.bas1.dbn.dublin.eircom.net ([159.134.100.28]:274 "EHLO corvil.com.") by vger.kernel.org with ESMTP id ; Thu, 3 Oct 2002 04:26:49 -0400 Message-ID: <3D9C004A.3080006@corvil.com> Date: Thu, 03 Oct 2002 09:31:06 +0100 From: Padraig Brady Organization: Corvil Networks User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020827 X-Accept-Language: en-us, en MIME-Version: 1.0 To: linux-kernel@vger.kernel.org Subject: [OT] backtrace References: X-Enigmail-Version: 0.65.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 670 Lines: 19 Daniel Phillips wrote: > On Wednesday 02 October 2002 11:22, Ingo Molnar wrote: > >>The attached (tested) patch modifies x86's dump_stack() to print out the >>much friendlier backtrace. > > How about calling it backtrace(), since that's now what it is. Sorry to go off topic but this tip is just too useful IMHO. You can do the same in userspace with glibc. Details here: http://www.iol.ie/~padraiga/backtrace.c P?draig. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/