public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* GDB 13.1 and clang
@ 2023-03-08 20:07 Chris Johns
  2023-03-08 20:16 ` Andrew Pinski
  2023-03-08 20:22 ` Simon Marchi
  0 siblings, 2 replies; 12+ messages in thread
From: Chris Johns @ 2023-03-08 20:07 UTC (permalink / raw)
  To: gdb

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2023-03-09  7:07 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-08 20:07 GDB 13.1 and clang Chris Johns
2023-03-08 20:16 ` Andrew Pinski
2023-03-08 20:22 ` Simon Marchi
2023-03-08 21:22   ` Chris Johns
2023-03-08 21:36     ` Simon Marchi
2023-03-08 21:41       ` Chris Johns
2023-03-08 22:07         ` Joel Sherrill
2023-03-09  7:07       ` Eli Zaretskii
2023-03-08 22:53     ` John Baldwin
2023-03-09  2:15       ` Simon Marchi
2023-03-09  3:20         ` Chris Johns
2023-03-09  2:41       ` Chris Johns

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).