From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4203 invoked by alias); 14 Jun 2010 03:18:56 -0000 Received: (qmail 4194 invoked by uid 22791); 14 Jun 2010 03:18:56 -0000 X-SWARE-Spam-Status: No, hits=-0.0 required=5.0 tests=AWL,BAYES_20,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from caibbdcaaaaf.dreamhost.com (HELO spaceymail-a6.g.dreamhost.com) (208.113.200.5) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 14 Jun 2010 03:18:40 +0000 Received: from redwood.eagercon.com (c-67-188-233-141.hsd1.ca.comcast.net [67.188.233.141]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by spaceymail-a6.g.dreamhost.com (Postfix) with ESMTP id 6F0ABCA74A; Sun, 13 Jun 2010 20:18:39 -0700 (PDT) Message-ID: <4C159F8E.40303@eagerm.com> Date: Mon, 14 Jun 2010 03:18:00 -0000 From: Michael Eager User-Agent: Thunderbird 2.0.0.23 (X11/20090825) MIME-Version: 1.0 To: Paul Koning Cc: gdb@sourceware.org Subject: Re: Backtrace from kernel to user space in coredump References: <4C138642.2080202@eagerm.com> <1276355966.1798.3.camel@localhost.localdomain> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-06/txt/msg00047.txt.bz2 Paul Koning wrote: > I've done just what you describe for MIPS, by adding a bunch of code to the > prologue analyzers. The user space symbols are a bit of a hassle, not so > much for the program itself (add-symbol-file is easy enough for that) but > because of the shared libraries (if you have those -- in my case it was > NetBSD so that did matter). Is this in the gdb repo or elsewhere? I looked a the prologue code for MIPS and it looks pretty vanilla. -- Michael Eager eager@eagercon.com 1960 Park Blvd., Palo Alto, CA 94306 650-325-8077