From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 820BA384640E for ; Wed, 24 Apr 2024 23:22:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 820BA384640E 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 820BA384640E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1714000946; cv=none; b=MPdh8OmmS0H/tdxbbt9Cqe8rKSC/SGdz+SFmHxLFw0OyN7e//BinlJpJQdJwEt30dLfEHss01UCrueQGZZfq/h6P8STPfxnUJ3oEk2SUDWCZUZ8XagkQDIiUBFGqF5+uSBWitE0rkbg4wOiEYh8wImDk0LuVa7xz6PyM1tK3hUo= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1714000946; c=relaxed/simple; bh=+hq8hRhdHOgXVcyyxyNb3xetQRwYTuYPMJOlciBzoBc=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=osMY6UH1J/Qx+QbtDyBfRY0pvoSbKvxaGDHOPaXm+PTGvOxHz7XMgAtoiF8mRw6LEgBNzkZHEf1PwgbLQZXW9vM233Xhw4k4MfoW0kfP3h3/jDQc8rsNHVZsQ6F7dQQRiqSPDaWY9XVFiv5QH6th+bJFlCwu5w15Q5MoApXMDdY= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1714000942; 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=VMF7xayQ7+uRVlYPEnQ07eYKUOKtqVjd7K7sGPLWZUs=; b=NTvIuItZLVCFODGSJKhA/F4UfAuK3tdcTO/RG3Zbszlky0t8biwafWesqJUwuKp0PRFt49 LNo0tUe3ByXFLg4WHMicRrCJuEfCSK6plkXkmB0poLyraEgT/O3+IcXNtOLuL9E58UsP4y sp2pB+qDHuEQhQhcUnwoK+UhJ/xfkoc= 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-259-wGiVq7lFPxaOFvwgwqwFNQ-1; Wed, 24 Apr 2024 19:22:18 -0400 X-MC-Unique: wGiVq7lFPxaOFvwgwqwFNQ-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (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 7F100834FB9; Wed, 24 Apr 2024 23:22:18 +0000 (UTC) Received: from f39-zbm-amd (unknown [10.22.16.14]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1A53D400D288; Wed, 24 Apr 2024 23:22:17 +0000 (UTC) Date: Wed, 24 Apr 2024 16:22:16 -0700 From: Kevin Buettner To: Thiago Jung Bauermann Cc: gdb-patches@sourceware.org, Luis Machado Subject: Re: [PATCH v3 2/2] gdb/testsuite: Add gdb.base/memops-watchpoint.exp Message-ID: <20240424162216.5aaa409d@f39-zbm-amd> In-Reply-To: <87cyqe3d44.fsf@linaro.org> References: <20240422230700.1173173-1-thiago.bauermann@linaro.org> <20240422230700.1173173-3-thiago.bauermann@linaro.org> <20240423105247.798dc561@f39-zbm-amd> <87cyqe3d44.fsf@linaro.org> Organization: Red Hat MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.2 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.8 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 List-Id: On Wed, 24 Apr 2024 14:05:31 -0300 Thiago Jung Bauermann wrote: > > I also have Fedora 39 (Asahi Remix) running on an M1 macbook. When > > I try this test on that machine, I see some timeouts... > > > > (gdb) watch -location a[28] > > Hardware watchpoint 2: -location a[28] > > (gdb) PASS: gdb.base/memops-watchpoint.exp: set watch on a > > watch -location b[28] > > Hardware watchpoint 3: -location b[28] > > (gdb) PASS: gdb.base/memops-watchpoint.exp: set watchpoint on b > > watch -location c[28] > > Hardware watchpoint 4: -location c[28] > > (gdb) PASS: gdb.base/memops-watchpoint.exp: set watchpoint on c > > continue > > Continuing. > > > > Hardware watchpoint 2: -location a[28] > > > > Old value = 104 'h' > > New value = 0 '\000' > > __GI___memset_generic () at ../sysdeps/aarch64/memset.S:67 > > 67 tbz count, 5, 1f > > (gdb) PASS: gdb.base/memops-watchpoint.exp: continue until memset watchpoint hits > > continue > > Continuing. > > FAIL: gdb.base/memops-watchpoint.exp: continue until memcpy watchpoint hits (timeout) > > continue > > FAIL: gdb.base/memops-watchpoint.exp: continue until memmove watchpoint hits (timeout) > > testcase /ironwood1/sourceware-git/macbook-review/bld/../../worktree-review/gdb/testsuite/gdb.base/memops-watchpoint.exp completed in 20 seconds > > > > === gdb Summary === > > > > # of expected passes 4 > > # of unexpected failures 2 > > > > Is this demonstrating the bug (31484) ? > > Hm. Probably. I haven't seen this behaviour in my tests. It's hard to > say why GDB hung. Can you try to "set debug infrun on" at that point? I tried running the test again on my macbook and can no longer reproduce that failure. I'm seeing 6 passes now. (No reboots or updates either. uptime shows that it's been up for 111 days.) Kevin