Hi, 

I'd like to run my process in lldb automatically, and print a backtrace if an 
error occurs but exit normally otherwise. This sort of thing can be achieved 
(sloppily) with gdb using something like this:

echo -e "run\nthread apply all bt" > foo.gdb
gdb -batch -x foo.gdb my_process


Is something like this possible? I'd be willing to write some Python if needed.

-Greg

_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to