From patchwork Fri Dec 16 11:21:57 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: 634417 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp739751pvb; Fri, 16 Dec 2022 03:24:04 -0800 (PST) X-Google-Smtp-Source: AMrXdXvmM0HZgja5SA5Rl3UhoHsPSqNllCNqwZ1eW+Unu2zpar/iuwlasuWgBdt5F58ncU5kVXJx X-Received: by 2002:ac8:6904:0:b0:3a9:6b48:a130 with SMTP id bt4-20020ac86904000000b003a96b48a130mr6719787qtb.34.1671189844555; Fri, 16 Dec 2022 03:24:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671189844; cv=none; d=google.com; s=arc-20160816; b=GHIY9/Wv5yZ35NaPNAtdFn7oNofW/wIt7l1GcGKCxTYn4J0CV/pOor39QTEpFMNyLf GZ10XU8TxoLXMCionAgvKAZIdmKJtpdeMDG0xlZIbwJig5Cspq8aLLKkwHqUdOX8NbIo jqdxuTn6+6WWzn6mmg94HVTLJ+uKQuafdVpC0JRR7W21ho4n36LicjmB4J6KH+ErWkih 4HLk6voZnDTAIU9VkXaFc4ojs2g/Xt9/q2DsFagQDk0KcnkUZVClff9FaIZrOERpGep3 evwMTqKlpGaRKQ4tAEhanaTUSdNhTlh4MVurj+w0jydl8m2OWqxVF+IbpdZvU+3+1f97 cH+g== 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=l8GNY9Dk05aam1GteIe+5IhM8+EbOG/DMvh81Ar6L7Y=; b=mcghzNctQr/lcZgVTd7fCQxbY0ZQEjxjlJ7FcsIPVBAtBukGBoaJFC+8IuyH8E7h70 PIy1SuuvxMHK+1SwyuVaA+mqDnyYaqKgwUf5WP95TU/ihVFWhxahyZpmjNE8QbsBxyiJ 1LsFRWV/104lIAPlXVkr+Msn34ObyWdyJgSSYQc6sfToGuGLzhg0HI9CjjIHUg6BHKTQ aL+//h697FZwHsikUkwG2LCnzIJgsmATJRlvg7uH6Gn1MUO0UcHBRmdv9Ph5OY/RkfQF rMLzbuVRyUR7Kc6BaRb/iPV6Pc8MOyTMIL6a22V8LwD8VR8wTzKSTUh1eL6EWXwnWl/N cCAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kfMFSb27; 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 fz5-20020a05622a5a8500b0039cd5f0838bsi952829qtb.102.2022.12.16.03.24.04 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 16 Dec 2022 03:24:04 -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=kfMFSb27; 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 1p68n9-000234-1s; Fri, 16 Dec 2022 06:22:15 -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 1p68n5-00021D-DJ for qemu-devel@nongnu.org; Fri, 16 Dec 2022 06:22:11 -0500 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p68n3-00067M-So for qemu-devel@nongnu.org; Fri, 16 Dec 2022 06:22:11 -0500 Received: by mail-wr1-x430.google.com with SMTP id bx10so2225219wrb.0 for ; Fri, 16 Dec 2022 03:22:09 -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=l8GNY9Dk05aam1GteIe+5IhM8+EbOG/DMvh81Ar6L7Y=; b=kfMFSb276+vELN6D+FKSq6d/kVhSIYYuZ+W/VRTxOqDFnzJGgmaCLcQ6tW1xLxCwO5 ZVOvpR32NetMQlPLhsutxgdEFLjwwjorfT9gnUOMB66b54NrDe39/durdgk6xkCyx88A +M5dy9IBU2Tf+7JOKVIjo01+1mj3/rnK/FDAc+IDGhEQ9PjQfoxFcvhoVCteIfcjSDAw kRJCJ5Jov9SfZH0PddNnb8r7nUp9ZySOccYmM0dqWyqqVuLN0txMsfsF7uD2A46f7UAb /iORxvHqiSwqNEjEXrY4sge9uR+N+uLVSIdmn9z8xj6MAkbnT32wPVi2mSENY5OSeye3 AHGQ== 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=l8GNY9Dk05aam1GteIe+5IhM8+EbOG/DMvh81Ar6L7Y=; b=2nF0fSE9wmx4oKOib1NV/bsYk2XbW6xIcNN1Cx2DzCnLhjAwom0FRquCD5PsoxDhRN FDbfSDEFxHYTUiATGDV1wSgXIKAm9gWDB/3Eyh+JEHE1pdak+7nNzr+NVM59HVCgX5yv lOjx6D9719ih56GUZBOO5UMv1b0t5kHt/gwbQkzOtEGY4xZIFwrtuc5wCOsYzeNO7M2H Ns/yzYFMSTQCqEZB5Z04ClD50EnBEq6Et7XTvEtVptmbfX2j355z6l9zt478tPARTdS3 dzjnqlDQ6MgI3FCXIYXSYFXEvzfOGzsuH/5t52sXGnPPlZqiAXoexYR/dFAUr8lxqoCA 0XHA== X-Gm-Message-State: ANoB5pmIYi0HG1Jw5JPxNNYXjS7J6wJUSatSrrRG0zpTyh0wUc4zQAEd 3L8RWKqfaizFscw/nY6tB0auEA== X-Received: by 2002:a05:6000:1c18:b0:242:7594:c2f7 with SMTP id ba24-20020a0560001c1800b002427594c2f7mr24971271wrb.64.1671189727967; Fri, 16 Dec 2022 03:22:07 -0800 (PST) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id s13-20020a5d510d000000b00241e5b917d0sm2344490wrt.36.2022.12.16.03.22.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Dec 2022 03:22:07 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id F21D71FFB8; Fri, 16 Dec 2022 11:22:06 +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 01/10] gdbstub/internals.h: clean up include guard Date: Fri, 16 Dec 2022 11:21:57 +0000 Message-Id: <20221216112206.3171578-2-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::430; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x430.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. Signed-off-by: Alex Bennée Reviewed-by: Richard Henderson --- gdbstub/internals.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gdbstub/internals.h b/gdbstub/internals.h index eabb0341d1..b444f24ef5 100644 --- a/gdbstub/internals.h +++ b/gdbstub/internals.h @@ -6,12 +6,12 @@ * SPDX-License-Identifier: GPL-2.0-or-later */ -#ifndef _INTERNALS_H_ -#define _INTERNALS_H_ +#ifndef GDBSTUB_INTERNALS_H +#define GDBSTUB_INTERNALS_H bool gdb_supports_guest_debug(void); int gdb_breakpoint_insert(CPUState *cs, int type, hwaddr addr, hwaddr len); int gdb_breakpoint_remove(CPUState *cs, int type, hwaddr addr, hwaddr len); void gdb_breakpoint_remove_all(CPUState *cs); -#endif /* _INTERNALS_H_ */ +#endif /* GDBSTUB_INTERNALS_H */