public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/17389] New: linux_child_static_tracepoint_markers_by_strid doesn't wait for target to stop
@ 2014-09-13  6:32 dje at google dot com
  0 siblings, 0 replies; only message in thread
From: dje at google dot com @ 2014-09-13  6:32 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 17389
           Summary: linux_child_static_tracepoint_markers_by_strid doesn't
                    wait for target to stop
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: dje at google dot com

Filing this so it's not forgotten ...

I happened to be reading
linux-nat.c:linux_child_static_tracepoint_markers_by_strid and noticed a call
to target_stop followed by a call to agent_run_command.
target_stop is asynchronous, but gdb should wait for the target to stop before
calling agent_run_command.

ref:
https://sourceware.org/ml/gdb-patches/2014-09/msg00453.html

-- 
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:[~2014-09-13  6:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-13  6:32 [Bug gdb/17389] New: linux_child_static_tracepoint_markers_by_strid doesn't wait for target to stop dje at google dot com

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