public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/10298] New: bring back NULL
@ 2009-06-18 20:56 fche at redhat dot com
  2009-06-18 21:20 ` [Bug translator/10298] " fche at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: fche at redhat dot com @ 2009-06-18 20:56 UTC (permalink / raw)
  To: systemtap

Use of "NULL" (defined in tapset/null.stp) in a script breaks pass 4.
It's because of this (at the bottom of pass-3 output):

static void probe_exit (void) {
  systemtap_module_exit ();
}

#undef NULL
module_param_named (NULL, global.s_NULL, int64_t, 0);
#include "stap-symbols.h"
MODULE_DESCRIPTION("systemtap-generated probe");
MODULE_LICENSE("GPL");

stap-symbols.h uses null.

Perhaps these module parameters should be placed at the very
bottom of the compilation unit, after #include ... MODULE_*.

-- 
           Summary: bring back NULL
           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=10298

------- 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/10298] bring back NULL
  2009-06-18 20:56 [Bug translator/10298] New: bring back NULL fche at redhat dot com
@ 2009-06-18 21:20 ` fche at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: fche at redhat dot com @ 2009-06-18 21:20 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2009-06-18 21:20 -------
commit ed35c8a

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


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

------- 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:[~2009-06-18 21:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-18 20:56 [Bug translator/10298] New: bring back NULL fche at redhat dot com
2009-06-18 21:20 ` [Bug translator/10298] " 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).