From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6870 invoked by alias); 7 Dec 2007 14:09:36 -0000 Received: (qmail 6857 invoked by uid 22791); 7 Dec 2007 14:09:35 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 07 Dec 2007 14:09:29 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id B518B98367; Fri, 7 Dec 2007 14:09:27 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 85D7D982D9; Fri, 7 Dec 2007 14:09:27 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.68) (envelope-from ) id 1J0dtO-0000ji-Mk; Fri, 07 Dec 2007 09:09:26 -0500 Date: Fri, 07 Dec 2007 15:02:00 -0000 From: Daniel Jacobowitz To: Jim Blandy , Eli Zaretskii Cc: gdb-patches@sourceware.org Subject: Re: RFA: Remove unused support for target-based exception handling Message-ID: <20071207140926.GB24131@caradoc.them.org> Mail-Followup-To: Jim Blandy , Eli Zaretskii , gdb-patches@sourceware.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.15 (2007-04-09) 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: 2007-12/txt/msg00125.txt.bz2 On Thu, Dec 06, 2007 at 10:19:11PM -0800, Jim Blandy wrote: > (I'd been hoping that this would let me delete print_frame_label_vars, > but when I got back there it turned out I'd misread the code, and > instead we now use it unconditionally... sigh.) I suspect you can delete that and still leave things unchanged; you'd have to check, but I'm reasonably certain that you have to go back to g++ 2.7 or even earlier to find the generated code that routine is trying to support. On Fri, Dec 07, 2007 at 09:29:13AM +0200, Eli Zaretskii wrote: > > From: Jim Blandy > > Date: Thu, 06 Dec 2007 22:19:11 -0800 > > > > This was kind of like finding something old and nasty in the back of > > the fridge. :) > > Could you (or someone else) perhaps tell the history of this code? > Like when it was introduced and for what purposes, and how it became > unused? It was part of the Great HP Merge, in 1998. The changelog entry is the first 2575 lines of ChangeLog-1998. HP-UX apparently had some OS facility used for catching C++ exceptions; this was specific to the aCC compiler, not G++ on HP-UX, and support for that compiler was removed from GDB at the beginning of this year. > Also, doesn't the manual needs to be fixed if we remove this? The feature is still there, and will still work for g++ 3.x / 4.x compiled code, and any other compiler using the common C++ ABI. -- Daniel Jacobowitz CodeSourcery