* [Bug translator/13934] New: hand-written assembly SDT probes fail to parse
@ 2012-04-01 18:27 mjw at redhat dot com
2012-04-01 18:29 ` [Bug translator/13934] " mjw at redhat dot com
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: mjw at redhat dot com @ 2012-04-01 18:27 UTC (permalink / raw)
To: systemtap
http://sourceware.org/bugzilla/show_bug.cgi?id=13934
Bug #: 13934
Summary: hand-written assembly SDT probes fail to parse
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
AssignedTo: systemtap@sourceware.org
ReportedBy: mjw@redhat.com
Classification: Unclassified
FAIL: sdt_misc asm (0) asm
spawn /usr/local/install/systemtap/bin/stap -c
/usr/local/build/systemtap-obj/te
stsuite/sdt_asm.x /home/mark/src/systemtap/testsuite/systemtap.base/sdt_asm.stp
/usr/local/build/systemtap-obj/testsuite/sdt_asm.x
WARNING: cannot find module /usr/local/build/systemtap-obj/testsuite/sdt_asm.x
d
ebuginfo: No DWARF information found
semantic error: while resolving probe point: identifier 'process' at
/home/mark/
src/systemtap/testsuite/systemtap.base/sdt_asm.stp:1:7
source: probe process(@1).mark("a")
^
semantic error: no match
This is caused by:
commit 272c9036cb73f3763e3a8a550a48ac59799fcbe6
Author: Wade Farnsworth <wade_farnsworth@mentor.com>
Date: Wed Mar 28 07:46:16 2012 -0700
PR13475: Fix ARM SDT_V3 operand parsing
* Include regular expressions to parse ARM operands
* Add ARM register data
* Allow for whitespace in ARM operands containing []'s
Signed-off-by: Wade Farnsworth <wade_farnsworth@mentor.com>
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug translator/13934] hand-written assembly SDT probes fail to parse
2012-04-01 18:27 [Bug translator/13934] New: hand-written assembly SDT probes fail to parse mjw at redhat dot com
@ 2012-04-01 18:29 ` mjw at redhat dot com
2012-04-01 19:34 ` jistone at redhat dot com
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: mjw at redhat dot com @ 2012-04-01 18:29 UTC (permalink / raw)
To: systemtap
http://sourceware.org/bugzilla/show_bug.cgi?id=13934
--- Comment #1 from Mark Wielaard <mjw at redhat dot com> 2012-04-01 18:28:28 UTC ---
Some more analysis:
http://sourceware.org/ml/systemtap/2012-q2/msg00001.html
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug translator/13934] hand-written assembly SDT probes fail to parse
2012-04-01 18:27 [Bug translator/13934] New: hand-written assembly SDT probes fail to parse mjw at redhat dot com
2012-04-01 18:29 ` [Bug translator/13934] " mjw at redhat dot com
@ 2012-04-01 19:34 ` jistone at redhat dot com
2012-04-02 3:31 ` fche at redhat dot com
2012-07-18 22:15 ` jistone at redhat dot com
3 siblings, 0 replies; 5+ messages in thread
From: jistone at redhat dot com @ 2012-04-01 19:34 UTC (permalink / raw)
To: systemtap
http://sourceware.org/bugzilla/show_bug.cgi?id=13934
Josh Stone <jistone at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jistone at redhat dot com
--- Comment #2 from Josh Stone <jistone at redhat dot com> 2012-04-01 19:33:49 UTC ---
(In reply to comment #1)
> Some more analysis:
> http://sourceware.org/ml/systemtap/2012-q2/msg00001.html
> For compiler-generated code, each argument will be of the form N@OP.
> For hand-written assembly, or for inline assembly in C or C++, the initial
> N@ may be missing. If N is present, it describes the size of the argument.
> [...] If N is omitted, the argument size is the natural size of the operand;
> usually this is the size of the register or the word size of the machine.
> In this case, the signedness is ambiguous.
Ugh, I didn't realize SDTv3 exempted assembly from N@OP, but indeed that's how
it plays out -- _SDT_ARGFMT is only defined in the !__ASSEMBLY__ case. That
certainly complicates things... :(
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug translator/13934] hand-written assembly SDT probes fail to parse
2012-04-01 18:27 [Bug translator/13934] New: hand-written assembly SDT probes fail to parse mjw at redhat dot com
2012-04-01 18:29 ` [Bug translator/13934] " mjw at redhat dot com
2012-04-01 19:34 ` jistone at redhat dot com
@ 2012-04-02 3:31 ` fche at redhat dot com
2012-07-18 22:15 ` jistone at redhat dot com
3 siblings, 0 replies; 5+ messages in thread
From: fche at redhat dot com @ 2012-04-02 3:31 UTC (permalink / raw)
To: systemtap
http://sourceware.org/bugzilla/show_bug.cgi?id=13934
Frank Ch. Eigler <fche at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fche at redhat dot com
--- Comment #3 from Frank Ch. Eigler <fche at redhat dot com> 2012-04-02 03:30:28 UTC ---
One possible solution is to detect the absence of @'s in the sdt-v3 operand
string, and infer that this was an assembler invocation. Then back down to ' '
based tokenization (and make the spaced-out arm operand unusable).
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug translator/13934] hand-written assembly SDT probes fail to parse
2012-04-01 18:27 [Bug translator/13934] New: hand-written assembly SDT probes fail to parse mjw at redhat dot com
` (2 preceding siblings ...)
2012-04-02 3:31 ` fche at redhat dot com
@ 2012-07-18 22:15 ` jistone at redhat dot com
3 siblings, 0 replies; 5+ messages in thread
From: jistone at redhat dot com @ 2012-07-18 22:15 UTC (permalink / raw)
To: systemtap
http://sourceware.org/bugzilla/show_bug.cgi?id=13934
Josh Stone <jistone at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #4 from Josh Stone <jistone at redhat dot com> 2012-07-18 22:15:10 UTC ---
(In reply to comment #3)
> One possible solution is to detect the absence of @'s in the sdt-v3 operand
> string, and infer that this was an assembler invocation. Then back down to ' '
> based tokenization (and make the spaced-out arm operand unusable).
commit e9a90eeef4d09e69fa8de9b9285dfd4bf1e22c7f
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-07-18 22:15 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-01 18:27 [Bug translator/13934] New: hand-written assembly SDT probes fail to parse mjw at redhat dot com
2012-04-01 18:29 ` [Bug translator/13934] " mjw at redhat dot com
2012-04-01 19:34 ` jistone at redhat dot com
2012-04-02 3:31 ` fche at redhat dot com
2012-07-18 22:15 ` jistone at redhat 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).