https://bugs.llvm.org/show_bug.cgi?id=17501

lab...@google.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lab...@google.com
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from lab...@google.com ---
The correct syntax here is:

(lldb) settings set -- target.run-args -X
(lldb) settings show target.run-args
target.run-args (array of strings) =
  [0]: "-X"


It is a bit counterintuitive but it is a consequence of how getopt works and
how we chose to represent the arguments to this command. In any case, this
behavior is correctly documented in the help of the settings set command:

(lldb) help settings set 
     Set the value of the specified debugger setting.  Expects 'raw' input (see
'help raw-input'.)

Syntax: settings set <cmd-options> -- <setting-variable-name> <value>

I am not sure if this was working in 2013, but it is working now, so I am
marking this as fixed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

Reply via email to