llvm-project/lldb
Greg Clayton 6ad07dd9e9 Improved our argument parsing abilities to be able to handle stuff more like
a shell would interpret it. A few examples that we now handle correctly

INPUT: "Hello "world
OUTPUT: "Hello World"

INPUT: "Hello "' World'
OUTPUT: "Hello World"

INPUT: Hello" World"
OUTPUT: "Hello World"

This broke the setting of dictionary values for the "settings set" command
for things like:

(lldb) settings set target.process.env-vars ["MY_ENV_VAR"]=YES

since we would drop the quotes. I fixed the user settings controller to use
a regular expression so it can accept any of the following inputs for
dictionary setting:

settings set target.process.env-vars ["MY_ENV_VAR"]=YES
settings set target.process.env-vars [MY_ENV_VAR]=YES
settings set target.process.env-vars MY_ENV_VAR=YES

We might want to eventually drop the first two syntaxes, but I won't make
that decision right now.

This allows more natural setting of the envirorment variables:

settings set target.process.env-vars MY_ENV_VAR=YES ABC=DEF CWD=/tmp

llvm-svn: 122166
2010-12-19 03:41:24 +00:00
..
docs Updated the code signing instructions to be more complete. 2010-12-14 23:19:04 +00:00
examples Add comment explaining the options used to invoke the test driver. 2010-10-25 21:38:35 +00:00
include Improved our argument parsing abilities to be able to handle stuff more like 2010-12-19 03:41:24 +00:00
lib Patch from Jay Cornwall that modifies the LLDB "Host" layer to reuse more 2010-09-07 20:11:56 +00:00
lldb.xcodeproj Bumped Xcode project versions to for lldb-36 and debugserver-122. 2010-12-17 15:59:24 +00:00
resources Bumped Xcode project versions to for lldb-36 and debugserver-122. 2010-12-17 15:59:24 +00:00
scripts Patch by Stephen Wilson to make Swig happy building on linux. 2010-12-16 00:01:06 +00:00
source Improved our argument parsing abilities to be able to handle stuff more like 2010-12-19 03:41:24 +00:00
test Fix wrong test logic -- should pass "-s address" option to "image dump symtab" 2010-12-17 18:02:08 +00:00
tools Bumped Xcode project versions to for lldb-36 and debugserver-122. 2010-12-17 15:59:24 +00:00
utils Modify the regexp to match the debugger output of the 'Up Stack' and 'Down Stack' 2010-12-17 01:35:41 +00:00
www Clarified some caveats for thread format strings. 2010-10-04 03:06:05 +00:00
INSTALL.txt You'll need to be running Mac OS X to get lldb to build right now. 2010-06-09 07:29:26 +00:00
LICENSE.TXT test commit 2010-06-09 03:55:24 +00:00
Makefile Comment out test targets; they don't work on Linux because test/Makefile uses 2010-07-09 22:36:15 +00:00