From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32361 invoked by alias); 6 Dec 2007 17:59:16 -0000 Received: (qmail 32345 invoked by uid 22791); 6 Dec 2007 17:59:15 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 06 Dec 2007 17:59:11 +0000 Received: (qmail 26506 invoked from network); 6 Dec 2007 17:59:09 -0000 Received: from unknown (HELO localhost) (jimb@127.0.0.2) by mail.codesourcery.com with ESMTPA; 6 Dec 2007 17:59:09 -0000 To: gdb@sourceware.org Subject: target_enable_exception_callback dead? From: Jim Blandy Date: Thu, 06 Dec 2007 17:59:00 -0000 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: 2007-12/txt/msg00048.txt.bz2 I've noticed that the 'to_enable_exception_callback' and 'to_get_current_exception_event' target vector entries have only one definition each. These are in inf-child.c, which has only dummy definitions for them. If we were to remove these altogether, there's a reasonable chunk of code in breakpoint.c and stack.c that would go with it. Does anyone know of any reason to keep these functions? The comments for target_enable_exception_callback in target.h refer to HP-UX and aCC, but the HP-UX target code in GDB isn't implementing those target vector entries.