From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2955 invoked by alias); 30 Nov 2010 00:07:23 -0000 Received: (qmail 2946 invoked by uid 22791); 30 Nov 2010 00:07:22 -0000 X-SWARE-Spam-Status: No, hits=-6.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 30 Nov 2010 00:07:17 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id oAU07G4Q020663 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 29 Nov 2010 19:07:16 -0500 Received: from host0.dyn.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id oAU07BjW032138 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 29 Nov 2010 19:07:15 -0500 Received: from host0.dyn.jankratochvil.net (localhost.localdomain [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.4/8.14.4) with ESMTP id oAU079pn027393; Tue, 30 Nov 2010 01:07:10 +0100 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.4/8.14.4/Submit) id oAU078DR027388; Tue, 30 Nov 2010 01:07:08 +0100 Date: Tue, 30 Nov 2010 00:07:00 -0000 From: Jan Kratochvil To: Kevin Buettner Cc: gdb-patches@sourceware.org Subject: Re: [RFC] Limit attempts to place breakpoints on _start, __start, and main in solib-svr4.c Message-ID: <20101130000707.GA26969@host0.dyn.jankratochvil.net> References: <20101129160233.1265d555@mesquite.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101129160233.1265d555@mesquite.lan> User-Agent: Mutt/1.5.21 (2010-09-15) 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: 2010-11/txt/msg00487.txt.bz2 Hello Kevin, On Tue, 30 Nov 2010 00:02:33 +0100, Kevin Buettner wrote: > -enable_break (struct svr4_info *info, int from_tty) > +enable_break (struct svr4_info *info, int from_tty, int from_run_command) I haven't tried it myself but is there a reason why not to use `struct inferior->attach_flag' instead? Thanks, Jan