VirtualBox

Ignore:
Timestamp:
Jan 27, 2015 5:50:17 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
97876
Message:

VBoxDTrace: Morphing it into an extension pack, adding a wrapper binary, VBoxDTrace, that calls dtrace or the extension pack depending on what it finds. Build fixes for recent linux.

Location:
trunk/src/VBox/ExtPacks/VBoxDTrace/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ExtPacks/VBoxDTrace/include/VBoxDTraceLibCWrappers.h

    r53716 r53974  
    2929#else
    3030# include <sys/types.h>
     31# include <limits.h>        /* Workaround for syslimit.h bug in gcc 4.8.3 on gentoo. */
    3132# include <syslimits.h>     /* PATH_MAX */
    3233# include <libgen.h>        /* basename */
  • trunk/src/VBox/ExtPacks/VBoxDTrace/include/VBoxDTraceTypes.h

    r53716 r53974  
    2424#include <iprt/types.h>
    2525#include <iprt/stdarg.h>
     26#include <iprt/assert.h>
    2627#include <iprt/param.h>
    2728#include <iprt/errno.h>
     
    3233# include <sys/types.h>
    3334# include <limits.h>
     35# ifdef RT_OS_LINUX
     36#  include <sys/ucontext.h> /* avoid greg_t trouble */
     37# endif
    3438# if defined(_MSC_VER)
    3539#  include <stdio.h>
     
    4852typedef uint64_t                    u_longlong_t;
    4953typedef uint64_t                    hrtime_t;
     54#if !defined(NGREG) || !defined(RT_OS_LINUX)
    5055typedef RTCCINTREG                  greg_t;
     56#else
     57AssertCompileSize(greg_t, sizeof(RTCCINTREG));
     58#endif
    5159typedef uintptr_t                   pc_t;
    5260typedef uint32_t                    id_t;
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