From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15598 invoked by alias); 15 Mar 2006 16:21:03 -0000 Received: (qmail 15567 invoked by uid 22791); 15 Mar 2006 16:21:02 -0000 X-Spam-Check-By: sourceware.org Received: from eastrmmtao06.cox.net (HELO eastrmmtao06.cox.net) (68.230.240.33) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 15 Mar 2006 16:20:54 +0000 Received: from localhost.localdomain ([68.9.66.48]) by eastrmmtao06.cox.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20060315162044.PZNC9108.eastrmmtao06.cox.net@localhost.localdomain>; Wed, 15 Mar 2006 11:20:44 -0500 Received: from bob by localhost.localdomain with local (Exim 4.52) id 1FJYkU-0008Ft-9z; Wed, 15 Mar 2006 11:21:22 -0500 Date: Wed, 15 Mar 2006 16:30:00 -0000 From: Bob Rossi To: Jim Ingham Cc: Vladimir Prus , gdb@sources.redhat.com Subject: Re: MI and pending breakpoints Message-ID: <20060315162122.GA30980@brasko.net> Mail-Followup-To: Jim Ingham , Vladimir Prus , gdb@sources.redhat.com References: <27491BE6-9DDB-4168-BDFC-9C092BF0DEBB@apple.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <27491BE6-9DDB-4168-BDFC-9C092BF0DEBB@apple.com> User-Agent: Mutt/1.5.9i X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-03/txt/msg00079.txt.bz2 On Wed, Mar 15, 2006 at 08:19:59AM -0800, Jim Ingham wrote: > You need to set the gdb variable "pending" to "on" before setting the > breakpoint. Since this is kind of a pain, we added a "-f" option to - > break-insert that will do this for you wrapped around the breakpoint > setting ("-f" because this feature was called "future-break" in the > NeXT gdb many years ago.) > > It's also arguable that for -break-insert you ALWAYS want "pending" > to be "on". That's how annotate=2 works. However, I think GDB should query the user the same way it does from the CLI. It's wierd when people start using my front end and ask why it behaves differently than the CLI. Bob Rossi