I'm not sure there is a good way to do that currently.

However, if you tell us what is the higher level problem you are
trying to solve, we may be able to provide an alternative (right now,
the only reason I can think of why you would *not* want to
save/restore all registers is the orig_rax pseudo-register, for which
we do have a solution)

On 13 July 2017 at 12:06, Tatyana Krasnukha via lldb-dev
<lldb-dev@lists.llvm.org> wrote:
> Hi,
>
> I need an ability to skip some registers when lldb restores register state
> after a function call. Didn’t find something like gdb “save-restore”
> register property. Is there any way to avoid restoring of some registers
> beside hardcoding its names in
> GDBRemoteRegisterContext::WriteAllRegisterValues like it is done for arm
> debugserver?
>
>
>
> Thanks for any suggestions,
>
> Tatyana
>
>
> _______________________________________________
> lldb-dev mailing list
> lldb-dev@lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev
>
_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

Reply via email to