Hi Vince, as for the SB API, take a look at 
test/api/multiple-debuggers/multi-process-driver.cpp.  This particular test 
program is creating separate Debugger/Target/Processes on multiple threads.  
It's designed to help find race conditions so it has e.g. 50 threads all 
debugging the same inferior process, all putting breakpoints on the same place, 
running to that place, etc.  Nothing interesting but you can see how it's 
straightforward to run multiple inferior processes at one time.

J


> On Jan 25, 2015, at 9:55 AM, Vince Harron <[email protected]> wrote:
> 
> Hi all,
> 
> I've been playing around with lldb's ability to create multiple targets and 
> switch between them from the command line.
> 
> I can
> 
> target create
> process launch
> ^C
> target create
> process launch
> ^C
> target select 0
> cont
> 
> Is there any way to get both processes running in parallel from the command 
> line?  what about the API?  Are there any docs I can read about this?
> 
> Thanks,
> 
> Vince
> 
> -- 
> 
> Vince Harron |         Technical Lead Manager |        [email protected] |   
>  858-442-0868
> 
> _______________________________________________
> lldb-dev mailing list
> [email protected]
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev


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

Reply via email to