-
Notifications
You must be signed in to change notification settings - Fork 7.3k
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
xtensa-esp32-elf-gdb dependency on libpython2.7 (IDFGH-4510) #6334
Comments
@KaeLL could you please mention, which OS are you using? Can you run In both cases you have posted, it seems that GDB process is returning with an error immediately. |
Kubuntu 20.04
|
Perhaps it is the same issue as was reported in #5284? Could you try installing libpython2.7? |
@KaeLL |
@dobairoland it does. |
Reopening as the linked docker related issue #5284 is now closed, and we don't have a fix for local installations on Linux yet. |
To make this issue easier to find: linux builds of riscv32-esp-elf-gdb are affected by the same problem. |
@igrr any ETA on this? Toolchain just got updated, and still no sign of a fix. |
Hi @KaeLL, I'm sorry it's not fixed in this release yet. We have started working on separating GDB from the rest of the toolchain and fixing Python support (including Mac and Linux platforms) at the same time. I think we will get the initial version released before the end of year. |
yall got any more of them bugfixes? |
I hit this issue on Ubuntu 21.10, running application on esp32c3 with v5.0-dev-1689-g66593bf140. b'riscv32-esp-elf-gdb: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory\n' |
Hi folks, @mrklkrl, @AxelLin, @KaeLL good news: we have GDB with python support in pre-release state You could get it from here https://github.com/espressif/binutils-gdb/releases/tag/esp-gdb-v11.1_20220318 P.s: It would be nice to hear your feedback on the new GDB release here :) |
Awesome. Now, if any efforts could be directed towards fixing #6124, it would be perfect. |
@Lapshin will this be backported to any of the release/v4.X branches? It's a fix after all, isn't it? |
@KaeLL , sorry for the long delay. The backport for release/v4.4 will be available soon after the internal testing |
GDB now is standalone tool separated from toolchain due to frequent updates. Added installation tests for the new tool. Coredump tests are changed because they were wrong, see explanation: esp32 objdump: 40084290 <esp_crosscore_int_send_yield>: ...... /builds/espressif/esp-idf/components/esp_system/crosscore_int.c:145 4008429c: 000090 retw With previous GDB backtrace was: #0 0x4008429c in esp_crosscore_int_send_yield (core_id=0) at /builds/espressif/esp-idf/components/esp_system/crosscore_int.c:144 This commit fixes the backtrace with the right line number: #0 0x4008429c in esp_crosscore_int_send_yield (core_id=0) at /builds/espressif/esp-idf/components/esp_system/crosscore_int.c:145 Other tests changes have the same cause of fixing. Closes #6334
@Lapshin Hey, any news of the backporting of the Python3 compatible GDP to 4.x ? |
Hi @StarGate01 , esp-idf version 4.4.4 has esp-gdb-v11.2_20220823 which supports Python from version 3.6 to 3.10 |
Title.
I'm building my code against IDF v4.1, and when I try to run espcoredump on it, it doesn't f work.
Running b015061 espcoredump on it yields this:
And both v4.1 and v4.2 yield this:
There's nothing wrong with the coredump file, I even hexdump'ed it to make sure.
The text was updated successfully, but these errors were encountered: