From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19062 invoked by alias); 31 Dec 2006 02:23:11 -0000 Received: (qmail 19053 invoked by uid 22791); 31 Dec 2006 02:23:11 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Sun, 31 Dec 2006 02:23:02 +0000 Received: from drow by nevyn.them.org with local (Exim 4.63) (envelope-from ) id 1H0qLj-0000FV-4r; Sat, 30 Dec 2006 21:22:59 -0500 Date: Sun, 31 Dec 2006 02:23:00 -0000 From: Daniel Jacobowitz To: Mark Kettenis Cc: gdb-patches@sourceware.org Subject: Re: [commit] Unwinder for OpenBSD/sparc64 kernel trap frames Message-ID: <20061231022259.GB719@nevyn.them.org> Mail-Followup-To: Mark Kettenis , gdb-patches@sourceware.org References: <200612310128.kBV1SDvF008133@brahms.sibelius.xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200612310128.kBV1SDvF008133@brahms.sibelius.xs4all.nl> User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-12/txt/msg00383.txt.bz2 On Sun, Dec 31, 2006 at 02:28:13AM +0100, Mark Kettenis wrote: > + find_pc_partial_function (frame_pc_unwind (next_frame), &name, NULL, NULL); > + if (name && strcmp (name, "Lslowtrap_reenter") == 0) > + return &sparc64obsd_trapframe_unwind; Does this really belong in GDB? I ask because we've resisted adding similar things for other targets before - at least I have for Linux and for Xfree86, but maybe I should have been more accepting. Anyway, I have some thoughts on how to extend the unwind mechanism so that the OpenBSD kernel could ship a script that knew how to unwind its trap frames. I'll be posting about that at the beginning of 2007, just as soon as I clear my review backlog and the pointers-to-members patch, I hope! -- Daniel Jacobowitz CodeSourcery