Arduino: Binary for gdb.exe in toolchain

Created on 21 Feb 2016  路  11Comments  路  Source: esp8266/Arduino

The toolchain download for windows version 1.20.0-26-gb404fb9-2
http://arduino.esp8266.com/win32-xtensa-lx106-elf-gb404fb9-2.tar.gz

Does not contain the xtensa-lx106-elf-gdb.exe

Is there a location where I can download the gdb.exe binary ?

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

tools

Most helpful comment

Still waiting for a fix for this

All 11 comments

check out @kireevco builds they include gdb.
https://github.com/kireevco/esp-alt-sdk
https://bintray.com/kireevco/generic/esp-alt-sdk/view

@igrr may we update the tool chain to this?

As far as i can tell, there is an issue with gdb in esp-alt-sdk: https://github.com/kireevco/esp-alt-sdk/issues/23. Once it is resolved, we can switch to these toolchain builds.

@igrr it has been over a year and a half, and the referenced issue is still open in the other repo. Do we still want to use that repo? What alternatives are there?
BTW, I'd love to move to a newer toolchain, if at all possible.

I think we can try moving at least to gcc 5.2.0. I have CI environment set up for it here, so we don't need esp-alt-sdk repo linked above to build the tools.

Still waiting for a fix for this

In the meantime, you can download the toolchain from http://arduino.esp8266.com/win32-xtensa-lx106-elf-gb404fb9-2.tar.gz and extract the xtensa-lx106-elf-gdb.exe file to C:\Usersxxx\AppData\Local\Arduino15\packages\esp8266\toolsxtensa-lx106-elf-gcc1.20.0-26-gb404fb9-2\bin

@VirtualGit that archive does not contain GDB.

I continued the development of @kireevco a bit. You can find it on github. However, it still has not reached a stable version.
If you want to create it yourself, different versions (eg GCC or GDB) can be easily used.
@igrr, I still wait to see your CI environment for the SDK. 馃憤

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

GDB for Win32 and Win64 hosts is in via #5376 . ACtually supporting GDB debugging will be a 2.6.0 thing. Closing this part of the issues.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dariopb picture dariopb  路  3Comments

Chagui- picture Chagui-  路  3Comments

rudydevolder picture rudydevolder  路  3Comments

gosewski picture gosewski  路  3Comments

Marcelphilippeandrade picture Marcelphilippeandrade  路  3Comments