From: John Levon <john.levon@joyent.com>
To: smatch@vger.kernel.org
Subject: Re: [PATCH] Use sm_debug for a debug message
Date: Thu, 19 Dec 2019 15:31:42 +0000 [thread overview]
Message-ID: <20191219153142.GA17738@movementarian.org> (raw)
In-Reply-To: <20191219152751.8837-1-john.levon@joyent.com>
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
parent reply other threads:[~2019-12-19 15:31 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20191219152751.8837-1-john.levon@joyent.com>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191219153142.GA17738@movementarian.org \
--to=john.levon@joyent.com \
--cc=smatch@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).