labath added a comment.

In D113098#3105906 <https://reviews.llvm.org/D113098#3105906>, @ljmf00 wrote:

> In D113098#3105809 <https://reviews.llvm.org/D113098#3105809>, @labath wrote:
>
>> bug reported in PR45856.
>
> Thanks for your time fixing this. So, for better understanding, does the 
> infrastructure behind LLDB, Target and Process have similar APIs but Process 
> is just for the running state?

Not exactly. It's true that a Process represents the running state of the 
application, and that both of them can read memory (process always reads live 
memory while a target can optionally return data from the object file), but 
that's pretty much where the similarities end. Process' methods generally 
concern the running of the application, so you have things that deal with 
stdio, signals, threads, etc. OTOH, a target works with the object files, and 
the debug info contained therein (breakpoints, modules, symbols, ...).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D113098/new/

https://reviews.llvm.org/D113098

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to