gdb/gdbserver:
authorYao Qi <yao@codesourcery.com>
Fri, 2 Mar 2012 00:12:47 +0000 (00:12 +0000)
committerYao Qi <yao@codesourcery.com>
Fri, 2 Mar 2012 00:12:47 +0000 (00:12 +0000)
* tracepoint.c (collect_ust_data_at_tracepoint): Remove parameters
`stop_pc' and `tpoint'.  Update caller.

gdb/gdbserver/ChangeLog
gdb/gdbserver/tracepoint.c

index 82971cd303c05047e0388667fd94a9a0a4387fe2..5883c2ea5ad2b5c4cc51cf2a2fdab372f4c444cc 100644 (file)
@@ -1,3 +1,8 @@
+2012-03-02  Yao Qi  <yao@codesourcery.com>
+
+       * tracepoint.c (collect_ust_data_at_tracepoint): Remove parameters
+       `stop_pc' and `tpoint'.  Update caller.
+
 2012-03-01  Maciej W. Rozycki  <macro@codesourcery.com>
 
        * linux-low.h (linux_target_ops): Add regset_bitmap member.
index dfa48a72e1e9c83067f725cf80ad0c9f6c047462..baa9d94d7fe38877b1ac4489f9c68f1607e2c4ba 100644 (file)
@@ -4264,8 +4264,6 @@ tracepoint_was_hit (struct thread_info *tinfo, CORE_ADDR stop_pc)
 #if defined IN_PROCESS_AGENT && defined HAVE_UST
 struct ust_marker_data;
 static void collect_ust_data_at_tracepoint (struct tracepoint_hit_ctx *ctx,
-                                           CORE_ADDR stop_pc,
-                                           struct tracepoint *tpoint,
                                            struct traceframe *tframe);
 #endif
 
@@ -4504,8 +4502,7 @@ do_action_at_tracepoint (struct tracepoint_hit_ctx *ctx,
       {
 #if defined IN_PROCESS_AGENT && defined HAVE_UST
        trace_debug ("Want to collect static trace data");
-       collect_ust_data_at_tracepoint (ctx, stop_pc,
-                                       tpoint, tframe);
+       collect_ust_data_at_tracepoint (ctx, tframe);
 #else
        trace_debug ("warning: collecting static trace data, "
                     "but static tracepoints are not supported");
@@ -6340,8 +6337,6 @@ gdb_probe (const struct marker *mdata, void *probe_private,
 
 static void
 collect_ust_data_at_tracepoint (struct tracepoint_hit_ctx *ctx,
-                               CORE_ADDR stop_pc,
-                               struct tracepoint *tpoint,
                                struct traceframe *tframe)
 {
   struct static_tracepoint_ctx *umd = (struct static_tracepoint_ctx *) ctx;