Currently, when trying to debug an application with lldb that contains
parenthesis in its paths, lldb doesn't escape those before passing the
arguments to bash. As a result, things fall on their face with errors like:
/bin/bash: -c: line 0: syntax error near unexpected token `('
/bin/bash: -c: line 0: `exec /usr/bin/arch -arch i386 /Users/joe/Builds\ -\
untitled/Mac\ OS\ X\ (Cocoa\ Intel)/My\ Application.app/Contents/MacOS/My\
Application'

Attached is a patch that adds the ()$ to the list of escaped characters.

-- Joe Ranieri

Attachment: escapes.diff
Description: Binary data

_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

Reply via email to