Index | Thread | Search

From:
Joe Nelson <joe@begriffs.com>
Subject:
Update arm-none-eabi-gdb?
To:
ports@openbsd.org
Date:
Sun, 18 Aug 2024 11:09:44 -0500

Download raw body.

Thread
  • Joe Nelson:

    Update arm-none-eabi-gdb?

The port for arm-none-eabi-gdb is too old (7.12.1) to read the DWARF
format generated by arm-none-eabi-gcc (12.2.0). Can someone please
update the arm gdb to at least the version of devel/gdb (9.2)?

I know I can specify -gdwarf-2 when compiling my firmware, but libc and
libgcc themselves contain newer DWARF and spoil the final binary for
debugging. My current workaround is to strip debugging symbols from my
libc and libgcc, but ideally the system would have a newer
arm-none-eabi-gdb that's compatible with the other programs in
devel/arm-none-eabi.

I also tried to update the port locally to build from 9.2 sources, but
the port patches didn't apply cleanly.