From nobody Mon Feb 9 13:38:50 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=1620234073; cv=none; d=zohomail.com; s=zohoarc; b=Tg53SD3sH9B6TJLNukq5GoYKTDohK9y8r369BD7mFT4unwZFibHUEXiECaREsw1PTBhSuoPuqxPkGjcdSsS9pwH15Tg9ZeoB1R/rrgnI3eU1u2+mu2yHZsCgnkaNDNT3Rv3wFwOIdkO9wLcbqSWfAVyPxcH1tyNhW/f2mamPiR0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1620234073; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=KVr/YKk8ykCSG/NDL+d/fpooQDX6C5X50bcflqdu8o0=; b=EGaa95kvkDbLrnbKoDlFlFFlG9L4g/HB3ECFP9gzixKjVIK1r2zwq7WMIZpsLDn1gu/T928dhTRsMSXXhDhFMxqLhocX3KBcDCVbub3jmc73Zsnmhb6/tqsjTV39OONwDqM+I/4J/e+PkW4S0yg7lEPSBRp42E1+fSFiUlGYIR0= 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 1620234072984230.82158263291774; Wed, 5 May 2021 10:01:12 -0700 (PDT) Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-453-LReV1x7AMieXYY3k031M4A-1; Wed, 05 May 2021 13:01:08 -0400 Received: by mail-wr1-f69.google.com with SMTP id 65-20020adf82c70000b0290107593a42c3so953587wrc.5 for ; Wed, 05 May 2021 10:01:08 -0700 (PDT) Return-Path: Return-Path: Received: from x1w.redhat.com (astrasbourg-653-1-188-220.w90-13.abo.wanadoo.fr. [90.13.127.220]) by smtp.gmail.com with ESMTPSA id l12sm20040231wrm.76.2021.05.05.10.01.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 May 2021 10:01:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1620234069; 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=KVr/YKk8ykCSG/NDL+d/fpooQDX6C5X50bcflqdu8o0=; b=NkH4sznyjhY6jbd6wYGYt1MY6HWmi/hfbdS5iQAuvbzq4m669gkm79fhIk14xNSdQi6WZy UWJbEe+6V/aZx4RB7GqzOJ1xvEFe4tLtcBpu2yACzSt+AsgYeSY/SqqNJk09XJvWdCJld6 wrz+7NvMsyh3Osu9rU5Ezh/pUGbIvWw= X-MC-Unique: LReV1x7AMieXYY3k031M4A-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=KVr/YKk8ykCSG/NDL+d/fpooQDX6C5X50bcflqdu8o0=; b=F2oZ635bsJXgwyl59l5qibhkdM2644S/DWHO9w222Hw1dzPP/Rd81pVsYuvvLpAJQP UXsMmUOi9NjyYqtN/WEJSZ0kPPlP3ByBCsrSSRAshuws0XMmENwWAyCyBXOPWFAd+Dqq 16V7F/fih9t/hxf+u6Z9ZrkA3R2heiyi7YIm/PfXP2aWa7lvR31WOtnLIt3f80nN7vgE r/CFRYpVdEl95UGDUQ+MeVAjoNf8B+0Em1bFyLgVfek0mwFIFUkiL5+UHHTsPr7byUYf 3AeJSYoI4Cd3Mrg7K2rhUE6wSzr+3JTZqc8Sh0M9fw3v6lRRqDJMGtf/gpVYMttDCjiV EQfg== X-Gm-Message-State: AOAM530smdN+7BC4/N8cAY5rsxA5rZGUt0s8EBewDfbelDyJMsM/UWQr bq1EmCRIJDBZUtjuPrHFG4A2lbPBfEhAIjamE/atR8pK18Q3Llqe9ls8XcvcU1N6eC3YrRYU+L8 rCDHxfundw72dAg== X-Received: by 2002:a7b:c4c9:: with SMTP id g9mr10881018wmk.90.1620234066985; Wed, 05 May 2021 10:01:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyMNW3ne0tCY2PAFqneUiO3IIV1h5h3tf9MgcewGFxLZtCnjm1YBJggkTc+aanCQig7UykaUg== X-Received: by 2002:a7b:c4c9:: with SMTP id g9mr10880998wmk.90.1620234066819; Wed, 05 May 2021 10:01:06 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , David Gibson , Paolo Bonzini , Warner Losh , Kyle Evans , Greg Kurz , =?UTF-8?q?Alex=20Benn=C3=A9e?= Subject: [PATCH 2/5] gdbstub: Constify GdbCmdParseEntry Date: Wed, 5 May 2021 19:00:52 +0200 Message-Id: <20210505170055.1415360-3-philmd@redhat.com> X-Mailer: git-send-email 2.26.3 In-Reply-To: <20210505170055.1415360-1-philmd@redhat.com> References: <20210505170055.1415360-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) Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Alex Benn=C3=A9e --- gdbstub.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gdbstub.c b/gdbstub.c index 054665e93ea..6f663cbd8dd 100644 --- a/gdbstub.c +++ b/gdbstub.c @@ -1982,7 +1982,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, @@ -2325,7 +2325,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, @@ -2343,7 +2343,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", @@ -2421,7 +2421,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