From: Kevin Buettner <kevinb@redhat.com>
To: Thiago Jung Bauermann <thiago.bauermann@linaro.org>
Cc: gdb-patches@sourceware.org, Luis Machado <luis.machado@arm.com>
Subject: Re: [PATCH v3 2/2] gdb/testsuite: Add gdb.base/memops-watchpoint.exp
Date: Wed, 24 Apr 2024 16:22:16 -0700 [thread overview]
Message-ID: <20240424162216.5aaa409d@f39-zbm-amd> (raw)
In-Reply-To: <87cyqe3d44.fsf@linaro.org>
On Wed, 24 Apr 2024 14:05:31 -0300
Thiago Jung Bauermann <thiago.bauermann@linaro.org> 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
next prev parent reply other threads:[~2024-04-24 23:22 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-22 23:06 [PATCH v3 0/2] Add testcase for libc memory operations Thiago Jung Bauermann
2024-04-22 23:06 ` [PATCH v3 1/2] gdb/testsuite: Add libc_has_debug_info require helper Thiago Jung Bauermann
2024-04-23 17:09 ` Kevin Buettner
2024-04-24 16:25 ` Thiago Jung Bauermann
2024-04-25 19:39 ` Bernd Edlinger
2024-04-26 3:00 ` Thiago Jung Bauermann
2024-04-26 5:06 ` Bernd Edlinger
2024-04-26 16:35 ` Pedro Alves
2024-04-26 17:18 ` Thiago Jung Bauermann
2024-04-30 1:57 ` Thiago Jung Bauermann
2024-04-22 23:07 ` [PATCH v3 2/2] gdb/testsuite: Add gdb.base/memops-watchpoint.exp Thiago Jung Bauermann
2024-04-23 17:52 ` Kevin Buettner
2024-04-24 17:05 ` Thiago Jung Bauermann
2024-04-24 23:22 ` Kevin Buettner [this message]
2024-04-26 1:42 ` Thiago Jung Bauermann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240424162216.5aaa409d@f39-zbm-amd \
--to=kevinb@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=luis.machado@arm.com \
--cc=thiago.bauermann@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).