Several debugging scripts run setsid before executing a server process, then run GDB with SIGINT ignored. Relying on setsid is not portable. Add a popen_ignore_int() helper that provides a portable alternative, and provide a generic run_server_and_client() in ZephyrBinaryRunner which uses it to abstract the pattern. Subsequent patches will use this to implement the 'debug' command. Signed-off-by: Marti Bolivar <marti.bolivar@linaro.org> |
||
|---|---|---|
| .. | ||
| arc_debugger.sh | ||
| arc-helper.py | ||
| bossa-flash.sh | ||
| dfuutil.sh | ||
| esp32.sh | ||
| jlink.sh | ||
| nios2.sh | ||
| nrf_flash.sh | ||
| openocd.sh | ||
| pyocd.sh | ||
| qemu.sh | ||
| quartus-flash.py | ||
| xt-gdb.sh | ||
| zephyr_flash_debug.py | ||