nrf51: Add nop_function as halt_poll. (#517)
Otherwise "tar ext ...; mon s; att 2; quit", start new gdb "tar ext ..." crashes, at least on pc-hosted platforms.
This commit is contained in:
parent
6663da7ff5
commit
609e6b135d
|
@ -395,6 +395,7 @@ void nrf51_mdm_probe(ADIv5_AP_t *ap)
|
|||
t->reset = (void*)nop_function;
|
||||
t->halt_request = (void*)nop_function;
|
||||
//t->halt_poll = mdm_halt_poll;
|
||||
t->halt_poll = (void*)nop_function;
|
||||
t->halt_resume = (void*)nop_function;
|
||||
|
||||
target_add_commands(t, nrf51_mdm_cmd_list, t->driver);
|
||||
|
|
Loading…
Reference in New Issue