public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/30214] New: GDB 13.1 does not compile on FreeBSD 13.1
@ 2023-03-09  3:19 chrisj at rtems dot org
  2023-03-09  3:24 ` [Bug gdb/30214] " tromey at sourceware dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: chrisj at rtems dot org @ 2023-03-09  3:19 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=30214

            Bug ID: 30214
           Summary: GDB 13.1 does not compile on FreeBSD 13.1
           Product: gdb
           Version: 13.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: chrisj at rtems dot org
  Target Milestone: ---

Created attachment 14742
  --> https://sourceware.org/bugzilla/attachment.cgi?id=14742&action=edit
FreeBSD 13 include path fix

If the binutils package is install GDB 13.1 does not compile when building an
ARM GDB for RTEMS. The error is:

 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
 ^

The binutils package is:

 $ pkg which /usr/local/include/diagnostics.h
 /usr/local/include/diagnostics.h was installed by package binutils-2.37_2,1

The attached patch from John resolved the problem.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

end of thread, other threads:[~2023-03-10 20:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-09  3:19 [Bug gdb/30214] New: GDB 13.1 does not compile on FreeBSD 13.1 chrisj at rtems dot org
2023-03-09  3:24 ` [Bug gdb/30214] " tromey at sourceware dot org
2023-03-09  8:40 ` mark at klomp dot org
2023-03-09 21:57 ` chrisj at rtems dot org
2023-03-10 14:40 ` tromey at sourceware dot org
2023-03-10 20:05 ` cvs-commit at gcc dot gnu.org
2023-03-10 20:09 ` cvs-commit at gcc dot gnu.org
2023-03-10 20:10 ` jhb at FreeBSD dot org

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).