VirtualBox

Ignore:
Timestamp:
Jan 2, 2015 12:42:11 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
97471
Message:

VBoxDTrace: fixes (r71)

Location:
trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/dt_open.c

    r53683 r53694  
    13691369        dt_program_destroy(dtp, pgp);
    13701370
     1371#ifndef VBOX
    13711372        /*
    13721373         * Set up the default DTrace library path.  Once set, the next call to
     
    13781379        if (dtrace_setopt(dtp, "libdir", _dtrace_libdir) != 0)
    13791380                return (set_open_errno(dtp, errp, dtp->dt_errno));
     1381#endif
    13801382
    13811383        return (dtp);
  • trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/dtrace.h

    r53659 r53694  
    158158        dtrace_attribute_t dtsd_descattr;       /* probedesc attributes */
    159159        dtrace_attribute_t dtsd_stmtattr;       /* statement attributes */
     160#if defined(VBOX) && defined(__GNUC__) && defined(RT_ARCH_AMD64)
     161        /* gcc 4.4.5 p1.3 hass been seen doing a 64-bit access to read
     162           dtsd_stmtattr (which is 3 bytes), thereby accessing bytes beyond the
     163           end of the structure. */
     164        uint32_t u32Padding;
     165#endif
    160166} dtrace_stmtdesc_t;
    161167
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette