[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gud.el parses args incorrectly
From: |
Yuri Shtil |
Subject: |
gud.el parses args incorrectly |
Date: |
Wed, 01 Aug 2007 11:11:56 -0700 |
User-agent: |
Thunderbird 2.0.0.5 (Windows/20070716) |
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.
- gud.el parses args incorrectly,
Yuri Shtil <=