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.p...@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@cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev _______________________________________________ lldb-dev mailing list lldb-dev@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev