From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3519 invoked by alias); 19 Nov 2007 20:42:54 -0000 Received: (qmail 3509 invoked by uid 22791); 19 Nov 2007 20:42:54 -0000 X-Spam-Check-By: sourceware.org Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 19 Nov 2007 20:42:48 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IuDS6-0004JE-Ll for gdb-patches@sources.redhat.com; Mon, 19 Nov 2007 20:42:42 +0000 Received: from 77.246.241.246 ([77.246.241.246]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 19 Nov 2007 20:42:42 +0000 Received: from ghost by 77.246.241.246 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 19 Nov 2007 20:42:42 +0000 To: gdb-patches@sources.redhat.com From: Vladimir Prus Subject: Re: Pending breakpoints in MI Date: Mon, 19 Nov 2007 20:42:00 -0000 Message-ID: References: <200711081412.14452.ghost@cs.msu.su> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit User-Agent: KNode/0.10.4 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: 2007-11/txt/msg00371.txt.bz2 Vladimir Prus wrote: > > At the moment, it's not possible to set pending breakpoint > via MI. This patch fixed it. Now if one does > > -break-insert -f symbol_in_shared_lib > > GDB will create a pending breakpoint if symbol_in_shared_lib > is not yet seen. The -f stands for "future". We can't use -p > since that grabbed by thread option (which cannot be -t since that's > grabbed by temporary option). Apple branch uses -f as well, > as we might as well be compatible (even if the code is completely > different). > > OK? PING?