[PATCH V4 5/9] New probe type: DTrace USDT probes.
Jose E. Marchesi
jose.marchesi@oracle.com
Fri Aug 7 13:14:00 GMT 2015
+ if (DOF_UINT (dof, section->dofs_size)
+ < sizeof (struct dtrace_dof_provider))
+ {
+ /* The section is smaller than expected, so do not use it.
+ This has been observed on x86-solaris 10. */
+ goto invalid_dof_data;
+ }
+
It looks to me that at some point a new field was probably added to the
struct dtrace_dof_provider, changing its size. If the DOF sections
found in the solaris-x86 binaries were generated before the change, that
would explain the discrepancy in size.
More information about the Gdb-patches
mailing list