rust-embedded / cortex-m-quickstart

Template to develop bare metal applications for Cortex-M microcontrollers
791 stars 164 forks source link

Update .gdbinit to prevent infinite recursion in GDB #65

Closed thejpster closed 5 years ago

thejpster commented 5 years ago

In some circumstances (https://github.com/rust-embedded/cortex-m-rt/issues/139) GDB goes into an infinite loop printing a backtrace.

We should update .gdbinit to set a limit to the backtrace length to prevent this.

korken89 commented 5 years ago

SGTM, can you make a PR?