Apparently, PEEKUSER/POKEUSER is something x86 specific, so I had to rework it for AArch64. This fixes assertion that occurs whenever lldb started on AArch64 device tried to read PC register (or any other register)
Details
Diff Detail
Event Timeline
Seems like in my comment to this patch I went too far with the last
statement on llgs - I was refering to the code I'm working on and for a
moment I've forgotten that it's something not complete and not published
yet.
Hey Paul,
The change looks fine.
Minor formatting nit. Could you adjust your bracing style to match the rest of the code, though? You can either filter it through the clang formatter (there was a thread on how to do that within the last 2 - 3 weeks on lldb-dev or lldb-commits) or adjust the bits I list below. The only bits I'm really noticing are related to else and curly brace starting position.
#1.
else {
would be:
else
{
#2:
} else
{
would be
}
else
{
}
Thanks!
Hey Paul,
The change looks fine.
Minor formatting nit. Could you adjust your bracing style to match the rest of the code, though? You can either filter it through the clang formatter (there was a thread on how to do that within the last 2 - 3 weeks on lldb-dev or lldb-commits) or adjust the bits I list below. The only bits I'm really noticing are related to else and curly brace starting position.
#1.
else {
would be:
else
{
#2:
} else
{
would be
}
else
{
}
Thanks!
svn commit
Sending source/Plugins/Process/Linux/ProcessMonitor.cpp
Transmitting file data .
Committed revision 217691.