From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: gdb 24.0.93.1 gdb doesn't work worth a damn Date: Tue, 06 Mar 2012 03:39:05 -0500 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1331023184 7865 80.91.229.3 (6 Mar 2012 08:39:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 6 Mar 2012 08:39:44 +0000 (UTC) Cc: Neal Becker , emacs-devel@gnu.org To: Kaushik Srenevasan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 06 09:39:41 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S4pvo-00008y-Q0 for ged-emacs-devel@m.gmane.org; Tue, 06 Mar 2012 09:39:40 +0100 Original-Received: from localhost ([::1]:56707 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4pvo-0001HC-1J for ged-emacs-devel@m.gmane.org; Tue, 06 Mar 2012 03:39:40 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:54183) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4pvh-0001Gn-2h for emacs-devel@gnu.org; Tue, 06 Mar 2012 03:39:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S4pvI-0000Qj-LC for emacs-devel@gnu.org; Tue, 06 Mar 2012 03:39:32 -0500 Original-Received: from fencepost.gnu.org ([208.118.235.10]:58932) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4pvI-0000QF-HK for emacs-devel@gnu.org; Tue, 06 Mar 2012 03:39:08 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1S4pvF-0002k4-BF; Tue, 06 Mar 2012 03:39:05 -0500 X-Spook: Islam Abduganievich Karimov CID Geraldton Skipjack X-Ran: q"]UaJUWX=z7*sEvN9-2%oM)lE-1@WE|F!'Cld[A41CUFJ[_^Vpo-xC0!u`)Yry83?fcd[ X-Hue: yellow X-Attribution: GM In-Reply-To: (Kaushik Srenevasan's message of "Wed, 29 Feb 2012 15:20:45 -0800") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.10 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:148903 Archived-At: Kaushik Srenevasan wrote: > I hit this yesterday too. GDB-MI doesn't seem to be able to handle > what GDB calls "multiple" breakpoints. i.e. a breakpoint that GDB sets > on every overloaded function that matches an expression. The problem > is that the MI output has an extra field - "type" only on the "parent > breakpoint", while GDB-MI expects to find it even on "child > breakpoints". > > I've attached a patch. Could you check if it works for you too? I don't know anything about gdb, but this looks reasonable, so based on http://lists.gnu.org/archive/html/emacs-devel/2012-02/msg00075.html I installed it. Thanks. Note that (if A A B) is better written as (or A B) which removes the need for the `let's.