From nobody Tue Feb 10 01:16:08 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1620398659; cv=none; d=zohomail.com; s=zohoarc; b=jiQe5vhTdpd3b46THSvY31Xv6fuBUhOBeNYaH4h+Dv0SxBunJ7SfHm9cUQpuPDAeYZ1aG0B6vS9wSB1mxVfrhD3/tb1BOrD4w+V3cqIH2+OL1aMI2ThMiUzNNbJ5Yh6uxqW4fSRVigguHZ7HtltiRxGl2T3oYFUoIVhrK1v7sGU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1620398659; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=B3vDcPc2Lwo5z0s8ItWutJUQDssHj4SCpM1PcCRAn5U=; b=BRhMt4+6TdiWTcQ4gEMYqBq2gbxsEHPv9LVGL4OrS62Y4I5l0PHW9wiR+10/KmpRoSgYXlmEoYChsJlcELGy6GtFJShxhLZZgHIvIFJn1IuJwVT0ZgSzGrSbl+1f5sFZ55OnHi7BsqS0E5zGYgfqbMyO9J7d0LW9LteqgVQpNPQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1620398659004106.68190102280221; Fri, 7 May 2021 07:44:19 -0700 (PDT) Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-343-Jyn7JuudOsK688QMQhgRcA-1; Fri, 07 May 2021 10:44:16 -0400 Received: by mail-wm1-f71.google.com with SMTP id b16-20020a7bc2500000b029014587f5376dso3125478wmj.1 for ; Fri, 07 May 2021 07:44:15 -0700 (PDT) Return-Path: Return-Path: Received: from localhost.localdomain (astrasbourg-652-1-219-60.w90-40.abo.wanadoo.fr. [90.40.114.60]) by smtp.gmail.com with ESMTPSA id r5sm7924795wmh.23.2021.05.07.07.44.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 May 2021 07:44:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1620398657; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=B3vDcPc2Lwo5z0s8ItWutJUQDssHj4SCpM1PcCRAn5U=; b=Dt46niDFld6lbPOre/2refLkrp2sAnAxAXyAHzJSCkAZOoRf2MGYgHWkidgcr7OrN8qseo qY6yeY3gASGpIed+A8K44pc/lNnojw5PTOw//9aY4Q+yXc5YIftpaRhnzVtWx8mKcPEWpb FInXrNHnIipVA0H5bOzQLke13KcizPk= X-MC-Unique: Jyn7JuudOsK688QMQhgRcA-1 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=B3vDcPc2Lwo5z0s8ItWutJUQDssHj4SCpM1PcCRAn5U=; b=l4xpKOttyvzMoso+tnZi9n+NTJ5i8jAYP+QZCPX1DU/arvVrNxbtrdbwWbNZe6Byc4 zX4pfR1O/qjb8tkaAEPFfucrk3oSt/PVOlT58O0I7WZAMv8Bz8Jr9kY0IGH+E0MIqkHA uJdKSJHetwcCnB/7cdT9Ixiljj5tC6rkjzULGfB3fkWLwmlXU+rChdqoXQPltGQc/Vdt tu97xu7Sv4tB0ywAMfZT1MsPth7/NpnGoJIzFbwowgA+nD/POAUpREvD6b/wJ2Dczt5G xUAhcJAwKbGzIkYN/4LzN3J5E3Mrf25nGbS7N70KUpQEc1JZ+b9PMoQzAJ4xSfq47uET BgAQ== X-Gm-Message-State: AOAM5326Ah5HqPcG8rkeq0ypa1JBxKSH6vIolVdXmn50byLcR8sHiYZR PlxTTKd26jSrj4d6kuob63V2Ugh2cjwjIR2GxYR7bZ+1rvHcaJyxWlzVRq4khoF2upSItmujm+1 ckvvK3seJWwZP7A== X-Received: by 2002:a7b:cc15:: with SMTP id f21mr21011228wmh.86.1620398655112; Fri, 07 May 2021 07:44:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzepcSCNHFzx7Vk1l7Yecw5eu3JmKlqle2NYs72V/81IbdrlCspu8WvBmn62kYIs0w4K4g+cA== X-Received: by 2002:a7b:cc15:: with SMTP id f21mr21011214wmh.86.1620398654950; Fri, 07 May 2021 07:44:14 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Laurent Vivier , Paolo Bonzini , qemu-ppc@nongnu.org, Peter Maydell , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Gerd Hoffmann , qemu-arm@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH v3 12/17] gdbstub: Constify GdbCmdParseEntry Date: Fri, 7 May 2021 16:43:10 +0200 Message-Id: <20210507144315.1994337-13-philmd@redhat.com> X-Mailer: git-send-email 2.26.3 In-Reply-To: <20210507144315.1994337-1-philmd@redhat.com> References: <20210507144315.1994337-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Reviewed-by: Alex Benn=C3=A9e Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- gdbstub.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gdbstub.c b/gdbstub.c index 9103ffc9028..83d47c67325 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.26.3