2 changed files with 48 additions and 2 deletions
@ -1,7 +1,21 @@ |
|||||||
target remote :3333 |
target remote :3333 |
||||||
mon reset halt |
|
||||||
|
# Don't let GDB get confused while stepping |
||||||
|
define hook-step |
||||||
|
mon cortex_m maskisr on |
||||||
|
end |
||||||
|
define hookpost-step |
||||||
|
mon cortex_m maskisr off |
||||||
|
end |
||||||
|
|
||||||
|
mon init |
||||||
|
mon stm32_init |
||||||
|
# mon reset halt |
||||||
mon poll |
mon poll |
||||||
mon cortex_m maskisr auto |
mon cortex_m maskisr auto |
||||||
set mem inaccessible-by-default off |
set mem inaccessible-by-default off |
||||||
set print pretty |
set print pretty |
||||||
source Debug/PX4 |
source Debug/PX4 |
||||||
|
|
||||||
|
echo PX4 resumed, press ctrl-c to interrupt\n |
||||||
|
continue |
||||||
|
Loading…
Reference in new issue