From patchwork Wed Aug 14 14:41:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Tromey X-Patchwork-Id: 34085 Received: (qmail 65072 invoked by alias); 14 Aug 2019 14:41:36 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 65059 invoked by uid 89); 14 Aug 2019 14:41:35 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-22.6 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy=HContent-Transfer-Encoding:8bit X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 14 Aug 2019 14:41:34 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id A9E7256074; Wed, 14 Aug 2019 10:41:32 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id iIcoNyl5HhKC; Wed, 14 Aug 2019 10:41:32 -0400 (EDT) Received: from murgatroyd.Home (97-122-178-82.hlrn.qwest.net [97.122.178.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by rock.gnat.com (Postfix) with ESMTPSA id 55A0C56071; Wed, 14 Aug 2019 10:41:32 -0400 (EDT) From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [FYI] Fix gdb build on macOS Date: Wed, 14 Aug 2019 08:41:30 -0600 Message-Id: <20190814144130.10156-1-tromey@adacore.com> MIME-Version: 1.0 Internal testing showed that the macOS port did not build. The breakage was caused by the patch to remove the gdbarch.h include from defs.h. This patch fixes the problem. gdb/ChangeLog 2019-08-14 Tom Tromey * darwin-nat.c: Include gdbarch.h. * darwin-nat-info.c: Include gdbarch.h. --- gdb/ChangeLog | 5 +++++ gdb/darwin-nat-info.c | 1 + gdb/darwin-nat.c | 1 + 3 files changed, 7 insertions(+) diff --git a/gdb/darwin-nat-info.c b/gdb/darwin-nat-info.c index 103ac2a9773..4469cd52136 100644 --- a/gdb/darwin-nat-info.c +++ b/gdb/darwin-nat-info.c @@ -34,6 +34,7 @@ #include "value.h" #include "gdbcmd.h" #include "inferior.h" +#include "gdbarch.h" #include diff --git a/gdb/darwin-nat.c b/gdb/darwin-nat.c index f890e13944c..8f71def069d 100644 --- a/gdb/darwin-nat.c +++ b/gdb/darwin-nat.c @@ -37,6 +37,7 @@ #include "arch-utils.h" #include "bfd.h" #include "bfd/mach-o.h" +#include "gdbarch.h" #include #include