Message ID | 20240207165445.117512-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 12D503857C4A for <patchwork@sourceware.org>; Wed, 7 Feb 2024 16:55:20 +0000 (GMT) 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 61ADA385801D for <gdb-patches@sourceware.org>; Wed, 7 Feb 2024 16:54:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 61ADA385801D Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=efficios.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=efficios.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 61ADA385801D Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=158.69.221.121 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1707324889; cv=none; b=dtNnGu+uvGa8fiLeGH2K4F3lWs5CSDTnz2Vb0EAKqPMBoZS2bGnlZTvYHLF6Hvc3gaQ16ofFhQUms7O+wgBmzSqbB6tZWck75TbdpYrwtXjXGcuKedT3DkEeUuHTc5cRw7PbjkU6WDo+HkwDTSBgorCKqn4XZHRUymupwRXxF10= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1707324889; c=relaxed/simple; bh=4ThwGJZVP/o7BncXDcpfbw8nRuFfyYkfdE6ysju1aAk=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=Gl0W5WCOPmBjyAXdLidGrVZUcMs2NZCLNg3pGMg/E30+sxKEG86EqB1hVhsYBTBmQBH98NUSzeqSXyHcm2ZxNgOwBYVcl2lNy2SG9fc4OlEWCgsYuVHuP6KjcXM6Q6cmpb+pdc2j+uErb1BjjNcpePhaVfwVAXX2+mOfs1gfre0= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from smarchi-efficios.internal.efficios.com (192-222-143-198.qc.cable.ebox.net [192.222.143.198]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPSA id C77BB1E098; Wed, 7 Feb 2024 11:54:46 -0500 (EST) From: Simon Marchi <simon.marchi@efficios.com> To: gdb-patches@sourceware.org Cc: Simon Marchi <simon.marchi@efficios.com> Subject: [PATCH v2 0/5] Random cleanup patches Date: Wed, 7 Feb 2024 11:53:18 -0500 Message-ID: <20240207165445.117512-1-simon.marchi@efficios.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3490.5 required=5.0 tests=BAYES_00, KAM_DMARC_NONE, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_SOFTFAIL, TXREP, T_SCC_BODY_TEXT_LINE 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.30 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> Errors-To: gdb-patches-bounces+patchwork=sourceware.org@sourceware.org |
Series |
Random cleanup patches
|
|
Message
Simon Marchi
Feb. 7, 2024, 4:53 p.m. UTC
This is v2 of: https://inbox.sourceware.org/gdb-patches/20240206171514.119244-1-simon.marchi@efficios.com/T/#m396f40ecb617db9e71beae00f82f21bae92a36cd The only difference is to revert using the current inferior in patch 4, as described here: https://inbox.sourceware.org/gdb-patches/20240206171514.119244-1-simon.marchi@efficios.com/T/#mb86bb48b17bdb01e5c0c28609aa168cb25722958 Simon Marchi (5): gdb: add program_space parameter to mark_breakpoints_out gdb: add inferior parameter to breakpoint_init_inferior gdb: add program_space parameter to disable_breakpoints_in_shlibs gdb: add program_space parameter to clear_solib gdb: remove unnecessary nullptr check in remove_user_added_objfile gdb/breakpoint.c | 35 +++++++++++------------------------ gdb/breakpoint.h | 22 ++++++++++++++++++---- gdb/corelow.c | 2 +- gdb/infcmd.c | 10 +++++----- gdb/infrun.c | 6 +++--- gdb/solib.c | 18 +++++++++--------- gdb/solib.h | 6 +++--- gdb/symtab.h | 4 ---- gdb/target.c | 4 ++-- gdb/windows-nat.c | 2 +- 10 files changed, 53 insertions(+), 56 deletions(-) base-commit: 6fb99666f4bbc79708acb8efb2d80e57de67b80b
Comments
Simon Marchi <simon.marchi@efficios.com> writes: > This is v2 of: > > https://inbox.sourceware.org/gdb-patches/20240206171514.119244-1-simon.marchi@efficios.com/T/#m396f40ecb617db9e71beae00f82f21bae92a36cd > > The only difference is to revert using the current inferior in patch 4, > as described here: > > https://inbox.sourceware.org/gdb-patches/20240206171514.119244-1-simon.marchi@efficios.com/T/#mb86bb48b17bdb01e5c0c28609aa168cb25722958 So I didn't read V1 of this series prior to commenting on patch #4. Having been back to re-read the V1 series, and the problems that you ran into, I still think passing the current_inferior() would be a better choice in #4. For everything else: Approved-By: Andrew Burgess <aburgess@redhat.com> Thanks, Andrew
On 2024-02-08 09:39, Andrew Burgess wrote: > Simon Marchi <simon.marchi@efficios.com> writes: > >> This is v2 of: >> >> https://inbox.sourceware.org/gdb-patches/20240206171514.119244-1-simon.marchi@efficios.com/T/#m396f40ecb617db9e71beae00f82f21bae92a36cd >> >> The only difference is to revert using the current inferior in patch 4, >> as described here: >> >> https://inbox.sourceware.org/gdb-patches/20240206171514.119244-1-simon.marchi@efficios.com/T/#mb86bb48b17bdb01e5c0c28609aa168cb25722958 > > So I didn't read V1 of this series prior to commenting on patch #4. > Having been back to re-read the V1 series, and the problems that you ran > into, I still think passing the current_inferior() would be a better > choice in #4. > > For everything else: > > Approved-By: Andrew Burgess <aburgess@redhat.com> The comments on patch #4 were resolved, so I'll push that series now. Thanks! Simon