jimingham wrote:

> > If this result printing callback was also passed the command string (which 
> > it has from just above where the callback is called) then this would also 
> > be an easy way to do logging of command execution. That's not needed for 
> > your current purpose, but would add another strong motivation for this 
> > change...
> 
> Adrian made a similar observation offline. What do you think about putting 
> that in the `CommandReturnObject`? This seems generally useful and that way 
> it's not tied to the callback.

That's a good idea.

https://github.com/llvm/llvm-project/pull/125006
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to