public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug python/31391] New: Incorrect FinishBreakpoint test
@ 2024-02-16 15:41 tromey at sourceware dot org
  2024-02-18 10:23 ` [Bug python/31391] " ssbssa at sourceware dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: tromey at sourceware dot org @ 2024-02-16 15:41 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 31391
           Summary: Incorrect FinishBreakpoint test
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: python
          Assignee: unassigned at sourceware dot org
          Reporter: tromey at sourceware dot org
  Target Milestone: ---

py-finishbreakpoint.exp does this:

    gdb_test "python print (finishbp_default.hit_count)" "1.*" "check finishBP
on default frame has been hit"

It is trying to check the hit count of this breakpoint.
However, the actual output is:

python print (finishbp_default.hit_count)
Traceback (most recent call last):
  File "<string>", line 1, in <module>
RuntimeError: Breakpoint 3 is invalid.
Error while executing Python code.


... which matches by mistake.
This came up in a patch series I'm working on.

I plan to kfail this but not close this bug; I think
this probably is a real problem of some sort.

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

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

end of thread, other threads:[~2024-02-27 15:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-16 15:41 [Bug python/31391] New: Incorrect FinishBreakpoint test tromey at sourceware dot org
2024-02-18 10:23 ` [Bug python/31391] " ssbssa at sourceware dot org
2024-02-26 16:05 ` vries at gcc dot gnu.org
2024-02-27  8:22 ` vries at gcc dot gnu.org
2024-02-27  9:14 ` vries at gcc dot gnu.org
2024-02-27  9:14 ` [Bug testsuite/31391] " vries at gcc dot gnu.org
2024-02-27 15:18 ` cvs-commit at gcc dot gnu.org
2024-02-27 15:19 ` 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).