* [Bug runtime/21064] New: dtrace script reports wrong line number for syntax errors .d files
@ 2017-01-18 22:19 630dr7+9vgtozzjuj0gg at sharklasers dot com
2017-01-20 23:41 ` [Bug runtime/21064] " fche at redhat dot com
2017-01-21 22:43 ` 630dr7+9vgtozzjuj0gg at sharklasers dot com
0 siblings, 2 replies; 3+ messages in thread
From: 630dr7+9vgtozzjuj0gg at sharklasers dot com @ 2017-01-18 22:19 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=21064
Bug ID: 21064
Summary: dtrace script reports wrong line number for syntax
errors .d files
Product: systemtap
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: runtime
Assignee: systemtap at sourceware dot org
Reporter: 630dr7+9vgtozzjuj0gg at sharklasers dot com
Target Milestone: ---
Example:
https://raw.githubusercontent.com/nodejs/node/master/src/node_provider.d
# dtrace -C -G -s src/node_provider.d -o
"/tmp/nodejs/node-v6.9.4/out/Release/obj/gen/node_dtrace_provider.o"
Warning: /usr/bin/dtrace:/tmp/tmpevd93go7.d:30: syntax error near:
probe net__server__connection
The error is actually on line 55, the file contains a large comment in the
header
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug runtime/21064] dtrace script reports wrong line number for syntax errors .d files
2017-01-18 22:19 [Bug runtime/21064] New: dtrace script reports wrong line number for syntax errors .d files 630dr7+9vgtozzjuj0gg at sharklasers dot com
@ 2017-01-20 23:41 ` fche at redhat dot com
2017-01-21 22:43 ` 630dr7+9vgtozzjuj0gg at sharklasers dot com
1 sibling, 0 replies; 3+ messages in thread
From: fche at redhat dot com @ 2017-01-20 23:41 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=21064
Frank Ch. Eigler <fche at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |fche at redhat dot com
Resolution|--- |WORKSFORME
--- Comment #1 from Frank Ch. Eigler <fche at redhat dot com> ---
I see what you mean, but note that the line number relates to the /tmp/* file,
in which it is actually correct. Your command line supplied -C (use cpp).
Without that, you'll see the expected line number in the expected file.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug runtime/21064] dtrace script reports wrong line number for syntax errors .d files
2017-01-18 22:19 [Bug runtime/21064] New: dtrace script reports wrong line number for syntax errors .d files 630dr7+9vgtozzjuj0gg at sharklasers dot com
2017-01-20 23:41 ` [Bug runtime/21064] " fche at redhat dot com
@ 2017-01-21 22:43 ` 630dr7+9vgtozzjuj0gg at sharklasers dot com
1 sibling, 0 replies; 3+ messages in thread
From: 630dr7+9vgtozzjuj0gg at sharklasers dot com @ 2017-01-21 22:43 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=21064
--- Comment #2 from Kinston Hughes <630dr7+9vgtozzjuj0gg at sharklasers dot com> ---
(In reply to Frank Ch. Eigler from comment #1)
> I see what you mean, but note that the line number relates to the /tmp/*
> file, in which it is actually correct. Your command line supplied -C (use
> cpp). Without that, you'll see the expected line number in the expected
> file.
meh. I'd like to use -C. and I'd like to get an error relative to the input I
provided. But it's a minor nuisance that requires a lot of boring fiddling to
address, so let it go.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-01-21 22:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-18 22:19 [Bug runtime/21064] New: dtrace script reports wrong line number for syntax errors .d files 630dr7+9vgtozzjuj0gg at sharklasers dot com
2017-01-20 23:41 ` [Bug runtime/21064] " fche at redhat dot com
2017-01-21 22:43 ` 630dr7+9vgtozzjuj0gg at sharklasers dot com
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).