Skip to content

Commit 71f52f8

Browse files
committed
[CHERIOT] Teach LLDB to print capability registers using CHERIOT formatting by default.
1 parent 4a05a2c commit 71f52f8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4743,6 +4743,10 @@ bool ParseRegisters(
47434743
"format and encoding for gdb type %s",
47444744
gdb_type.c_str());
47454745
}
4746+
4747+
if (gdb_type == "cheriot capability") {
4748+
reg_info.format = eFormatCheriotCapability;
4749+
}
47464750
}
47474751
}
47484752

0 commit comments

Comments
 (0)