public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/11847] New: sdt.h for ppc, -mno-regnames, use %I0%0
@ 2010-07-28 21:57 fche at redhat dot com
  2010-09-01 14:57 ` [Bug translator/11847] " fche at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: fche at redhat dot com @ 2010-07-28 21:57 UTC (permalink / raw)
  To: systemtap

We sort of gave up back in bug #11821, but it turns out we can
do somewhat better, if the "%0" is replaced with "%I0%0" for
each SDT_V2 operand slot, for powerpc only.  This would cause
literals to be prefixed with "i", resolving the ambiguity.

Then in turn the translator's $nnnn regex matcher (tapsets.cxx:4675ish)
could accept "i" as a literal number prefix, not just "$".

Up to this point, it's all compatible with SDT_V2 binaries & logic.

However, the later REGISTER case can't presume that the lack-of-"i"
means a register number, since SDT_V2 binaries may exist that precede
this particular change.  So a later magic number may need to be assigned
to communicate to the translator that %I0%0 was specified, and thus
lack-of-"i" means "register number, for sure".

-- 
           Summary: sdt.h for ppc, -mno-regnames, use %I0%0
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: fche at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=11847

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug translator/11847] sdt.h for ppc, -mno-regnames, use %I0%0
  2010-07-28 21:57 [Bug translator/11847] New: sdt.h for ppc, -mno-regnames, use %I0%0 fche at redhat dot com
@ 2010-09-01 14:57 ` fche at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: fche at redhat dot com @ 2010-09-01 14:57 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2010-09-01 14:56 -------
Part of sdt v3.

*** This bug has been marked as a duplicate of 11916 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


http://sourceware.org/bugzilla/show_bug.cgi?id=11847

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-09-01 14:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-28 21:57 [Bug translator/11847] New: sdt.h for ppc, -mno-regnames, use %I0%0 fche at redhat dot com
2010-09-01 14:57 ` [Bug translator/11847] " fche 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).