Return-Path: Received: from mail-wm1-f67.google.com ([209.85.128.67]:51023 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726855AbfLSPbr (ORCPT ); Thu, 19 Dec 2019 10:31:47 -0500 Received: by mail-wm1-f67.google.com with SMTP id a5so5868573wmb.0 for ; Thu, 19 Dec 2019 07:31:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joyent.com; s=google; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=w9JWm0wyj4yW5nM+JE6Lg5B4QWydJT+JwfWbjNZTjIw=; b=dK7P9LswrKlMGdNsesawYg9xj+hjZZnTHQl7AtCrKJ/I3aLbFL4HEs4CRCS+Yeov8T RdadZNa2NapwOp3l5PCsSeYZxvb44eUckZdjOZUs+N+1JW8SwG/EHaCOTLRZ/U7DXkJL dRCeMxOKPQybHtt0VkYyHpZ3qUUqi6pzgJa/k= Received: from john.levon (movementarian.org. [178.79.150.28]) by smtp.gmail.com with ESMTPSA id p17sm6694372wrx.20.2019.12.19.07.31.42 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Dec 2019 07:31:44 -0800 (PST) Date: Thu, 19 Dec 2019 15:31:42 +0000 From: John Levon Subject: Re: [PATCH] Use sm_debug for a debug message Message-ID: <20191219153142.GA17738@movementarian.org> References: <20191219152751.8837-1-john.levon@joyent.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191219152751.8837-1-john.levon@joyent.com> Sender: smatch-owner@vger.kernel.org List-ID: To: smatch@vger.kernel.org On Thu, Dec 19, 2019 at 03:27:51PM +0000, John Levon wrote: > --- > smatch_ranges.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/smatch_ranges.c b/smatch_ranges.c > index 4da1b334..c06f1803 100644 > --- a/smatch_ranges.c > +++ b/smatch_ranges.c > @@ -564,7 +564,7 @@ static void str_to_rl_helper(struct expression *call, struct symbol *type, const > break; > } > if (*c != '-') { > - sm_msg("debug XXX: trouble parsing %s c = %s", str, c); > + sm_debug("XXX: trouble parsing %s c = %s", str, c); > break; > } > c++; Here's all the unique parse failures I hit with our tree, by the way: ../common/topo_xml.c:250 xlate_common() debug XXX: trouble parsing -inf-inf c = inf-inf od.c:174 do_double() debug XXX: trouble parsing -1.797693e+308-1.797693e+308 c = .797693e+308-1.797693e+308 od.c:175 do_ldouble() debug XXX: trouble parsing -1.189731e+4932-1.189731e+4932 c = .189731e+4932-1.189731e+4932 regards joh n