public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug dap/30472] New: DAP "repl" evaluation can make gdb unresponsive
@ 2023-05-19 15:06 tromey at sourceware dot org
  2023-06-05 15:15 ` [Bug dap/30472] " tromey at sourceware dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: tromey at sourceware dot org @ 2023-05-19 15:06 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 30472
           Summary: DAP "repl" evaluation can make gdb unresponsive
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: dap
          Assignee: unassigned at sourceware dot org
          Reporter: tromey at sourceware dot org
  Target Milestone: ---

gdb implements the "repl" context for the "evaluate" request
by passing the string to gdb as a command.
However, if the command is something like "continue", gdb will
simply continue -- but the DAP thread will presumably wait,
because eval_request uses send_gdb_with_response.

At least... I think this should happen.  Step 1 would be to write
a test for this.  Then, if it fails, some solution would have to
be found.  Perhaps a global flag to automatically treat continue
commands as if they had a "&" would work.

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

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

end of thread, other threads:[~2023-12-11 18:55 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-19 15:06 [Bug dap/30472] New: DAP "repl" evaluation can make gdb unresponsive tromey at sourceware dot org
2023-06-05 15:15 ` [Bug dap/30472] " tromey at sourceware dot org
2023-06-05 15:40 ` tromey at sourceware dot org
2023-07-27 19:43 ` tromey at sourceware dot org
2023-11-06 21:19 ` tromey at sourceware dot org
2023-11-06 21:20 ` tromey at sourceware dot org
2023-11-07 14:11 ` tromey at sourceware dot org
2023-11-16 20:58 ` tromey at sourceware dot org
2023-12-01 15:41 ` tromey at sourceware dot org
2023-12-11 18:54 ` cvs-commit at gcc dot gnu.org
2023-12-11 18:55 ` tromey at sourceware dot 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).