From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32093 invoked by alias); 25 Feb 2011 16:17:02 -0000 Received: (qmail 32076 invoked by uid 22791); 25 Feb 2011 16:16:59 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 25 Feb 2011 16:16:52 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id EF0D52BAACA; Fri, 25 Feb 2011 11:16:50 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id uJ3FgN+GzslB; Fri, 25 Feb 2011 11:16:50 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 809452BAE39; Fri, 25 Feb 2011 11:16:50 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id F15D3145A56; Fri, 25 Feb 2011 20:16:42 +0400 (RET) Date: Fri, 25 Feb 2011 17:38:00 -0000 From: Joel Brobecker To: Tom Tromey Cc: gdb-patches@sourceware.org Subject: Re: [PATCH 13/18] Add new "wtx" target. Message-ID: <20110225161642.GK2495@adacore.com> References: <1298569763-18784-1-git-send-email-brobecker@adacore.com> <1298569763-18784-14-git-send-email-brobecker@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) 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: 2011-02/txt/msg00773.txt.bz2 > Joel> + /* FIXME: brobecker/2007-08-31: The current event handling in GDB > Joel> + doesn't really include support for exceptions. For now, treat > Joel> + this as an "unknown signal". Later on, we might want to improve > Joel> + a bit, and in particular display the exception value to the user. */ > > What are "exceptions" in this context? It's a VxWorks exception. I can't remember completely the details anymore, but the exception also carries an exception number, which provides some extra info as to what caused the exception. > Joel> + /* FIXME: The observer only passes the bpnum, which forces us > Joel> + to do a reverse search for the associated breakpoint structure. > Joel> + It is silly to have to do so when the observer had in fact > Joel> + the breakpoint structure and had to dereference it in order to > Joel> + pass the bpnum. Propose that the observer be enhanced when > Joel> + submitting this code to the FSF. */ > > :-) > > Volodya has a patch to make exactly this change. I'm going to put that in my TODO list, to do ASAP as a followup patch. It's been bugging me ever since I argued about that when the observer was initially introduced. -- Joel