Skip to content

Commit

Permalink
[fix] gdb.py signal handler for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
jschultz-dk authored and salkinium committed Dec 7, 2021
1 parent bea7f08 commit 80579aa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tools/modm_tools/gdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,15 @@

import os
import subprocess
import signal

def signal_handler(sig, frame):
pass

if __name__ == "__main__":
import sys
sys.path.append(os.path.dirname(os.path.dirname(__file__)))
signal.signal(signal.SIGINT, signal_handler)

from modm_tools import utils, backend as bem
from modm_tools import openocd, crashdebug, bmp
Expand Down

0 comments on commit 80579aa

Please sign in to comment.