[lldb-dev] How to set argument -Xxm100M for an executable?

Yin Ma yin at affinic.com
Mon Oct 7 14:27:38 PDT 2013


Hi 

 

To set up a run argument, based on the document, it should be

Settings set target.run-args  , like gdb set args

 

However, no matter how, I cannot set my argument to –Xxm100M

I tried 

Settings set target.run-args –Xxm100M

Lldb: invalid option – X

 

I also tried

Settings set target.run-args “-Xxm100M”

Doesn’t work.

 

Could somebody let me know how to correctly set an argument.

 

On gdb, if we run

Set args

This means no argument 

However, under lldb

Settings set target.run-args 

It will report an error

 

Is this a good behavior?

 

Thanks,

 

Yin 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20131007/72c8ed26/attachment.html>


More information about the lldb-dev mailing list