This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
""" | |
Allows the user to select one of the coredumps from the journal using fzf, | |
places the coredump at the given path (default /tmp/coredump), | |
links the related program binary to the given path (default /tmp/coredump-program), | |
and optionally attaches gdb. | |
""" | |
import argparse |