2023-08-25 22:54:07 +02:00
|
|
|
# Skip all std:: and __gnu_debug:: symbols
|
|
|
|
skip -rfu ^std::
|
|
|
|
skip -rfu ^__gnu_debug::
|
|
|
|
|
|
|
|
# Skip all ImGui:: symbols
|
|
|
|
skip -rfu ^ImGui::
|
|
|
|
|
|
|
|
# Trigger breakpoint when execution reaches triggerSafeShutdown()
|
2023-12-19 14:34:35 +01:00
|
|
|
break triggerSafeShutdown
|
|
|
|
|
|
|
|
# Print backtrace after execution jumped to an invalid address
|
|
|
|
define fixbt
|
|
|
|
set $pc = *(void **)$rsp
|
|
|
|
set $rsp = $rsp + 8
|
|
|
|
bt
|
|
|
|
end
|