[Lldb-commits] [PATCH] D120319: Set error message if ValueObjectRegister fails to write back to register

Greg Clayton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Feb 23 13:31:24 PST 2022


clayborg added a comment.

In D120319#3340298 <https://reviews.llvm.org/D120319#3340298>, @labath wrote:

> Core files have read-only registers. Would that help? (you could just throw in a SetValueFromCString call into one of the existing core file tests)

Actually I believe we allow writing registers for core files. This was requested so that people could fix the registers like SP or FP and the get a real backtrace. Since core files contain crashes, people wanted to be able to make sure they could get a backtrace.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120319



More information about the lldb-commits mailing list