From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26345 invoked by alias); 10 Feb 2006 20:20:54 -0000 Received: (qmail 26336 invoked by uid 22791); 10 Feb 2006 20:20:53 -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; Fri, 10 Feb 2006 20:20:49 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1F7el3-0000BH-Be; Fri, 10 Feb 2006 15:20:45 -0500 Date: Fri, 10 Feb 2006 20:20:00 -0000 From: Daniel Jacobowitz To: Nick Roberts Cc: Eli Zaretskii , gdb-patches@sourceware.org Subject: Re: minimalistic MI catch support Message-ID: <20060210202045.GA610@nevyn.them.org> Mail-Followup-To: Nick Roberts , Eli Zaretskii , gdb-patches@sourceware.org References: <17386.57501.980555.996896@kahikatea.snap.net.nz> <17388.13240.975679.344747@kahikatea.snap.net.nz> <20060210141138.GA21506@nevyn.them.org> <17388.62590.117990.323555@kahikatea.snap.net.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <17388.62590.117990.323555@kahikatea.snap.net.nz> User-Agent: Mutt/1.5.8i X-IsSubscribed: yes 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/msg00256.txt.bz2 On Sat, Feb 11, 2006 at 09:15:58AM +1300, Nick Roberts wrote: > OK thanks for explaining the difference. I would still say that they are > a _bit_ like breakpoints (they stop execution if fork or exec are called) > and I guess thats why their details are given in "info breakpoints". > > Are you saying "catch fork" and "catch exec" aren't at all like > "catch catch" and "catch throw" which do have addresses? If so, perhaps > some clearer distinction could be made to the user/in MI output. I think Eli's convinced me on this point; we should hide the addresses, at least in "info breakpoints". "catch catch" is a pretty generic concept. When implemented on a GNU v3 binary, it uses a breakpoint; when implemented on an old HP-UX aCC binary, apparently, it used an out-of-band event just like "catch fork". Thus the difference. -- Daniel Jacobowitz CodeSourcery