[lldb-dev] Using command files in lldb

jingham at apple.com jingham at apple.com
Tue Oct 28 16:31:03 PDT 2014


What lldb are you using?  Greg and I just fixed some issues with getting the code from -s and -o options to work correctly.  Current TOT lldb handles this case correctly.

Jim

> On Oct 9, 2014, at 9:40 PM, Prakash Premkumar <prakash.prax at gmail.com> wrote:
> 
> Hi 
> How do I use command file is lldb
> 
> I tried :
> 
> $  lldb -s cmdfile output
> 
> The content of the cmd file is :
> r
> 
> I get the following error on running the above command
> 
> error: Aborting reading of commands after command #0: 'r ' failed with error: invalid target, create a target using the 'target create' command
> Current executable set to 'output' (x86_64).
> 
> Can you kindly tell me what is the right way to do this ?
> 
> Thanks
> Prakash 
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev





More information about the lldb-dev mailing list