commit | c15dfa73e84c8d753d5359299894640e25333582 | [log] [tgz] |
---|---|---|
author | Octavian Purdila <tavip@google.com> | Wed Aug 16 21:01:57 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Aug 16 21:01:57 2023 +0000 |
tree | 55a109b27d6ef3f8d3255ac1ced288ee00e530fd | |
parent | d1bb1fa109d221da35a36c0b0d2b0dd709a43092 [diff] |
pw_env_setup: arm-gdb: propagate errors Currently errors from the arm-none-eabi-gdb real binary are silenced in the wrapper and this makes it hard to debug issues when using arm-none-eabi-gdb in scripts. This change changes the wrapper behavior to propagate run errors from the real arm-none-eabi-gdb. Don't use exceptions (i.e. set check to False for subprocess.run) to avoid obfuscating the output. Also, use the standard signal.SIG_IGN instead of the the custom empty lambda for ignoring interrupt signals. Change-Id: Ifd45b95d3f44901004926b8898bb8d1f61d93d69 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/165411 Reviewed-by: Anthony DiGirolamo <tonymd@google.com> Commit-Queue: Octavian Purdila <tavip@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.