We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, this book is great, but I have an Apple Silicon (M1) computer and brew install gdb fails with:
brew install gdb
$ brew install gdb gdb: The x86_64 architecture is required for this software. Error: gdb: An unsatisfied requirement failed this build
It seems that gdb is just not supported on Apple Silicon computers.
I'm new to gdb, lldb, and debuggers. It'd be cool if the QEMU chapter showed how to use lldb to debug embedded Rust apps. Thank you!
The text was updated successfully, but these errors were encountered:
I'm not sure how it works under the hood, but QEMU and hardware debugging works if you use VS Code + cortex-m-quickstart + these instructions:
https://christopherjmcclellan.wordpress.com/2019/12/31/debugging-rust-cortex-m-with-vs-code-take-2/
Sorry, something went wrong.
Using arm-none-eabi-gdb instead of gdb works for me. It's installed with arm-none-eabi-gcc. See https://docs.rust-embedded.org/book/intro/install/macos.html
arm-none-eabi-gdb
gdb
arm-none-eabi-gcc
lldb worked for me thanks by this stack overflow comment
lldb
No branches or pull requests
Hi, this book is great, but I have an Apple Silicon (M1) computer and
brew install gdb
fails with:It seems that gdb is just not supported on Apple Silicon computers.
I'm new to gdb, lldb, and debuggers. It'd be cool if the QEMU chapter showed how to use lldb to debug embedded Rust apps. Thank you!
The text was updated successfully, but these errors were encountered: