+2011-11-02 Yao Qi <yao@codesourcery.com>
+
+ * tracepoint.c (cmd_qtstart): Remove unused local variables.
+
2011-11-02 Yao Qi <yao@codesourcery.com>
* target.h: Fix a typo in comment.
cmd_qtstart (char *packet)
{
struct tracepoint *tpoint, *prev_ftpoint, *prev_stpoint;
- int slow_tracepoint_count, fast_count;
CORE_ADDR jump_entry;
/* The jump to the jump pad of the last fast tracepoint
trace_debug ("Starting the trace");
- slow_tracepoint_count = fast_count = 0;
-
/* Sort tracepoints by ascending address. This makes installing
fast tracepoints at the same address easier to handle. */
sort_tracepoints ();
if (tpoint->type == trap_tracepoint)
{
- ++slow_tracepoint_count;
-
/* Tracepoints are installed as memory breakpoints. Just go
ahead and install the trap. The breakpoints module
handles duplicated breakpoints, and the memory read
}
else if (tpoint->type == fast_tracepoint)
{
- ++fast_count;
-
if (maybe_write_ipa_not_loaded (packet))
{
trace_debug ("Requested a fast tracepoint, but fast "