From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id EcsuD8xciGdugBAAWB0awg (envelope-from ) for ; Wed, 15 Jan 2025 20:11:40 -0500 Authentication-Results: simark.ca; dkim=pass (1024-bit key; unprotected) header.d=sergiodj.net header.i=@sergiodj.net header.a=rsa-sha256 header.s=20160602 header.b=t6J9Axbs; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 2DF1F1E100; Wed, 15 Jan 2025 20:11:40 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-5.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=4.0.0 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 6F76A1E05C for ; Wed, 15 Jan 2025 20:11:38 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 0924E3851A8B for ; Thu, 16 Jan 2025 01:11:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0924E3851A8B Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=sergiodj.net header.i=@sergiodj.net header.a=rsa-sha256 header.s=20160602 header.b=t6J9Axbs Received: from mail.sergiodj.net (mail.sergiodj.net [IPv6:2a01:4f8:13a:6e8:160::1]) by sourceware.org (Postfix) with ESMTPS id 0F76B3857B94 for ; Thu, 16 Jan 2025 01:11:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0F76B3857B94 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=sergiodj.net Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=sergiodj.net ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 0F76B3857B94 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a01:4f8:13a:6e8:160::1 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1736989865; cv=none; b=VvBQfHyNmCGCaeQvWaf8DlEt1lc3va2QNwwVpGl7wl8FQJFoNV/9HQEKGIRk68AnAbG8VNEPwWwPCK0fdvSeRsF1MDBKmT9VTz+DyS9j8Wv4rt70BjHDgryTcx2l4epmpODn6Q4eVEZ7ue/qUNSz9d3eKtIy4OH/6wrthsvAPy4= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1736989865; c=relaxed/simple; bh=LZRr1wOjLC2dubOd4iRHFf8ir36FF/FZpuiKMsWgDWw=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=kkstTID4WHnpVBkQ3YSdgD1SSnbzCGR/QjB1ttBG6oZzVWqTcvarNsueA2Xc0nQjp0xXc6DsTHhiJmeeBkr5WHxhQBfchDnKht49weMw046YM8//OrqCGjZfrZ6+Tknr3gakzGBwBVK9rjmqZ+nH9InZwIOgufW5V/FEpRLKq3A= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0F76B3857B94 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=sergiodj.net; s=20160602; t=1736989863; bh=LZRr1wOjLC2dubOd4iRHFf8ir36FF/FZpuiKMsWgDWw=; h=From:To:Cc:Subject:Date:From; b=t6J9AxbsuJLSBNCxH03g3A5ofwloAYSBnDoX5J4b2pGe+jtceGF7vUB0Cb5sjNkPv FBwHG2H5Fo7L8Wy/ZYej+pfV4u8wsDDSIOC3fZO6rIKSr8VMHxN0nlFJ+G6URx6UUK ceLwYZpkpiRfUwOhboxkJzsMn1ew2+JK8pvyX3dA= From: Sergio Durigan Junior To: GDB Patches Cc: Simon Marchi , Sergio Durigan Junior Subject: [PATCH] gdbserver: Fix build on MIPS Date: Wed, 15 Jan 2025 20:10:55 -0500 Message-ID: <20250116011055.4022193-1-sergiodj@sergiodj.net> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Commit 3470a0e144df6c01f8479fa649f43aa907936e7e inadvertently broke the build on MIPS because it's passing a non-existent "pid" argument to "proc->for_each_thread". This commit fixes the problem by removing the argument from the call. Signed-off-by: Sergio Durigan Junior --- gdbserver/linux-mips-low.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdbserver/linux-mips-low.cc b/gdbserver/linux-mips-low.cc index 98733709fa3..fafcdefbb06 100644 --- a/gdbserver/linux-mips-low.cc +++ b/gdbserver/linux-mips-low.cc @@ -623,7 +623,7 @@ mips_target::low_remove_point (raw_bkpt_type type, CORE_ADDR addr, &priv->watch_mirror); /* Only update the threads of this process. */ - proc->for_each_thread (pid, update_watch_registers_callback); + proc->for_each_thread (update_watch_registers_callback); return 0; } -- 2.45.2