Giter Site home page Giter Site logo

Comments (4)

igrr avatar igrr commented on August 29, 2024

We are now releasing GDB separately from the rest of the toolchain, to allow more frequent updates. You can find GDB releases here: https://github.com/espressif/binutils-gdb/releases

from crosstool-ng.

gudvinr avatar gudvinr commented on August 29, 2024

In 11.2 and earlier GDB was included in toolchain package and included in toolchain-xtensa-esp32 platformio package too. I assume it's the same for esp32s2, esp32s3, etc.

But those packages now don't have gdb since 12.2 and there are no separate packages for gdb (at least not in the pio registry).

from crosstool-ng.

markand avatar markand commented on August 29, 2024

Hi,

I've faced the same issue, I was a bit surprised because crosstool-ng already builds binutils-gdb. Is there a way to make it build gdb as well? I've tried building espressif's fork of binutils-gdb with --target xtensa-esp32s3-elf as option but it builds more than gdb and replaced various toolchain files like -as, -ld and broke my toolchain. Trying to build a project for esp32s3 ended up with an error like "toolchain is little-endian but target is big-endian" which obviously looks wrong.

I know that building from source is not the official way of doing ESP development but sometimes may be needed for alternative platforms/libc's (e.g. musl on aarch64).

Can we can some directions on how to build just the gdb part for a single target in binutils-gdb fork?

Thanks.

from crosstool-ng.

Lapshin avatar Lapshin commented on August 29, 2024

@markand , sorry for the long delay. I hope the comment #50 (comment) can help you understand the changes after 12.2 release.

To build gdb you can refer to https://github.com/espressif/binutils-gdb repo and it's build script

from crosstool-ng.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.