public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug dap/31434] New: [gdb/dap, testsuite] Test race of cancellation with end of request
@ 2024-02-29 11:34 vries at gcc dot gnu.org
  0 siblings, 0 replies; only message in thread
From: vries at gcc dot gnu.org @ 2024-02-29 11:34 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 31434
           Summary: [gdb/dap, testsuite] Test race of cancellation with
                    end of request
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: dap
          Assignee: unassigned at sourceware dot org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

The test-case pause.exp is the only dap test-case that tests cancellation.

There are three requests cancelled:
- a continue
- a loop in gdb
- a loop in python

For all three, I think the race between cancellation and start of request is
excercised.

For the first one, the cancellation is caught by _on_stop, so the end of
request is only reached via normal return.

For the last two, since both of them hang, the end of request is only reached
through cancellation.

Consequently, the race between cancellation and end of request is currently
untested.

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-02-29 11:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-29 11:34 [Bug dap/31434] New: [gdb/dap, testsuite] Test race of cancellation with end of request 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).