From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yuri Shtil Newsgroups: gmane.emacs.bugs Subject: gud.el parses args incorrectly Date: Wed, 01 Aug 2007 11:11:56 -0700 Organization: Ye 'Ol Disorganized NNTPCache groupie Message-ID: <1185991892.545003@sj-nntpcache-2.cisco.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1186034321 25295 80.91.229.12 (2 Aug 2007 05:58:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 2 Aug 2007 05:58:41 +0000 (UTC) To: gnu-emacs-bug@moderators.isc.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 02 07:58:34 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IGThh-0006PE-Sh for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Aug 2007 07:58:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IGThh-0007f7-Cx for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Aug 2007 01:58:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IGIgC-000171-2w for bug-gnu-emacs@gnu.org; Wed, 01 Aug 2007 14:12:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IGIgA-00016o-Ir for bug-gnu-emacs@gnu.org; Wed, 01 Aug 2007 14:12:15 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IGIgA-00016l-GF for bug-gnu-emacs@gnu.org; Wed, 01 Aug 2007 14:12:14 -0400 Original-Received: from pinatubo-2.switch.ch ([130.59.1.10] helo=pinatubo.switch.ch) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IGIgA-0002x8-76 for bug-gnu-emacs@gnu.org; Wed, 01 Aug 2007 14:12:14 -0400 Original-Received: from [69.28.173.153] (helo=newsfe10.phx.highwinds-media.com) by pinatubo.switch.ch with esmtp (Exim 4.50) id 1IGIfV-0002Ss-VN for gnu-emacs-bug@moderators.isc.org; Wed, 01 Aug 2007 20:11:34 +0200 Original-Received: from highwinds-media.com (localhost [127.0.0.1]) by newsfe10.phx.highwinds-media.com (8.13.1/8.12.11) with ESMTP id l71IBWp2016593 for ; Wed, 1 Aug 2007 11:11:32 -0700 Original-Received: from localhost (localhost [[UNIX: localhost]]) by highwinds-media.com (8.13.1/8.13.4/Submit) id l71IBWYY016589; Wed, 1 Aug 2007 11:11:32 -0700 Original-Path: 53ab2750!not-for-mail User-Agent: Thunderbird 2.0.0.5 (Windows/20070716) Original-Newsgroups: gnu.emacs.bug Cache-Post-Path: sj-nntpcache-2.cisco.com!unknown@171.71.225.80 X-Cache: nntpcache 3.0.2 (see http://www.nntpcache.com/) Original-Lines: 18 Original-NNTP-Posting-Host: 171.70.140.15 Original-X-Complaints-To: newsadmin@cisco.com Original-X-Trace: newsfe10.phx 1185991892 171.70.140.15 (Wed, 01 Aug 2007 11:11:32 MST) Original-NNTP-Posting-Date: Wed, 01 Aug 2007 11:11:32 MST X-Detected-Kernel: Genre and OS details not recognized. X-Mailman-Approved-At: Thu, 02 Aug 2007 01:58:30 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16267 Archived-At: It is impossible to pass quoted arguments to the gud. For example if I say on the command line: perl -d foo.pl one "two and three", the ARGV in perl has two elements: index 0 - one index 1 - two and three However if I invoke perldb with the same command, I get: index 0 - one index 1 - "two index 2 - and index 3 three" The problem, I believe is that gud-common-init in gud.el uses split-string which uses white spaces as delimiters and does not splits the command line in shell-like way as I would expect.