From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by sourceware.org (Postfix) with ESMTPS id 48B0B385EC56 for ; Tue, 25 Aug 2020 15:47:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 48B0B385EC56 Received: by mail-ej1-x633.google.com with SMTP id o18so17196009eje.7 for ; Tue, 25 Aug 2020 08:47:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=7a1zo7LPcDdc8J0GungUM4w1Q1HauP7HlvaKFhivUPw=; b=B5LHwbFoGvrm6MqEAJUbzttxLMhey9L/kEGAw8YT4NfoF3RBl/YFcvBtbCCbmB9I2P myfm08qqkEIUCxgoMEm5aVxv+ZTsGVGVFWfRbiLWYz6oLxGGehQnATtonFaH2Wngkwlw MYJN0QghepyI9526FZVHEebiBnFHAxvH+kK8+Cs82s2QNk1lZVgJuWYCma3mdv+bqRV0 DG/lNsknUtDPg93UkObznVqG+SskT6LiPTVKJyzarGuWNemCEXe5cQaYsLFBrfiRf6su /4hPnp0KPlHOapBsRatDclmj0Tx/tkC1PgGO4Afx8ZvRbP77ChCggx4D0DF4iHEAHyNk jejg== X-Gm-Message-State: AOAM531gFOP4zwESmQir3cyeYhncoLOUWt+otl1fdRhGvY98zgovOW3P 7U4oOReU1YUlmQF0QzvEUV+hn9usbyDKPIfr X-Google-Smtp-Source: ABdhPJyVrJ4XghiRDbK2aK7ObVukea4qWykHMR2MMAGGFwTgyjYoum2jaTgaUlN9Y/v2CEbvETD36g== X-Received: by 2002:a17:906:4dd4:: with SMTP id f20mr11892819ejw.170.1598370432086; Tue, 25 Aug 2020 08:47:12 -0700 (PDT) Received: from atlantis.home ([2a03:1b20:3:f011::6d]) by smtp.gmail.com with ESMTPSA id yh29sm13091713ejb.0.2020.08.25.08.47.11 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Aug 2020 08:47:11 -0700 (PDT) From: Shahab Vahedi To: gdb-patches@sourceware.org Cc: Shahab Vahedi , Shahab Vahedi , Simon Marchi , Tom Tromey , Eli Zaretskii , Anton Kolesov , Francois Bedard Subject: [PUSHED 2/4] arc: Add inclusion of "gdbarch.h" in "arc-tdep.h" Date: Tue, 25 Aug 2020 17:47:02 +0200 Message-Id: <20200825154704.29312-3-shahab.vahedi@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200825154704.29312-1-shahab.vahedi@gmail.com> References: <20200326125206.13120-1-shahab.vahedi@gmail.com> <20200825154704.29312-1-shahab.vahedi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2020 15:47:14 -0000 From: Shahab Vahedi The "arc-tdep.h" makes use of definitions in "gdbarch.h", but it does not include it explicitly. I have piggy backed this fix in another commit [1], but I was asked to do it separately [2]. [1] arc: Add hardware loop detection https://sourceware.org/pipermail/gdb-patches/2020-July/170800.html [2] Simon's remarks to "arc: Add hardware loop detection" https://sourceware.org/pipermail/gdb-patches/2020-August/170993.html gdb/ChangeLog: * arc-tdep.h: Include "gdbarch.h". --- gdb/ChangeLog | 4 ++++ gdb/arc-tdep.h | 1 + 2 files changed, 5 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ec936d7ccd4..c7e8cfd3bf6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2020-08-25 Shahab Vahedi + + * arc-tdep.h: Include "gdbarch.h". + 2020-08-25 Shahab Vahedi * arch/arc.h diff --git a/gdb/arc-tdep.h b/gdb/arc-tdep.h index 6ca759a661d..5968abd4600 100644 --- a/gdb/arc-tdep.h +++ b/gdb/arc-tdep.h @@ -23,6 +23,7 @@ /* Need disassemble_info. */ #include "dis-asm.h" +#include "gdbarch.h" #include "arch/arc.h" /* To simplify GDB code this enum assumes that internal regnums should be same -- 2.28.0