public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/29196] New: [gdb, gcc-12/m32/pie] FAIL: gdb.base/gdb11531.exp: watchpoint variable triggers at next
@ 2022-05-28  7:55 vries at gcc dot gnu.org
  2022-05-28  8:04 ` [Bug gdb/29196] " vries at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: vries at gcc dot gnu.org @ 2022-05-28  7:55 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=29196

            Bug ID: 29196
           Summary: [gdb, gcc-12/m32/pie] FAIL: gdb.base/gdb11531.exp:
                    watchpoint variable triggers at next
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

On openSUSE Tumbleweed with gcc-12, and with test-case gdb.base/gdb11531.exp
and target board unix/-m32/-fPIE/-pie I run into:
...
(gdb) PASS: gdb.base/gdb11531.exp: set watchpoint
next^M
34        myrec.x = 5;^M
(gdb) FAIL: gdb.base/gdb11531.exp: watchpoint variable triggers at next
...

The problem is that normally runto main lands us at:
...
Breakpoint 1, main () at
/data/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb11531.c:34^M
34        myrec.x = 5;^M
(gdb) 
...
after which the next executes line 34.

In this case however, runto main lands us at:
...
Breakpoint 1, main () at
/data/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/gdb11531.c:33^M
33      {^M
(gdb) 
...
so the next executes line 33, and the watchpoint won't trigger.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-06-08  9:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-28  7:55 [Bug gdb/29196] New: [gdb, gcc-12/m32/pie] FAIL: gdb.base/gdb11531.exp: watchpoint variable triggers at next vries at gcc dot gnu.org
2022-05-28  8:04 ` [Bug gdb/29196] " vries at gcc dot gnu.org
2022-05-28  8:08 ` vries at gcc dot gnu.org
2022-05-28  8:26 ` vries at gcc dot gnu.org
2022-06-04 11:59 ` vries at gcc dot gnu.org
2022-06-08  9:17 ` vries at gcc dot gnu.org
2022-06-08  9:48 ` vries at gcc dot gnu.org

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).