From patchwork Fri Dec 16 11:22:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 634418 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp739988pvb; Fri, 16 Dec 2022 03:24:31 -0800 (PST) X-Google-Smtp-Source: AA0mqf7OJ207kH6ibJIpRcJyP8ciNdAbERZWsIAfvaxrWtasYHpm7LbkcFqvcndfhUgX3eSlVgRm X-Received: by 2002:a0c:e7c2:0:b0:4c7:1806:b8ca with SMTP id c2-20020a0ce7c2000000b004c71806b8camr37891938qvo.39.1671189870911; Fri, 16 Dec 2022 03:24:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671189870; cv=none; d=google.com; s=arc-20160816; b=mUogujeqQkqeJXL2iXua5phMAFxuwq3moftXL7hsNNUDQ1TL3BNdwhXK1HB4/Y+b38 8BntCD5uL4mNMa6LYjkgsQQTHxJdkchOChnI7JM+ulSVjP3u1N7DpFC0Lz+dV0ivFJ7i LbYbQ2boHyKrjdIi0HNVPmi6TKz6KZUUCpjc5y3C+XMeq7RB5QI38TUWnNA6TH+bqu3J hpNKVQhRAPdtCxd7l7gj47oXNdAUyslmSYYId2C8JwWsp255GFQU0oWRg24zUQiQ7MI1 cEBZFGk9rhxcaoXmFmBgYGWUS9/UXlnhgFtJZj3CLXfMSdsGwnoID6K8o7LSPUd2R/5L 7Jlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=/7dX4oW2bf7HAdMmJshzEuL5X8vSI7l3I3jBaCAsCrI=; b=RVU8yEyEhp/Y86QexUh8cOz7l15D/Awpm2UVw362aMkxIibjKHES3e0GC3Hrh+TnqE shGGGYZSLSxFpExjPNAduphUyrFkDR1IggTw1CBoh61CFCUWUenUXwB5devtODiUP3Nb Q1ifPPc4mZBMFIb94bFn+XdCJVR+3fGfdZ5FhhXyaYo3x12r+ZTGtkAMFv/jrtA2lY4z pnDttErcxf0xB74l2QKSq4ekrbSHiCeOIogH2f3L4lsoVdHzv5Hpa0Jqsz50eIerHBJD sNqJRzeGwUIp/e9yhl6016MsIWtfa98clOJHR4FQ63pu/GCBAYBuEZ8pz13DRLt0+LPx PCXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NvjmaokL; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id f13-20020a056214076d00b004ac8e07a32dsi971975qvz.103.2022.12.16.03.24.30 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 16 Dec 2022 03:24:30 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NvjmaokL; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p68nA-000247-Li; Fri, 16 Dec 2022 06:22:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p68n8-00022e-AK for qemu-devel@nongnu.org; Fri, 16 Dec 2022 06:22:14 -0500 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p68n6-00067r-1K for qemu-devel@nongnu.org; Fri, 16 Dec 2022 06:22:13 -0500 Received: by mail-wm1-x32b.google.com with SMTP id ay14-20020a05600c1e0e00b003cf6ab34b61so3888783wmb.2 for ; Fri, 16 Dec 2022 03:22:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=/7dX4oW2bf7HAdMmJshzEuL5X8vSI7l3I3jBaCAsCrI=; b=NvjmaokLKYzq3cR4NhKE1XQGU1VPnimJzc3atR9iUrVWhZ9eS8NJRzK17mCOhlPgy6 TscSF/mNWdM7KF6jPnClFspFv1Rax8epYlghzNqTFqg3uNdaN3QgAloeGdvRy71GuNUv m/GOY7fVN0+CaWpjs6otwTL98pwtJxi5FxxNFXUpkcqZUm/S6dgK3i62y0hUxMiG7769 iGJB3NG3ivHfGfyS3IwRkYEYSxsqhskngXun50Bh7rPmRAwdZtal0Sh7OV4jSEVNzuqW PjWrrPvpi2D9wCepEIL3EVQ8VHkc4EPNzUN9aBrn/hA0rnW3Tf5NKdC9I2cK31jBrirj jTjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/7dX4oW2bf7HAdMmJshzEuL5X8vSI7l3I3jBaCAsCrI=; b=ifsHIEoWi4hkzOuX/kXqCkr9aKXY71FKInHfn4WbnBOF3/w9ZZcbS4HAN/fxhP8AxH 4l6LH70j77FPvEDbLd5kgS8eOeS605VXee5UFi6sU2EjaIqp2BTzdIR15Lu69BhsFV8e PmzaIWVd7M8DJ58XdmBhuS89j9us9X8wMTYgpY1CToviE6unP6dnNf7LWcpNA8q/64Fh twXeSG0kjWuYLSqOpNP/qEa2yNHKdYQVTnJlfLhf/NGs5PW7cQtLujIu/LfGTUeFv5HP NRFsfe7qdtha7MDgnpnPuh4d5lOxsiaaOuwTZ1ksva69vhJjAOPSKLt/l4KUBiTHGhLM 5jjQ== X-Gm-Message-State: ANoB5pmJicLiwyI2/oHF39E3s+WNYKhKevEgOj0Tm0jy68cLBATyot6U g4SuJGWdcoQ7bMS4sc2y+xhG+rZ0k5+Xp2ip X-Received: by 2002:a05:600c:4f51:b0:3cf:d18e:528b with SMTP id m17-20020a05600c4f5100b003cfd18e528bmr25603833wmq.39.1671189730544; Fri, 16 Dec 2022 03:22:10 -0800 (PST) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id k11-20020a05600c0b4b00b003c5571c27a1sm2590112wmr.32.2022.12.16.03.22.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Dec 2022 03:22:09 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id B216B1FFBF; Fri, 16 Dec 2022 11:22:07 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: f4bug@amsat.org, mads@ynddal.dk, =?utf-8?q?Alex_Benn=C3=A9e?= , =?utf-8?q?Philippe_M?= =?utf-8?q?athieu-Daud=C3=A9?= Subject: [PATCH v1 07/10] includes: add new gdbstub include directory Date: Fri, 16 Dec 2022 11:22:03 +0000 Message-Id: <20221216112206.3171578-8-alex.bennee@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221216112206.3171578-1-alex.bennee@linaro.org> References: <20221216112206.3171578-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32b; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org To avoid having a messy set of include files containing system and user APIs lets prepare for a cleaner layout. Signed-off-by: Alex Bennée --- include/gdbstub/common.h | 14 ++++++++++++++ include/gdbstub/user.h | 14 ++++++++++++++ MAINTAINERS | 1 + 3 files changed, 29 insertions(+) create mode 100644 include/gdbstub/common.h create mode 100644 include/gdbstub/user.h diff --git a/include/gdbstub/common.h b/include/gdbstub/common.h new file mode 100644 index 0000000000..f928dbc487 --- /dev/null +++ b/include/gdbstub/common.h @@ -0,0 +1,14 @@ +/* + * gdbstub common APIs + * + * Copyright (c) 2022 Linaro Ltd + * + * SPDX-License-Identifier: LGPL-2.0+ + */ + +#ifndef GDBSTUB_COMMON_H +#define GDBSTUB_COMMON_H + + + +#endif /* GDBSTUB_COMMON_H */ diff --git a/include/gdbstub/user.h b/include/gdbstub/user.h new file mode 100644 index 0000000000..53baba65ff --- /dev/null +++ b/include/gdbstub/user.h @@ -0,0 +1,14 @@ +/* + * gdbstub user-mode only APIs + * + * Copyright (c) 2022 Linaro Ltd + * + * SPDX-License-Identifier: LGPL-2.0+ + */ + +#ifndef GDBSTUB_USER_H +#define GDBSTUB_USER_H + + + +#endif /* GDBSTUB_USER_H */ diff --git a/MAINTAINERS b/MAINTAINERS index 6966490c94..c84d9299c3 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2698,6 +2698,7 @@ R: Philippe Mathieu-Daudé S: Maintained F: gdbstub/* F: include/exec/gdbstub.h +F: include/gdbstub/* F: gdb-xml/ F: tests/tcg/multiarch/gdbstub/ F: scripts/feature_to_c.sh