[Lldb-commits] [PATCH] D73802: [lldb] Introduce i386 support in NetBSD Process plugin
Michał Górny via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Sat Feb 1 00:48:39 PST 2020
mgorny marked an inline comment as done.
mgorny added inline comments.
================
Comment at: lldb/source/Plugins/Process/Utility/RegisterContextNetBSD_i386.cpp:62
+ GPR gpr;
+ FPR_i386 i387;
+ uint32_t u_debugreg[8]; // Debug registers (DR0 - DR7).
----------------
krytarowski wrote:
> mgorny wrote:
> > krytarowski wrote:
> > > Please add `uint32_t tlsbase;`.
> > To what purpose? It's not being used anywhere.
> Consistency with amd64 AND we will want to make use of it in future and present as a 'tlsbase' register or anything.
The only reason I didn't remove it from amd64 is because I don't believe it's worth the effort. I'm against proactively adding undocumented features, especially given how much time I've spent trying to figure out what those structures were doing. We can add it when we start using it.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73802/new/
https://reviews.llvm.org/D73802
More information about the lldb-commits
mailing list