-
Notifications
You must be signed in to change notification settings - Fork 515
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
Chapter 05: Cannot see source code when starting gdb #511
Comments
The led-roulette elf file is not in 05-led-roulette folder, it's in microbit floder
|
Fixed in #520 |
I just downloaded the latest commit and still have the same problem. Any ideas? I completely recompiled the binary by deleting the build directories I tried with both paths: using symlink and with the two upper directories ../../ BTW Remote debugging using :1337 instead of what the book says. The microbit embed process writes the following messages: are they suggesting you anything? Looks like some of the messages from GDB are not understood
|
Not sure about the noise you get after setting the debug target to port 1337, but I fixed this by using 'continue' after setting the breakpoint on main. After issuing 'continue' use 'layout src'. |
I tried to execute the code in GDB on Manjaro.
Compilation completes successfully and gdb-multiarch is installed
When I launch the gdb it writes:
Reading symbols from target/thumbv6m-none-eabi/debug/led-roulette...
so I guess it should be working.
It connects with "target remote :1337" but looks like it does not find symbols
Remote debugging using :1337
0xffffffff in ?? ()
When I try to use "list src" TUI writes "[No source available]"
Any suggestion?
The text was updated successfully, but these errors were encountered: