[PATCH V2 3/9] New commands `enable probe' and `disable probe'.

Jose E. Marchesi jose.marchesi@oracle.com
Wed Oct 15 13:28:00 GMT 2014


    > +/* Helper function that parses a probe linespec of the form [PROVIDER
    > +   [PROBE [OBJNAME]]] from the provided string STR.  */
    > +
    > +static void
    > +parse_probe_linespec (const char *str, char **provider,
    > +		      char **probe_name, char **objname)
    > +{
    > +  *probe_name = *objname = NULL;
    > +  
    > +  *provider = extract_arg_const (&str);
    > +  if (*provider)
    
    Ops, another implicit comparison :-).

I changed these comparisons to be explicit.



More information about the Gdb-patches mailing list