From nobody Tue Feb 10 09:57:55 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1621942120; cv=none; d=zohomail.com; s=zohoarc; b=mGMjQVCkQJzPglz21tBZ5JlfjgZJ43KPPFC2zO68RAOj//GfJmbx9/Qae9dBVYw7DGciMgwNQ0qacZ7sgAdOHhB/gt3XJbXQGV9A+IEpWxsYVgxoazwhj6+JxgeKa+hjz75EPRDPVWqm/InyLPc0/SmYifnuuRe6NRAK/nW3Otk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1621942120; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=RZapSc4OUiaXGNAz1GT+1De7yOIQCE53gQRLaCIox2s=; b=O8j9VU1JzrWCsdsrXJpQGRBn96ywV80deB7nTGuokJPlZ9yUk5kd8jeQF+L63E91IXa4pb1SCRf1pZsCNo0z+aNu3PY3uvflTmsDELzRioQfN5C/EHAO40Eu7tmJAM/eV3goe0Xl1N7fus0+z87h4o8OhBpiGFlW7wem3Rjk1jo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 162194212087126.62517523964698; Tue, 25 May 2021 04:28:40 -0700 (PDT) Received: from localhost ([::1]:56138 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1llVEl-000278-Qn for importer@patchew.org; Tue, 25 May 2021 07:28:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59654) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llVAy-0002Lq-IB for qemu-devel@nongnu.org; Tue, 25 May 2021 07:24:44 -0400 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]:36452) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1llVAu-0002wn-Ge for qemu-devel@nongnu.org; Tue, 25 May 2021 07:24:44 -0400 Received: by mail-wr1-x42a.google.com with SMTP id n4so5889605wrw.3 for ; Tue, 25 May 2021 04:24:39 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id n13sm16270734wrg.75.2021.05.25.04.24.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 May 2021 04:24:35 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 079F21FF8F; Tue, 25 May 2021 12:24:32 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=RZapSc4OUiaXGNAz1GT+1De7yOIQCE53gQRLaCIox2s=; b=pZV65ycuIphfk3II1tfPbyrcCR/J/s1ui3dDGMAa5avCxcHy5R72g8l1Kk/viXprBW BCe12lJHP8lhpzdtiH3nCjPeZVzTHK+KglQ6zW6wvzlxY9gyFAg1rOLoNG1meuSmKbEA e/1rp/otMa4CtiIBEngGJ57uk9ce5zXc+4KEDACmOmb+6jtwE6Ob/jASs5t2goP5BuM+ 34rNokYvjCcGWyQAh1RKh1GbJmK4hKovRNn0aFBRhVZ+ilgKFvgguz0NhikxGSwsLujH efU9zvfEQUxV5wtx8jxiLPCMHclBMZNXynyDCB8M0T2OAgGzKqh3VU03xhGVSFqk/H1Z KTCg== 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=RZapSc4OUiaXGNAz1GT+1De7yOIQCE53gQRLaCIox2s=; b=Hn7U3o8tw/UtwCUsAqwbyxG/i0A7wR+YNpcEyVxzMLohgtIbeJfuf6V8B6d5izwMk0 2IRcrCc6SswKachb14NyaLmXGykoIW59deq52Me3ZDixe+BaB3tPOpI593j/m+kHKf3K AmtcT9azkwOJNMauc5DtASpCu4rSw1mkYCPzWDBanDS9SMTbMA/3Kc4Rfqb8VSGcs7Bk KLDu1hr9KQ9GPy92mNwV7N3Yx6hvVEwPZyl8IQnax9N8EwtcmbH7LZDXt6kUJpCpex0A Y9m2OtE+Odeh0Snp7ECSgHLUa24Ui6WDPo4YujLlJad8Wd2QFnTE7cCYSJ8hCD6hwGMt mkLQ== X-Gm-Message-State: AOAM532kw5Tfgrhs70YpzoEqxoZtekHG5J0eRZKWnNrv6mf2kYWfI2V0 TNZeCRfc4562PgvBln+Skeb5lHl7KRnCcA== X-Google-Smtp-Source: ABdhPJzjAmP6Thu4UVuRw5v55S5A45OYyqp18OnKui5Iv8l/HvgU3RnVDlG32+kP5cJTeDE4mXW8oQ== X-Received: by 2002:adf:d1e1:: with SMTP id g1mr27256837wrd.401.1621941878292; Tue, 25 May 2021 04:24:38 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 3/7] gdbstub: Constify GdbCmdParseEntry Date: Tue, 25 May 2021 12:24:27 +0100 Message-Id: <20210525112431.22005-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210525112431.22005-1-alex.bennee@linaro.org> References: <20210525112431.22005-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42a.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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= , Richard Henderson , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Philippe Mathieu-Daud=C3=A9 Signed-off-by: Philippe Mathieu-Daud=C3=A9 Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Richard Henderson Message-Id: <20210505170055.1415360-3-philmd@redhat.com> Message-Id: <20210520174303.12310-5-alex.bennee@linaro.org> diff --git a/gdbstub.c b/gdbstub.c index 9103ffc902..83d47c6732 100644 --- a/gdbstub.c +++ b/gdbstub.c @@ -1981,7 +1981,7 @@ static void handle_v_kill(GdbCmdContext *gdb_ctx, voi= d *user_ctx) exit(0); } =20 -static GdbCmdParseEntry gdb_v_commands_table[] =3D { +static const GdbCmdParseEntry gdb_v_commands_table[] =3D { /* Order is important if has same prefix */ { .handler =3D handle_v_cont_query, @@ -2324,7 +2324,7 @@ static void handle_set_qemu_phy_mem_mode(GdbCmdContex= t *gdb_ctx, void *user_ctx) } #endif =20 -static GdbCmdParseEntry gdb_gen_query_set_common_table[] =3D { +static const GdbCmdParseEntry gdb_gen_query_set_common_table[] =3D { /* Order is important if has same prefix */ { .handler =3D handle_query_qemu_sstepbits, @@ -2342,7 +2342,7 @@ static GdbCmdParseEntry gdb_gen_query_set_common_tabl= e[] =3D { }, }; =20 -static GdbCmdParseEntry gdb_gen_query_table[] =3D { +static const GdbCmdParseEntry gdb_gen_query_table[] =3D { { .handler =3D handle_query_curr_tid, .cmd =3D "C", @@ -2420,7 +2420,7 @@ static GdbCmdParseEntry gdb_gen_query_table[] =3D { #endif }; =20 -static GdbCmdParseEntry gdb_gen_set_table[] =3D { +static const GdbCmdParseEntry gdb_gen_set_table[] =3D { /* Order is important if has same prefix */ { .handler =3D handle_set_qemu_sstep, --=20 2.20.1