Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 840 Bytes

README.md

File metadata and controls

25 lines (15 loc) · 840 Bytes

lldbscripts

This repository contains helper scripts for lldb debugging.

ignore_signals.py

Automatically configure processes to not stop on SIGSEGV. Similar to the gdb command handle SIGSEGV noprint, but the lldb equivalent process handle --stop false SIGSEGV cannot be executed until a process has been loaded. Hence the need for a helper script.

Usage

Add a line similar to this to your ~/.lldbinit file:

command script import ~/git/lldbscripts/ignore_signals.py

Customization

To add other signals to the list, add a line similar to this one in ignore_signals.py:

signals.SetShouldStop(11, False)

The number to use can be found for example in signal.h.