[Lldb-commits] [PATCH] Add -exec-arguments command

Ilia K ki.stfu at gmail.com
Wed Feb 11 14:24:29 PST 2015

In http://reviews.llvm.org/D6965#121476, @clayborg wrote:

> It would be nice to have lldb_private::Target have its own ProcessLaunchInfo as a member variable and change all storage of settings (target.run-args, target.arg0 etc) and have the settings just modify the lldb_private::Target's version of this.

I'll try do it but how I can synchronize Target::m_GlobalLaunchInfo and Debugger's property (which can be set by "settings set" command)? I can't update m_GlobalLaunchInfo every time when "settings set target.run-args" is executed. Therefore will be 2 different places where these arguments are stored.

As I said, currently "settings set" stores all values as debugger's properties. And I don't want to do the following:

  if (property == "target.run-args") {
  else {



More information about the lldb-commits mailing list