Message ID | 20230302203224.118345-1-simon.marchi@efficios.com |
---|---|
Headers |
Return-Path: <gdb-patches-bounces+patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 073A3385B53B for <patchwork@sourceware.org>; Thu, 2 Mar 2023 20:32:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 073A3385B53B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1677789170; bh=Eps2r5+r3hHP1mwlke/R2Gf8O7WR2DacdzkQ+JXyZRc=; h=To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=t8sacmZSPQCbSQbDBWNjjZO7GJ8cuqkWg88BAh/T/tU4tcaX2x8KlLnM5DGLCrgPR DR0QHXUhvRWBvFwCutQVvMJzm7G1ZyNJiv2G3O8jMqU9PiFQ5ewpzdoAIT2YBINBTP 2N/rqlw7QzjM8jc9v2ah4dcLfoW4sfCFtVvZa0q0= X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from simark.ca (simark.ca [158.69.221.121]) by sourceware.org (Postfix) with ESMTPS id 8C7BD3858D37 for <gdb-patches@sourceware.org>; Thu, 2 Mar 2023 20:32:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8C7BD3858D37 Received: from smarchi-efficios.internal.efficios.com (192-222-180-24.qc.cable.ebox.net [192.222.180.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPSA id 1126F1E0D3; Thu, 2 Mar 2023 15:32:25 -0500 (EST) To: gdb-patches@sourceware.org Cc: Simon Marchi <simon.marchi@efficios.com> Subject: [PATCH 0/3] Some minor interps tweaks Date: Thu, 2 Mar 2023 15:32:21 -0500 Message-Id: <20230302203224.118345-1-simon.marchi@efficios.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3491.5 required=5.0 tests=BAYES_00, KAM_DMARC_NONE, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_SOFTFAIL, TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list <gdb-patches.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/gdb-patches/> List-Post: <mailto:gdb-patches@sourceware.org> List-Help: <mailto:gdb-patches-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=subscribe> From: Simon Marchi via Gdb-patches <gdb-patches@sourceware.org> Reply-To: Simon Marchi <simon.marchi@efficios.com> Errors-To: gdb-patches-bounces+patchwork=sourceware.org@sourceware.org Sender: "Gdb-patches" <gdb-patches-bounces+patchwork=sourceware.org@sourceware.org> |
Series |
Some minor interps tweaks
|
|
Message
Simon Marchi
March 2, 2023, 8:32 p.m. UTC
As I'm looking through interps.c doing a larger change, I came up with these small cleanups. Simon Marchi (3): gdb: make get_interp_info return a reference gdb: make interp::m_name an `const char *` gdb: initialize interp::next gdb/interps.c | 79 +++++++++++++++++++++++++-------------------------- gdb/interps.h | 14 ++++----- 2 files changed, 45 insertions(+), 48 deletions(-)