From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kaushik Srenevasan Newsgroups: gmane.emacs.devel Subject: Re: Compatibility problem with emacs 24.1 / GDB 6.3.50? Date: Wed, 13 Jun 2012 15:44:12 -0700 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1339627463 4849 80.91.229.3 (13 Jun 2012 22:44:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 13 Jun 2012 22:44:23 +0000 (UTC) Cc: emacs-devel@gnu.org To: Charles Tucker Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 14 00:44:22 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 1SewIV-0006wQ-O7 for ged-emacs-devel@m.gmane.org; Thu, 14 Jun 2012 00:44:19 +0200 Original-Received: from localhost ([::1]:38270 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SewIV-0001Th-Ns for ged-emacs-devel@m.gmane.org; Wed, 13 Jun 2012 18:44:19 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51887) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SewIS-0001TQ-OJ for emacs-devel@gnu.org; Wed, 13 Jun 2012 18:44:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SewIQ-0008GX-V7 for emacs-devel@gnu.org; Wed, 13 Jun 2012 18:44:16 -0400 Original-Received: from mail-wg0-f49.google.com ([74.125.82.49]:38368) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SewIQ-0008GM-Ly for emacs-devel@gnu.org; Wed, 13 Jun 2012 18:44:14 -0400 Original-Received: by wgbds1 with SMTP id ds1so794404wgb.30 for ; Wed, 13 Jun 2012 15:44:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=+LnRvgmgQYILshbRg+lq1uhFvdp3K59ryxy7Q59EHPc=; b=MvlRZsy129oKhV0AKTmBtUj7oy8H59upas0FGbzBxIoqe2RBlzGWSjLbB5CVnON+hO 92CzCzEosABzhSZzMgBmi9ftILBOfpmazJ67AB6rbrW19M2E4354COX7NV7+Yq1kffW2 3w9+kEczi4Hl6vT0TbSvGP4kL4RMWLmk/zTFypDU378L2RejENCx3kKhXYKezuSIyZrd DaHdMLqCFywbO89wwWjIDLz+nHsFn4Hw+BXTdTZLVja6mlsJ7h3KDKlXhTmHhjN9+EOk 4SkY1b1YkuccNLsAPHF8SufwhExhtFjiuHya1o3yAw0K0HkBunMV/lHE3g4jjaNDzva8 ZMBg== Original-Received: by 10.216.225.166 with SMTP id z38mr11360493wep.3.1339627452080; Wed, 13 Jun 2012 15:44:12 -0700 (PDT) Original-Received: by 10.180.79.193 with HTTP; Wed, 13 Jun 2012 15:44:12 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 74.125.82.49 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:150933 Archived-At: On Wed, Jun 13, 2012 at 3:13 PM, Charles Tucker wrote: > Caveat: I'm running on OS X (which ships with emacs 22.1 and gdb 6.3.50). > Newer versions grabbed / installed via Mac Homebrew, which may configure > things funny. > > Filled with a desire to use more recent versions of tools, I've been using > emacs 23.4 / gdb 6.3 successfully for a while now, but brew recently updated > to emacs 24.1. The gdb mode under this new version spits out the following > garbage output (spacing intact): > Emacs 24 uses the machine interface (MI) to talk to GDB. I don't think GDB 6.3 has support for MI. You can simply call Emacs' gdb function (M-x gdb) with the complete path to your (newer) GDB installation (macports typically calls it "ggdb" - /opt/bin/ggdb) (gdb "/opt/bin/ggdb -i=mi [[ rest of the gdb command line ]]") Note that -i=mi is what asks GDB to output MI commands that Emacs recognizes. -Kaushik