From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5123 invoked by alias); 10 Feb 2006 06:34:33 -0000 Received: (qmail 5111 invoked by uid 22791); 10 Feb 2006 06:34:32 -0000 X-Spam-Check-By: sourceware.org Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.8) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 10 Feb 2006 06:34:28 +0000 Received: from kahikatea.snap.net.nz (p202-124-114-244.snap.net.nz [202.124.114.244]) by viper.snap.net.nz (Postfix) with ESMTP id 8715B7450EB; Fri, 10 Feb 2006 19:34:24 +1300 (NZDT) Received: by kahikatea.snap.net.nz (Postfix, from userid 500) id 072E98890; Fri, 10 Feb 2006 19:33:30 +1300 (NZDT) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17388.13240.975679.344747@kahikatea.snap.net.nz> Date: Fri, 10 Feb 2006 06:34:00 -0000 To: gdb-patches@sourceware.org, Daniel Jacobowitz , Markus Schiltknecht , Bob Rossi Subject: Re: minimalistic MI catch support In-Reply-To: <17386.57501.980555.996896@kahikatea.snap.net.nz> References: <17386.57501.980555.996896@kahikatea.snap.net.nz> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-02/txt/msg00239.txt.bz2 A few further remark about catchpoints: (gdb) catch catch Catchpoint 2 (catch) (gdb) catch throw Catchpoint 3 (throw) (gdb) catch fork Catchpoint 4 (fork) (gdb) catch exec Catchpoint 5 (exec) (gdb) info break Num Type Disp Enb Address What 2 breakpoint keep y 0x07dae1aa exception catch 3 breakpoint keep y 0x07daf001 exception throw 4 catch fork keep y 5 catch exec keep y The first two are of type breakpoint and their nature is given under the heading "What". The second two have their own type: "catch fork" and "catch exec" (I must admit that I don't understand how this gives differerent behaviour from using "break fork" and "break exec"). Also for some reason, they have no address. This inconsistent description probably doesn't matter for CLI, but it is also used for MI output, for which it does seem inappropriate. Would it be a good idea to change it to: Num Type Disp Enb Address What 2 breakpoint keep y 0x07dae1aa exception catch 3 breakpoint keep y 0x07daf001 exception throw 4 breakpoint keep y fork 5 breakpoint keep y exec or something like: Num Type Disp Enb Address What 2 exception catch keep y 0x07dae1aa 3 exception throw keep y 0x07daf001 4 catch fork keep y 5 catch exec keep y to make it easier to parse the MI output. Nick