Skip to content
New issue

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

Can i debug the raspberry pi os on the qemu and gdb? if it does, please tell me how to use it, thanks! #244

Open
Zhao233 opened this issue Dec 4, 2021 · 2 comments

Comments

@Zhao233
Copy link

Zhao233 commented Dec 4, 2021

No description provided.

@cuijier
Copy link

cuijier commented May 20, 2022

you can run qemu like this
qemu-system-aarch64 -machine raspi3 -nographic -kernel kernel.img -S -s
where -S -s Means use debug. the default port is 1234.
the you can use

gdb-multiarch
target remote :1234

to attach it.

@Zhao233
Copy link
Author

Zhao233 commented May 25, 2022

Thank you so much!!!! I will try it !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants