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: GSoC gdb-mi.el changes Date: Wed, 12 Aug 2009 01:26:23 -0400 Message-ID: References: <877hxdj0ai.fsf@sphinx.net.ru> <200908110453.n7B4reIS002762@godzilla.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1250054809 14781 80.91.229.12 (12 Aug 2009 05:26:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Aug 2009 05:26:49 +0000 (UTC) Cc: emacs-devel@gnu.org, Dmitry Dzhus To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 12 07:26:41 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mb6MB-0003Ep-NR for ged-emacs-devel@m.gmane.org; Wed, 12 Aug 2009 07:26:40 +0200 Original-Received: from localhost ([127.0.0.1]:47580 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mb6M9-0001xk-Ef for ged-emacs-devel@m.gmane.org; Wed, 12 Aug 2009 01:26:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mb6M2-0001xf-Ig for emacs-devel@gnu.org; Wed, 12 Aug 2009 01:26:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mb6Lx-0001v4-NK for emacs-devel@gnu.org; Wed, 12 Aug 2009 01:26:29 -0400 Original-Received: from [199.232.76.173] (port=36456 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mb6Lx-0001v1-Db for emacs-devel@gnu.org; Wed, 12 Aug 2009 01:26:25 -0400 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:18064 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mb6Lx-0003Nd-4d for emacs-devel@gnu.org; Wed, 12 Aug 2009 01:26:25 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvoEAEbvgUpMCoTf/2dsb2JhbACBUtFOhBkFhzyCVg X-IronPort-AV: E=Sophos;i="4.43,365,1246852800"; d="scan'208";a="43378830" Original-Received: from 76-10-132-223.dsl.teksavvy.com (HELO pastel.home) ([76.10.132.223]) by ironport2-out.teksavvy.com with ESMTP; 12 Aug 2009 01:26:05 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 000F87F24; Wed, 12 Aug 2009 01:26:23 -0400 (EDT) In-Reply-To: <200908110453.n7B4reIS002762@godzilla.ics.uci.edu> (Dan Nicolaescu's message of "Mon, 10 Aug 2009 21:53:40 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:114125 Archived-At: > Suggestion: don't show the -i=mi flag, users don't care about it (same > way rgrep/lgrep don't show the -n flag they pass to grep) GUD used to hide such flags and then was changed to try and show them instead. The reason why it was changed to show them, is so that it can be made to work with unusal ways to start the debugger. E.g. make run cmd="gdb --i=mi foo" if you don't make the flag explicit, then you have to guess where to add it in the command the user has just typed (in the above case the user would have then typed make run cmd="gdb foo" which makes it difficult to figure out where to place the --i=mi. Stefan