From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26093 invoked by alias); 17 Jan 2008 14:26:01 -0000 Received: (qmail 26073 invoked by uid 22791); 17 Jan 2008 14:26:00 -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; Thu, 17 Jan 2008 14:25:34 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JFVgP-00059k-GF for gdb-patches@sources.redhat.com; Thu, 17 Jan 2008 14:25:29 +0000 Received: from 71.16.15.170 ([71.16.15.170]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Jan 2008 14:25:29 +0000 Received: from ghost by 71.16.15.170 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Jan 2008 14:25:29 +0000 To: gdb-patches@sources.redhat.com From: Vladimir Prus Subject: Re: [PATCH] Re: bug in mi when setting breakpoint Date: Thu, 17 Jan 2008 14:26:00 -0000 Message-ID: References: <20071216125625.GE4783@coin> <18318.34560.237450.362651@kahikatea.snap.net.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit User-Agent: KNode/0.10.5 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: 2008-01/txt/msg00442.txt.bz2 Nick Roberts wrote: > [continued from gdb mailing list] > > > How about doing something similar in FSF GDB? > > Like below? > > Apple also have a MI command called -break-commands which I want to add to > FSF GDB to avoid similar prompting problems in MI with "commands". This is different to what I've proposed -- namely reporting "there are several overloaded functions" and then allowing the frontend to select a specific one. The solution you propose does not give a frontend a way to control which overloaded function to set breakpoint on, which seems like an important limitation for me. - Volodya