This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/17389] New: linux_child_static_tracepoint_markers_by_strid doesn't wait for target to stop


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]