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

Improve GDBStub documentation #2092

Closed
boguslawb opened this issue Jun 4, 2016 · 3 comments
Closed

Improve GDBStub documentation #2092

boguslawb opened this issue Jun 4, 2016 · 3 comments

Comments

@boguslawb
Copy link

boguslawb commented Jun 4, 2016

Can you prepare a tutorial (video of actual working task would be ideal) how exactly to use GDBStub to catch and backtrace exception ? I followed your description and found the same issues as here http://blog.squix.org/2016/04/esp8266-offline-debugging-with.html
gdb cannot attach to remote process, if I try directly attach to redirected I got invalid packet error in gdb, if I try to add line ((int*)0) = 0 then I cannot run device - it stuck on reset

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@tijnkooijmans
Copy link
Contributor

Same issue here, this is my output from xtensa-lx106-elf-gdb:

Reading symbols from /Users/tijn/Develop/minibrew-firmware/ESP8266/MiniBrewWifi/Builds/embeddedcomputing.elf...done.
Remote debugging using :9980
Ignoring packet error, continuing...
warning: unrecognized item "timeout" in "qSupported" response

@igrr igrr changed the title GDBStub not usable Improve GDBStub documentation Jun 23, 2016
@igrr igrr added this to the 2.4.0 milestone Jun 23, 2016
@igrr igrr modified the milestones: 2.4.0, 2.5.0 Dec 27, 2017
@earlephilhower earlephilhower modified the milestones: 2.5.0, 2.6.0 Nov 9, 2018
@earlephilhower
Copy link
Collaborator

GDB support seems to require both some toolchain fixes coupled with some libraries/GDBstub changes as well.

@earlephilhower
Copy link
Collaborator

This is done in PR #5559 where we have a new GDBStub and a writeup in the documentation directory. We'll track progress in that pull.

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

No branches or pull requests

4 participants