From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-x435.google.com (mail-pf1-x435.google.com [IPv6:2607:f8b0:4864:20::435]) by sourceware.org (Postfix) with ESMTPS id D95203858D35 for ; Mon, 22 Apr 2024 23:07:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D95203858D35 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org D95203858D35 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::435 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713827231; cv=none; b=Nvu0NaLG6q7W4Xw3H5uGOUNPAqzzUMV70mRTb7S6p0Xl866zDVEpF9vsS02E3fVBJcpEkMu88skFBFgFyi04njSizKSZs7FlJc8aiRnp5Vie72l1IhreL03ASsrw6R2Id4EyflJ47mR40DJnF6wwJJ7Yb6prOpWNfhuiXxOybko= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713827231; c=relaxed/simple; bh=cdjU0j7THMgMTxwkQ7jQFoEETCx7DkjF4cE40HQwFQg=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=ma/kbfYFpdFnew7SOOKPNJwAtMyc3mF6t5++f3sfMhcAe7MhZ4UtU5igopIc/Wzfc2vaIBtzqLlw/aYVe3sRu2/PmlBUSqxaCnrZRseNqYRjyN1BIrxPyVBgfjPfjIAbtfyz3amwqAJHQZUdWmjUda7Lq8CN5qzjde37XhM5OIo= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pf1-x435.google.com with SMTP id d2e1a72fcca58-6ed9fc77bbfso3968476b3a.1 for ; Mon, 22 Apr 2024 16:07:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713827223; x=1714432023; darn=sourceware.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=5hOUMRJR35VzKC1hpj+MdB7XDAtLMbq7B4gqZc0V5F0=; b=mGk8JUunSaOdD5SarEfy515q9eKD6pni1R+wikjQ8oWFSZBuVDpchLB9sYX4gtZWhj I7GEGH6T2yQiKX5yHTILQrKvjO+0gBB4g9/fTqu59XQg5E48S2jQnIt3fwjcm1mZ7vCq YUPH63b0n3NPpL4knjN9oquI4LDezvlbXbxST0v1/Z24lo0futACx+/xT/RGgFhiLdto PCj1Hw4IwhR2hGaNTdLYlVZZ3qShtk1rioR5LmUCluWlF5HMpjH/1Rk/sBP+5zoSYxg0 rxRZ5l4UAICrFKiatlKb+hQEr0vBB53z+yFr/3X76egdNHECFqq6ftZLxduH5urM75RX T6ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713827223; x=1714432023; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=5hOUMRJR35VzKC1hpj+MdB7XDAtLMbq7B4gqZc0V5F0=; b=Yxf/PV4tLYZXv1/xhUp95JWIj7gLmxUEdgPRv3zar8erFVwYW4F8ubohZvcmQIDlj/ qKQ++Z1xERt6KDnDZ9uLZoO7bYwwA88AxCvZJrRYpRYW4frm8UxiHWzbee0uYv+c5SDH 0F6Oi+MLyUUQhHXC8GfFsrz0btQa0q6FN9Ozb6rPFaI3DbFRd6szhKNf/k1q1jBk/mAO 5NIxboGV5uEwmAx/b6aQDW7Q47rdrNzaVMctZutRzPNcdDHgR3QrxCu/uKWvRWWskOxW ZRQiNsTYstbPPW+M+ZjvAmbs1QLf6l165uPF0BixmyPJJ9ldP+0P5jOKlzXqtz9OFdJ9 PvKg== X-Gm-Message-State: AOJu0YxB+c+qT1hQLNlmo8JNALWX4zXJoccGXKh4hyTwCWPczKUKhIxW Gvx5ID/H1ap0e0Sclh9+c1+Ioph5rrR6AuKNLHPUDErKmcmfTHwWeis2O095jGbAIJXgw3YFlyw / X-Google-Smtp-Source: AGHT+IE7ldBLP6ElZ6Iq1OJaxXoPaVBkF72MaHt9mrXafUbac/hqIct1d/A7Fsz0JJosvkWI6CRxEQ== X-Received: by 2002:a05:6a21:1505:b0:1ad:31e2:56c with SMTP id nq5-20020a056a21150500b001ad31e2056cmr3299599pzb.8.1713827222793; Mon, 22 Apr 2024 16:07:02 -0700 (PDT) Received: from localhost ([2804:14d:7e39:8470:25e4:a74b:cf9:5423]) by smtp.gmail.com with ESMTPSA id fa34-20020a056a002d2200b006e5571be110sm8312798pfb.214.2024.04.22.16.07.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 16:07:02 -0700 (PDT) From: Thiago Jung Bauermann To: gdb-patches@sourceware.org Cc: Kevin Buettner , Luis Machado Subject: [PATCH v3 0/2] Add testcase for libc memory operations Date: Mon, 22 Apr 2024 20:06:58 -0300 Message-ID: <20240422230700.1173173-1-thiago.bauermann@linaro.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,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: Hello, When I sent v2 yesterday, I hadn't seen. Kevin's review comments. This version addresses them. As a result, memops-watchpoint.exp now tries harder to work even if there's no libc debug info available. The new testcase doesn't use the libc_has_debug_info require helper anymore, so patch 1 is now an optional cleanup. For reference, v2 is here: https://inbox.sourceware.org/gdb-patches/20240421222657.1052635-1-thiago.bauermann@linaro.org/ and v1 is here: https://inbox.sourceware.org/gdb-patches/20240420213307.976401-1-thiago.bauermann@linaro.org/ Thiago Jung Bauermann (2): gdb/testsuite: Add libc_has_debug_info require helper gdb/testsuite: Add gdb.base/memops-watchpoint.exp gdb/testsuite/gdb.base/memops-watchpoint.c | 45 ++++++ gdb/testsuite/gdb.base/memops-watchpoint.exp | 160 +++++++++++++++++++ gdb/testsuite/gdb.base/relativedebug.exp | 13 +- gdb/testsuite/lib/gdb.exp | 56 +++++++ 4 files changed, 262 insertions(+), 12 deletions(-) create mode 100644 gdb/testsuite/gdb.base/memops-watchpoint.c create mode 100644 gdb/testsuite/gdb.base/memops-watchpoint.exp base-commit: fdaa4939e5024ea809c0d4d1aa6043a60b37d9b5