From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x642.google.com (mail-ej1-x642.google.com [IPv6:2a00:1450:4864:20::642]) by sourceware.org (Postfix) with ESMTPS id 2B2ED3861034 for ; Tue, 4 Aug 2020 08:58:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 2B2ED3861034 Received: by mail-ej1-x642.google.com with SMTP id jp10so14996958ejb.0 for ; Tue, 04 Aug 2020 01:58:00 -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=uGzM5inJgvep3g7ZeMchxAmZQYtRGjESXy81Ro/wQuE=; b=WBMnMQTv7OThrSIJvYCF+XM6yqA1Oj/HcWa8ElvWnkc2CtqH+3dREx7amryP1OSMIz /ZyM8zFKXPKmfKLvGzVDc4yJXgO/gAt9zyRLgnD5RzXTlXisStLjkRnOKlkvfKEHLy0l AxNbX5WZQkHymzFra/pYuwVRH14jPXujMHmnZXEpM1uftTdECQ8Tph1bmoUvwo+dPtqS Q9cS4pEsppY4rfsnQNClim/2wmIZxyQJDs2l52kOiOr7u9/D9FnJ6DRN8DrHh08qPrv0 d9yx4clBAHbnYV6LvGBlx4tzoFIEE25dAZ1zVysLcGarV63UkhYymWgR7n5jIcXlY4Ow j1gg== X-Gm-Message-State: AOAM532QBgAMA2sI7l6bSaop9rjin3N9e4cehw3ZuKmiymn1laNZxQT/ ZSoSseLpoyK2vRZ0ouaMsUqlbt1RCmM= X-Google-Smtp-Source: ABdhPJz7WUVWNZPxDJbjPntc9bv019T8+V/ttvPCy9h7jUPeai/3kvHfsXR2IXnWJsnQDIKiRvKj3Q== X-Received: by 2002:a17:906:3b45:: with SMTP id h5mr20007769ejf.136.1596531479035; Tue, 04 Aug 2020 01:57:59 -0700 (PDT) Received: from atlantis.home ([2a03:1b20:3:f011::6d]) by smtp.gmail.com with ESMTPSA id ca3sm13457334edb.72.2020.08.04.01.57.57 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Aug 2020 01:57:58 -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: [PATCH v5 2/4] arc: Add inclusion of "gdbarch.h" in "arc-tdep.h" Date: Tue, 4 Aug 2020 10:57:40 +0200 Message-Id: <20200804085742.1458-3-shahab.vahedi@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200804085742.1458-1-shahab.vahedi@gmail.com> References: <20200326125206.13120-1-shahab.vahedi@gmail.com> <20200804085742.1458-1-shahab.vahedi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.9 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, 04 Aug 2020 08:58:01 -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/arc-tdep.h | 1 + 1 file changed, 1 insertion(+) 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