VirtualBox

Changeset 19509 in vbox


Ignore:
Timestamp:
May 8, 2009 2:18:39 AM (16 years ago)
Author:
vboxsync
Message:

IPRT: Started on debug support, RTDbg*.

Location:
trunk
Files:
2 added
3 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
  • trunk/src/VBox/Runtime/include/internal/magics.h

    r19368 r19509  
    3535 * @{ */
    3636
    37 /** The value of RTENVINTERNAL::u32Magic. (Rumiko Takahashi) */
    38 #define RTENV_MAGIC                 0x19571010
     37/** Magic number for RTDBGMODINT::u32Magic. (Charles Lloyd) */
     38#define RTDBGAS_MAGIC               0x19380315
     39/** Magic number for RTDBGMODINT::u32Magic. (Keith Jarrett) */
     40#define RTDBGMOD_MAGIC              0x19450508
     41/** Magic number for RTDBGMODVTIMG::u32Magic. (Jack DeJohnette) */
     42#define RTDBGMODVTDBG_MAGIC         0x19420809
     43/** Magic number for RTDBGMODVTIMG::u32Magic. (Cecil McBee) */
     44#define RTDBGMODVTIMG_MAGIC         0x19350419
    3945/** The value of RTDIR::u32Magic. (Michael Ende) */
    4046#define RTDIR_MAGIC                 0x19291112
     
    4753/** The value of RTFILEAIOREQINT::u32Magic. (Stephen Edwin King)  */
    4854#define RTFILEAIOREQ_MAGIC          0x19470921
     55/** The value of RTENVINTERNAL::u32Magic. (Rumiko Takahashi) */
     56#define RTENV_MAGIC                 0x19571010
    4957/** Magic number for RTHANDLETABLEINT::u32Magic. (Hitomi Kanehara) */
    5058#define RTHANDLETABLE_MAGIC         0x19830808
Note: See TracChangeset for help on using the changeset viewer.

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