Skip to content

Commit

Permalink
[mi tracing] trace all commands by default if no filter list defined
Browse files Browse the repository at this point in the history
  • Loading branch information
ionutrazvanionita committed Jan 31, 2017
1 parent aae62b5 commit 7432001
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mi/mi.c
Expand Up @@ -177,7 +177,8 @@ int register_mi_cmd( mi_cmd_f f, char *name, char *help, void *param,
return -1;
}

*cmds->trace_mask = 0;
/* by default all commands are traced */
*cmds->trace_mask = (~(volatile unsigned char)0);

return 0;
}
Expand Down

0 comments on commit 7432001

Please sign in to comment.