[lldb-dev] Using command files in lldb

Prakash Premkumar prakash.prax at gmail.com
Thu Oct 9 21:40:35 PDT 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20141010/6f334de6/attachment.html>


More information about the lldb-dev mailing list