Crash log: Move GDB/LLDB logging to its own section

This commit is contained in:
Jonathan G Rennison
2023-06-12 18:38:27 +01:00
parent dd57fc6ecf
commit da07c8ce51
4 changed files with 34 additions and 6 deletions

View File

@@ -306,10 +306,16 @@ class CrashLogOSX : public CrashLog {
/**
* Log LLDB information if available
*/
char *LogDebugExtra(char *buffer, const char *last) const override
{
return this->LogLldbInfo(buffer, last);
}
/**
* Log registers if available
*/
char *LogRegisters(char *buffer, const char *last) const override
{
buffer = LogLldbInfo(buffer, last);
#ifdef WITH_UCONTEXT
ucontext_t *ucontext = static_cast<ucontext_t *>(context);
#if defined(__x86_64__)