This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/10298] New: bring back NULL
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 18 Jun 2009 20:56:02 -0000
- Subject: [Bug translator/10298] New: bring back NULL
- Reply-to: sourceware-bugzilla at sourceware dot org
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.