commit | 15384b79c3873e4295ff08462278fd45c78b5ba2 | [log] [tgz] |
---|---|---|
author | Marti Bolivar <marti@foundries.io> | Mon Dec 17 17:33:44 2018 -0700 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Wed Dec 19 17:34:14 2018 +0100 |
tree | c9489c37c1e5848df01999dbc354f7da8165ee73 | |
parent | 95c7079433ad2f22f8e8919571664a53bd9ae3f3 [diff] |
scripts: west: fix 'west debug' We can't invoke west's main as a subprocess, or control-C from GDB in a 'west debug' will terminate the program. Import it and run main as a function in the same process instead. Clean up some cruft and remove unused code while we're here, to keep this file shorter. Signed-off-by: Marti Bolivar <marti@foundries.io>