xtensa-esp32-elf-gdb compiled using --with-python

wmattias
Posts: 4
Joined: Wed Jun 14, 2023 2:57 pm

xtensa-esp32-elf-gdb compiled using --with-python

Postby wmattias » Fri Jul 07, 2023 10:53 am

Hi,

The standard xtensa-esp32-elf-gdb that ships with esp-idf appears to be compiled without Python API support.
Would be great to have this by default as it's a great help when automating debugging or creating custom extensions, but in the meantime:

I can't seem to be able to locate the sourcecode for xtensa-esp32-elf-gdb (so that I can recompile it with Python API support). Is it available somewhere?

ESP_igrr
Posts: 2071
Joined: Tue Dec 01, 2015 8:37 am

Re: xtensa-esp32-elf-gdb compiled using --with-python

Postby ESP_igrr » Fri Jul 07, 2023 6:52 pm

Hi wmattias,

Recent GDB releases we publish at https://github.com/espressif/binutils-gdb/releases come with several binaries built for different versions of Python. The source code they are built from is available in the same repository.

(The links to GDB, GCC and other repositories are available in this section of the programming guide: https://docs.espressif.com/projects/esp ... -idf-tools)

If you are using recent versions of IDF (v5.0 or later) then this GDB built with Python support should already get installed. If that's not happening, or if Python support is not working, please share more information about your system.

Who is online

Users browsing this forum: bfredo123 and 83 guests