zephyr/scripts
Martí Bolívar 2024fb531a scripts: runners: fix blackmagicprobe SIGINT behavior
The blackmagicprobe runner's Python process fails to ignore SIGINT
when it runs GDB from the debug and flash callbacks, which is wrong.

The other runners tend to use run_server_and_client() to properly
handle this, since they start a GDB server and connect to it with a
client. The BMP USB device presents itself as a serial device which
speaks the GDB serial protocol instead, so there's no server/client,
and thus no call to run_server_and_client().

The problem is that blackmagicprobe essentially uses
subprocess.check_call() to start GDB directly, without ignoring SIGINT
in the python process. Easy fix.

Fixes: #21139

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2019-12-03 14:15:30 -06:00
..
checkpatch kernel: rename NANO_ESF 2019-07-25 15:06:58 -07:00
ci ci: cleanup test manifests 2019-10-11 20:05:03 +02:00
coccinelle scripts/coccinelle: add k_thread create/define to timeout standardization 2019-10-09 08:38:10 -04:00
dts scripts: dts: Add new chosen declaration for the IPC shared memory 2019-11-20 19:29:06 +01:00
footprint scripts: footprint: Fix pylint warnings 2019-09-14 13:35:08 +08:00
gitlint zephyr_commit_rules.py: Fix pylint warning by simplifying conditional 2019-09-08 22:19:37 -04:00
kconfig kconfig: Update Kconfiglib and use new helpers in kconfig.py 2019-11-07 15:34:09 +01:00
release scripts: add script for listing closed bugs 2019-10-22 15:11:09 -04:00
sanity_chk sanitycheck: Add functions to query device tree for filters 2019-11-04 09:02:14 -05:00
support scripts: Simplify code with sys.exit(<string>) 2019-09-08 12:34:16 +02:00
west_commands scripts: runners: fix blackmagicprobe SIGINT behavior 2019-12-03 14:15:30 -06:00
.gitignore
checkpatch.pl dts: import vendor-prefixes.txt from linux kernel 2019-05-22 12:40:20 -04:00
checkstack.pl
coccicheck docs: fix misspelling across the tree 2019-06-19 15:34:13 -05:00
dir_is_writeable.py license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
elf_helper.py scripts: elf_helper.py: fix C++ template constexpr value processing 2019-09-17 20:49:34 +08:00
file2hex.py file2hex.py: new --gzip-mtime option that defaults to zero + test 2019-04-17 08:27:40 -04:00
filter-known-issues.py filter-known-issues.py: Remove '== True' test 2019-09-08 22:20:20 -04:00
gen_app_partitions.py scripts: Fix random typo'd whitespace 2019-09-07 07:54:17 -04:00
gen_cfb_font_header.py scripts: Fix random typo'd whitespace 2019-09-07 07:54:17 -04:00
gen_gcov_files.py gen_gcov_files.py: Replace bare 'except' with 'except Exception' 2019-09-07 07:58:16 -04:00
gen_kobject_list.py drivers: eeprom: add API for EEPROM devices 2019-11-07 16:32:15 -05:00
gen_offset_header.py scripts: python: cleanup script and fix PEP8 issues 2018-01-03 19:03:41 -05:00
gen_priv_stacks.py scripts: Simplify code with sys.exit(<string>) 2019-09-08 12:34:16 +02:00
gen_relocate_app.py headers: Refactor kernel and arch headers. 2019-11-06 16:07:32 -08:00
gen_syscall_header.py userspace: Support for split 64 bit arguments 2019-09-12 11:31:50 +08:00
gen_syscalls.py kernel: rename z_arch_ to arch_ 2019-11-07 15:21:46 -08:00
mergehex.py scripts: mergehex: Add --overlap argument 2019-05-16 07:16:55 -05:00
parse_syscalls.py userspace: add additional script documentation 2019-03-12 08:37:58 +01:00
process_gperf.py scripts: Simplify code with sys.exit(<string>) 2019-09-08 12:34:16 +02:00
requirements.txt scripts/requirements: update PyYAML to >=5.1 2019-11-05 08:30:30 -05:00
sanitycheck sanitycheck: fix parsting tests from source files 2019-11-25 21:43:22 -05:00
series-push-hook.sh scripts: fix path issue in push-hook script 2019-03-13 11:59:38 -05:00
spelling.txt scripts: updated spelling.txt file 2017-07-14 12:57:40 +03:00
subfolder_list.py cmake: Encode and decode in UTF-8 in build system 2019-07-18 16:50:08 +02:00
tags.sh scripts: fix tags.sh to current source tree 2018-01-15 18:30:28 -05:00
valgrind.supp lvgl: Suppress memory leak errors detected by valgrind 2019-10-21 12:26:35 -07:00
west-commands.yml west: Add completion command 2019-05-10 13:08:27 +02:00
zephyr_module.py cmake: ensure zephyr_module.py creates posix path output for cmake 2019-11-06 16:18:43 +01:00