From patchwork Tue Mar 7 21:21:10 2023 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: 659847 Delivered-To: patch@linaro.org Received: by 2002:adf:a3c6:0:0:0:0:0 with SMTP id m6csp2605920wrb; Tue, 7 Mar 2023 13:23:22 -0800 (PST) X-Google-Smtp-Source: AK7set8AdPGQgdzyUDV4lrvmv9mjUXM2TZBPeB9yxO9ATBT5qTo21gDVFd3/KEb6RUHvhu2/L8wc X-Received: by 2002:ac8:5fca:0:b0:3bf:c6c4:8911 with SMTP id k10-20020ac85fca000000b003bfc6c48911mr28780904qta.5.1678224202718; Tue, 07 Mar 2023 13:23:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678224202; cv=none; d=google.com; s=arc-20160816; b=MH5CsdsabIq8iMRBc6zrRL29hH8Pund1B+8hBgpZ2F0m7rsQha8RWGTLw1w2JQUDGo h81fwl/MYVx2aPo/rZRforqu9nBaFHx0SQ/VVhk7kPz7IcvEOUrzsLXJyffnHAflzGOr fUmuEH16KLLZxF1ZpYqg+4NAA5sejOFcmF7GY+5qXaN+gOBNwYW33mU08wbjDVJaDNan o60ppdz9v7NTAF4Xi4ggHlVyXb8nkU0i2q3c2TX603dfFnWWQ0MC6W7X/TCqRwvGEUz3 gE+mS5P7c4toIGjEf500i6EYHdAnlciUqInpuKpYFW0Pf3BWWFu/rwJ5iWEC2WFuTUqf qHnw== 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=J32+kSfJwQwIWqiTJw+9OTa+IL/9v7+mOufRanr43cY=; b=J9h5LI2Oazd50I3uh0SZHEZndvFGXCR957I/fQWtMrubOqNL450fCARruGCo9bZFUa FhzpDrL6V3J+Z7iRSltzgcztXQEkHRXE7PuUT9SQ48Mar4JH2gY5+Jv/9l/UtoGgou0y r2q7mZ793XZQyw6cqKMdwYUwU0HdRXTq9cVZCHjv4PMp+rqIpDfn7Te51XD9+cSIby53 TCH8BlsOtUvIK5F+i9IXsH0c86JeEk3x4V1gnucZnDN8vfBbSXhaF552QRYryIDjPhwx XlFvQijCMt1GivG9c0w4d0INudSnf67HfuuI5V5mkV59pWBFfSRKHbXX6/H8ID/dH1Ny /Fdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XnCfOlvY; 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 d18-20020a05622a101200b003b8458c31fdsi10962651qte.286.2023.03.07.13.23.22 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 07 Mar 2023 13:23:22 -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=XnCfOlvY; 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 1pZekk-0001Xr-1k; Tue, 07 Mar 2023 16:21:46 -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 1pZeki-0001Sv-76 for qemu-devel@nongnu.org; Tue, 07 Mar 2023 16:21:44 -0500 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pZekg-000816-E0 for qemu-devel@nongnu.org; Tue, 07 Mar 2023 16:21:43 -0500 Received: by mail-wm1-x32c.google.com with SMTP id o11-20020a05600c4fcb00b003eb33ea29a8so8336wmq.1 for ; Tue, 07 Mar 2023 13:21:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678224100; 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=J32+kSfJwQwIWqiTJw+9OTa+IL/9v7+mOufRanr43cY=; b=XnCfOlvYXliZ+4SUCyEO+u+CFZXUjss6gwJBVtY9UgzQ7F4O06f5uzb4tCV1ySvOIL WP7CJZ9CFAj7Wwf+S4WLhcIDqokfZqJ7LzvGJbRZBEPx5st8WzOul/abpT35an9dHtS4 DvIu1zrCZmIyifq5CS4u9e66pPv3XV2KyW+cuN1WrhcAACgFvsAIfgCwV3Uz6UqmReGy 4Ftw3UVS+BYQ3Sx0ylQfDZEq9iMg2kl7a5Mm2Onac3ReA830W/yvyBquYzLpx7sfEnpA qt2nw3yAW0prxVSK3HmWHPIaSfeQi9jCH2+I9B9D47PshNKnvMAXu1cMrAR4awNPqBYZ WUGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678224100; 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=J32+kSfJwQwIWqiTJw+9OTa+IL/9v7+mOufRanr43cY=; b=iBhHHATkmZPiAK4HhhKebFoOWlEjb/8ZRs4oENH1s7DsqMDTOSalyxnlusk7W4drtg YMyR1LpJpUOzOuFZpVVA2wNbLbHUqvyb92Q13Qhy4RmV0REV72H9Vpa8ytT0Bf/4gEvT YZyZcHfDfcibH3ISoBkBmSEge6MNyTGmeEdwtf7z0qo6a75TnNLLV+VV2AY/eG5kQZRB DVxd740R7vnsb+4rMpt9mf6Hpw7vGFMBVC9ShmLncWKMwKd6LPw8dKNV3MS0MELzGnDH vLbd9VMA009tNkkEQeipL0qxhXGL8nj6jJQgjyFKzFW3B1IjQtjhjreupO18dQlA3ZIP cobQ== X-Gm-Message-State: AO0yUKW03NM0Kwi6DewBvpDZILKhUO0X3jc1ABttWDRTEKVT9cLzi0Iw 1MbVMZ2sBBW4jn0r/efTfB93Iw== X-Received: by 2002:a05:600c:450b:b0:3ea:ea8a:a94a with SMTP id t11-20020a05600c450b00b003eaea8aa94amr14626890wmo.27.1678224100109; Tue, 07 Mar 2023 13:21:40 -0800 (PST) Received: from zen.linaroharston ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id o33-20020a05600c512100b003e209186c07sm20687040wms.19.2023.03.07.13.21.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Mar 2023 13:21:39 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 517851FFB8; Tue, 7 Mar 2023 21:21:39 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, =?utf-8?q?Alex_Benn=C3=A9e?= , Bin Meng , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Richard Henderson Subject: [PULL 01/30] gdbstub/internals.h: clean up include guard Date: Tue, 7 Mar 2023 21:21:10 +0000 Message-Id: <20230307212139.883112-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230307212139.883112-1-alex.bennee@linaro.org> References: <20230307212139.883112-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32c; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32c.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 Use something more specific to avoid name clashes. Reviewed-by: Bin Meng Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Signed-off-by: Alex Bennée Message-Id: <20230302190846.2593720-2-alex.bennee@linaro.org> Message-Id: <20230303025805.625589-2-richard.henderson@linaro.org> diff --git a/gdbstub/internals.h b/gdbstub/internals.h index b23999f951..7df0e11c47 100644 --- a/gdbstub/internals.h +++ b/gdbstub/internals.h @@ -6,8 +6,8 @@ * SPDX-License-Identifier: GPL-2.0-or-later */ -#ifndef _INTERNALS_H_ -#define _INTERNALS_H_ +#ifndef GDBSTUB_INTERNALS_H +#define GDBSTUB_INTERNALS_H #include "exec/cpu-common.h" @@ -16,4 +16,4 @@ int gdb_breakpoint_insert(CPUState *cs, int type, vaddr addr, vaddr len); int gdb_breakpoint_remove(CPUState *cs, int type, vaddr addr, vaddr len); void gdb_breakpoint_remove_all(CPUState *cs); -#endif /* _INTERNALS_H_ */ +#endif /* GDBSTUB_INTERNALS_H */