GDB 13.1 and clang
Chris Johns <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Organization | https://www.rtems.org/ |
| Message-ID | <[email protected]> |
Hi, I have just tried to build the latest RTEMS tools and we now use gdb 13.1. I am seeing a build failure on FreeBSD 13.1 of: In file included from ../../gdb-13.1/gdb/xml-tdesc.c:23: In file included from ../../gdb-13.1/gdb/target.h:42: In file included from ../../gdb-13.1/gdb/infrun.h:21: In file included from ../../gdb-13.1/gdb/gdbthread.h:26: In file included from ../../gdb-13.1/gdb/breakpoint.h:38: ../../gdb-13.1/gdb/target/waitstatus.h:113:1: error: use of undeclared identifier 'DIAGNOSTIC_ERROR_SWITCH' DIAGNOSTIC_ERROR_SWITCH ^ I only have clang installed on the FreeBSD machine. A quick review of include/diagnostics.h seems to show support for DIAGNOSTIC_ERROR_SWITCH only in the gcc area? Is this something I should raise a ticket for? Thanks Chris