This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
gdb/689: GDB/MI -environment-directory not stripping away double quotes
- From: alain at qnx dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 10 Sep 2002 14:40:01 -0000
- Subject: gdb/689: GDB/MI -environment-directory not stripping away double quotes
- Reply-to: alain at qnx dot com
>Number: 689
>Category: gdb
>Synopsis: GDB/MI -environment-directory not stripping away double quotes
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Sep 10 07:48:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: alain@qnx.com
>Release: unknown-1.0
>Organization:
>Environment:
All platforms
GDB-5.2.0
>Description:
gdb -i mi hello
...
-environment-directory "/tmp"
&"Warning: /home/alain/\"/tmp\" : No such file or directory\n"
^done
(gdb)
According to the spec/doc, it is allowed to quote parameters.
On general note, what's the best way to deal with spaces(\t, ' ', ...)
If gdb/mi does not strip away the quotes.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: