This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gdb/689: GDB/MI -environment-directory not stripping away double quotes


>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]