[Bug translator/10298] New: bring back NULL
fche at redhat dot com
sourceware-bugzilla@sourceware.org
Thu Jun 18 20:56:00 GMT 2009
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.
More information about the Systemtap
mailing list