public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "vries at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug gdb/30542] New: [gdb] PASS: gdb.base/watch-before-fork.exp: test: continue to watchpoint Date: Mon, 12 Jun 2023 13:19:29 +0000 [thread overview] Message-ID: <bug-30542-4717@http.sourceware.org/bugzilla/> (raw) https://sourceware.org/bugzilla/show_bug.cgi?id=30542 Bug ID: 30542 Summary: [gdb] PASS: gdb.base/watch-before-fork.exp: test: continue to watchpoint Product: gdb Version: 13.1 Status: NEW Severity: normal Priority: P2 Component: gdb Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- With a gdb 13.2 based package, on openSUSE Leap 15.4 powerpc64le, I run into: ... (gdb) PASS: gdb.base/watch-before-fork.exp: test: continue to watchpoint continue^M Continuing.^M [Detaching after fork from child process 19572]^M ^M Hardware access (read/write) watchpoint 2: global_var^M ^M Value = 1^M 0x00000001000007d0 in __do_global_dtors_aux ()^M (gdb) FAIL: gdb.base/watch-before-fork.exp: test: continue to catch fork ... One curious thing about the test-case is that it doesn't exercise the scenario listed in the PR and indeed, the commit message: it doesn't do "catch fork". However, if I checkout the commit and run the test, it passes, and when I revert the fix, it fails, so the test-case does function as a regression test for the fix. Anyway, I can't think of a reason why __do_global_dtors_aux should be accessing global_var, so for now I'm classifying as component gdb rather than testsuite. -- You are receiving this mail because: You are on the CC list for the bug.
next reply other threads:[~2023-06-12 13:19 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-06-12 13:19 vries at gcc dot gnu.org [this message] 2023-06-14 5:52 ` [Bug gdb/30542] [gdb] FAIL: gdb.base/watch-before-fork.exp: test: continue to catch fork vries at gcc dot gnu.org
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=bug-30542-4717@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@sourceware.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: linkBe 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).