rust-embedded / discovery

Discover the world of microcontrollers through Rust!
https://docs.rust-embedded.org/discovery/
Apache License 2.0
1.49k stars 515 forks source link

Why can't I use gdb even though I set up the environment according to the build manual? Please help me. #543

Open A-Kuan opened 1 year ago

A-Kuan commented 1 year ago

question:

zsh: command not found: gdb

operating system:

macOS Sonoma 14.0

The results show that I have indeed installed it.

wenshihuang@Wenshis-MBP 05-led-roulette % brew install arm-none-eabi-gdb ==> Downloading https://formulae.brew.sh/api/formula.jws.json

O=-

==> Downloading https://formulae.brew.sh/api/cask.jws.json

O=-

Warning: arm-none-eabi-gdb 13.2 is already installed and up-to-date. To reinstall 13.2, run: brew reinstall arm-none-eabi-gd

please help me~

rossheat commented 10 months ago

Try running:

arm-none-eabi-gdb target/thumbv7em-none-eabihf/debug/led-roulette