From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id LQlKASw8/2XMVBMAWB0awg (envelope-from ) for ; Sat, 23 Mar 2024 16:31:40 -0400 Authentication-Results: simark.ca; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=RGtMai2v; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id E8DC11E0C0; Sat, 23 Mar 2024 16:31:39 -0400 (EDT) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (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 ESMTPS id CBED81E08C for ; Sat, 23 Mar 2024 16:31:37 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id E9DEC3858D38 for ; Sat, 23 Mar 2024 20:31:36 +0000 (GMT) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 871713858D37 for ; Sat, 23 Mar 2024 20:31:18 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 871713858D37 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 871713858D37 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711225880; cv=none; b=Ma5wTzO9Siv9Skuf+ll6pqVgfIzTKzUNUMlcCaesu3widE6bewJc9vYGP50BzkgApyKPZjgQr7urbbihvVK9cteJUuTTlvIFWzLwbFvU0GZEKfCctRXDR/It8LZ6OWLLWgaCo6n0w9sQIVMDZ3L8vkq0eunoCqpK9rOFd0IGaKw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711225880; c=relaxed/simple; bh=rTzDCqzK9UaSfA266mJnk6MpuDasSIzHbdSIwmk7JU0=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=SHjNR90qxYCpr21eIFuMPq550dFiFFuQK8ltXFkcOItZ6W0AhaP6UVPSYDEncESlLjjCz3w7vJDFWLApjgBy5xPhRwOmwign9Zl03h2CkL+38NkTyrykdbBi+7Crv+G6m9/4BiD2cIAbwCbnco52A+uPrR7F1OACxuHSup/MdtA= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1711225878; 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; bh=hHm5BKbypkmXx5Ab9LjCYGKhwrjyU/8P8ZYC0oRSGQc=; b=RGtMai2vNWzJ/PcH9mtnK857u1HS0a6t7zKxDztgMGd64yX41LP3OdyugkZJMsVg/b+PLA hMzFB3PLmGgqoZou1SdwPP0f3w3grSWvRGdY0L365+u+JW4xoqbr2ZcdVuaYn59tq7nBYq XESd7c3VbfqqZlLDZK3zNCuj7nm+fUw= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-196-miKiT33fPpartit0JczMWQ-1; Sat, 23 Mar 2024 16:31:16 -0400 X-MC-Unique: miKiT33fPpartit0JczMWQ-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (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 mimecast-mx02.redhat.com (Postfix) with ESMTPS id BF6378007A1 for ; Sat, 23 Mar 2024 20:31:15 +0000 (UTC) Received: from f39-1.lan (unknown [10.22.10.134]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5E7341C060A4; Sat, 23 Mar 2024 20:31:15 +0000 (UTC) From: Kevin Buettner To: gdb-patches@sourceware.org Cc: Kevin Buettner Subject: [PATCH 0/2] Make linux checkpoints work with multiple inferiors Date: Sat, 23 Mar 2024 13:27:39 -0700 Message-ID: <20240323203056.1793487-1-kevinb@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.7 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org This series fixes some problems with the current checkpoint code. The first patch makes the checkpoint code inferior aware, fixing a number of bugs. The second patch fixes a nit with the way that checkpoints are sometimes printed. Kevin Buettner (2): Make linux checkpoints work with multiple inferiors Make thread_db_target::pid_to_str checkpoint-aware gdb/linux-fork.c | 361 ++++++---- gdb/linux-fork.h | 13 +- gdb/linux-nat.c | 20 +- gdb/linux-thread-db.c | 4 +- gdb/testsuite/gdb.multi/checkpoint-multi.exp | 668 +++++++++++++++++++ 5 files changed, 925 insertions(+), 141 deletions(-) create mode 100644 gdb/testsuite/gdb.multi/checkpoint-multi.exp -- 2.44.0