From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Gdb in emacs 24 Date: Thu, 06 Oct 2011 08:40:18 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1317904835 25117 80.91.229.12 (6 Oct 2011 12:40:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 6 Oct 2011 12:40:35 +0000 (UTC) Cc: "emacs-devel@gnu.org devel" To: David Reitter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 06 14:40:28 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RBnFU-0001E2-3X for ged-emacs-devel@m.gmane.org; Thu, 06 Oct 2011 14:40:28 +0200 Original-Received: from localhost ([::1]:34790 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBnFT-0006qw-IC for ged-emacs-devel@m.gmane.org; Thu, 06 Oct 2011 08:40:27 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:53422) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBnFQ-0006qn-Kl for emacs-devel@gnu.org; Thu, 06 Oct 2011 08:40:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RBnFM-0004VG-Ab for emacs-devel@gnu.org; Thu, 06 Oct 2011 08:40:24 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:64417 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBnFM-0004V1-7M for emacs-devel@gnu.org; Thu, 06 Oct 2011 08:40:20 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgwKALagjU7O+JxS/2dsb2JhbABEmQ2PIIEGgVMBAQQBViMFCws0EhQYDSSIEbcGhywEoQyERA X-IronPort-AV: E=Sophos;i="4.68,495,1312171200"; d="scan'208";a="140138601" Original-Received: from 206-248-156-82.dsl.teksavvy.com (HELO pastel.home) ([206.248.156.82]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 06 Oct 2011 08:40:18 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 8C664592D4; Thu, 6 Oct 2011 08:40:18 -0400 (EDT) In-Reply-To: (David Reitter's message of "Wed, 5 Oct 2011 17:55:34 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 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:144608 Archived-At: > Wouldn't it be more user-friendly to just ask for the name of the executable > after M-x gdb, compose the correct arguments to GDB automatically? That's an option. But I'd prefer if we tried to make the current behavior work well, instead. E.g. it could warn the user when it detects a "--fullname" or "--annotate=3". And/or gdb-mi could try and notice when GDB doesn't seem to behave according the its expectations and output a warning about a possibly missing "-i mi". Stefan