On 02/17/2012 10:55 AM, Yao Qi wrote: > This patch is to exercise agent in linux native gdb by command `info > static-tracepoint-marker'. The implementation of `linux_child_static_tracepoint_markers_by_strid' > is quite similar to its counterpart in remote target, except bits to pause and unpause > all threads in current process. Even target_ops hook `can_use_agent' and `use_agent' are implemented in inf-child.c by patch [PATCH 8/9] impl of use_agent and can_use_agent in linux-nat http://sourceware.org/ml/gdb-patches/2012-02/msg00553.html I am still inclined to implement static_tracepoint_markers_by_strid in linux-nat, because there is no agent at all for non-linux system. Although agent itself is quite generic to all unix system, it still needs de-couple from tracepoint. On the other hand, UST is Linux-specific, so it is better to keep static_tracepoint_markers_by_strid implemented in linux-nat. -- Yao (齐尧)