VirtualBox

Changeset 19509 in vbox for trunk/include


Ignore:
Timestamp:
May 8, 2009 2:18:39 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
47045
Message:

IPRT: Started on debug support, RTDbg*.

Location:
trunk/include/iprt
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/cdefs.h

    r19177 r19509  
    14921492
    14931493
    1494 /** Size Constants
     1494/** @defgroup grp_rt_cdefs_size     Size Constants
    14951495 * (Of course, these are binary computer terms, not SI.)
    14961496 * @{
     
    15341534/** @} */
    15351535
     1536
     1537/** @defgroup grp_rt_cdefs_dbgtype  Debug Info Types
     1538 * @{ */
     1539/** Other format. */
     1540#define RT_DBGTYPE_OTHER        RT_BIT_32(0)
     1541/** Stabs. */
     1542#define RT_DBGTYPE_STABS        RT_BIT_32(1)
     1543/** Debug With Arbitrary Record Format (DWARF). */
     1544#define RT_DBGTYPE_DWARF        RT_BIT_32(2)
     1545/** Microsoft Codeview debug info. */
     1546#define RT_DBGTYPE_CODEVIEW     RT_BIT_32(3)
     1547/** Watcom debug info. */
     1548#define RT_DBGTYPE_WATCOM       RT_BIT_32(4)
     1549/** IBM High Level Language debug info. */
     1550#define RT_DBGTYPE_HLL          RT_BIT_32(5)
     1551/** Old OS/2 and Windows symbol file. */
     1552#define RT_DBGTYPE_SYM          RT_BIT_32(6)
     1553/** Map file. */
     1554#define RT_DBGTYPE_MAP          RT_BIT_32(7)
     1555/** @} */
     1556
     1557
     1558/** @defgroup grp_rt_cdefs_exetype  Executable Image Types
     1559 * @{ */
     1560/** Some other format. */
     1561#define RT_EXETYPE_OTHER        RT_BIT_32(0)
     1562/** Portable Executable. */
     1563#define RT_EXETYPE_PE           RT_BIT_32(1)
     1564/** Linear eXecutable. */
     1565#define RT_EXETYPE_LX           RT_BIT_32(2)
     1566/** Linear Executable. */
     1567#define RT_EXETYPE_LE           RT_BIT_32(3)
     1568/** New Executable. */
     1569#define RT_EXETYPE_NE           RT_BIT_32(4)
     1570/** DOS Executable (Mark Zbikowski). */
     1571#define RT_EXETYPE_MZ           RT_BIT_32(5)
     1572/** COM Executable. */
     1573#define RT_EXETYPE_COM          RT_BIT_32(6)
     1574/** a.out Executable. */
     1575#define RT_EXETYPE_AOUT         RT_BIT_32(7)
     1576/** Executable and Linkable Format. */
     1577#define RT_EXETYPE_ELF          RT_BIT_32(8)
     1578/** Mach-O Executable (including FAT ones). */
     1579#define RT_EXETYPE_MACHO        RT_BIT_32(9)
     1580/** TE from UEFI. */
     1581#define RT_EXETYPE_TE           RT_BIT_32(9)
     1582/** @} */
     1583
     1584
    15361585/** @def VALID_PTR
    15371586 * Pointer validation macro.
  • trunk/include/iprt/types.h

    r18909 r19509  
    11681168
    11691169/** A handle table handle. */
    1170 typedef struct RTHANDLETABLEINT                    *RTHANDLETABLE;
     1170typedef R3R0PTRTYPE(struct RTHANDLETABLEINT *)      RTHANDLETABLE;
    11711171/** A pointer to a handle table handle. */
    11721172typedef RTHANDLETABLE                              *PRTHANDLETABLE;
     
    11761176
    11771177/** A handle to a low resolution timer. */
    1178 typedef struct RTTIMERLRINT                        *RTTIMERLR;
     1178typedef R3R0PTRTYPE(struct RTTIMERLRINT *)          RTTIMERLR;
    11791179/** A pointer to a low resolution timer handle. */
    11801180typedef RTTIMERLR                                  *PRTTIMERLR;
     
    11841184
    11851185/** Handle to a random number generator. */
    1186 typedef struct RTRANDINT                           *RTRAND;
     1186typedef R3R0PTRTYPE(struct RTRANDINT *)             RTRAND;
    11871187/** Pointer to a random number generator handle. */
    11881188typedef RTRAND                                     *PRTRAND;
    11891189/** NIL random number genrator handle value. */
    11901190#define NIL_RTRAND                                  ((RTRAND)0)
     1191
     1192/** Debug address space handle. */
     1193typedef R3R0PTRTYPE(struct RTDBGASINT *)            RTDBGAS;
     1194/** Pointer to a debug address space handle. */
     1195typedef RTDBGAS                                    *PRTDBGAS;
     1196/** NIL debug address space handle. */
     1197#define NIL_RTDBGAS                                 ((PRTDBGAS)0)
     1198
     1199/** Debug module handle. */
     1200typedef R3R0PTRTYPE(struct RTDBGMODINT *)           RTDBGMOD;
     1201/** Pointer to a debug module handle. */
     1202typedef RTDBGMOD                                   *PRTDBGMOD;
     1203/** NIL debug module handle. */
     1204#define NIL_RTDBGMOD                                ((PRTDBGMOD)0)
    11911205
    11921206
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