VirtualBox

Changeset 74980 in vbox for trunk/include


Ignore:
Timestamp:
Oct 22, 2018 7:48:02 PM (6 years ago)
Author:
vboxsync
Message:

IPRT/dbg: Added a few flags to RTDbg[Mod|As]SymbolAdd to deal with conflicts.

File:
1 edited

Legend:

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

    r73761 r74980  
    7878/** @} */
    7979
     80/** @name RTDBGSYMBOLADD_F_XXX - Flags for RTDbgModSymbolAdd and RTDbgAsSymbolAdd.
     81 * @{ */
     82/** Replace existing symbol with same address. */
     83#define RTDBGSYMBOLADD_F_REPLACE_SAME_ADDR         UINT32_C(0x00000001)
     84/** Replace any existing symbols overlapping the symbol range. */
     85#define RTDBGSYMBOLADD_F_REPLACE_ANY               UINT32_C(0x00000002)
     86/** Adjust sizes on address conflict.  This applies to the symbol being added
     87 * as well as existing symbols. */
     88#define RTDBGSYMBOLADD_F_ADJUST_SIZES_ON_CONFLICT  UINT32_C(0x00000004)
     89/** Mask of valid flags. */
     90#define RTDBGSYMBOLADD_F_VALID_MASK                UINT32_C(0x00000007)
     91/** @} */
    8092
    8193/** Max length (including '\\0') of a segment name. */
     
    10291041 * @param   Addr            The address of the symbol.
    10301042 * @param   cb              The size of the symbol.
    1031  * @param   fFlags          Symbol flags.
     1043 * @param   fFlags          Symbol flags, RTDBGSYMBOLADD_F_XXX.
    10321044 * @param   piOrdinal       Where to return the symbol ordinal on success. If
    10331045 *                          the interpreter doesn't do ordinals, this will be set to
     
    10461058 * @param   hDbgAs          The address space handle.
    10471059 * @param   Addr            The address which closest symbol is requested.
    1048  * @param   fFlags              Symbol search flags, see RTDBGSYMADDR_FLAGS_XXX.
     1060 * @param   fFlags          Symbol search flags, see RTDBGSYMADDR_FLAGS_XXX.
    10491061 * @param   poffDisp        Where to return the distance between the symbol
    10501062 *                          and address. Optional.
     
    10651077 * @param   hDbgAs          The address space handle.
    10661078 * @param   Addr            The address which closest symbol is requested.
    1067  * @param   fFlags              Symbol search flags, see RTDBGSYMADDR_FLAGS_XXX.
     1079 * @param   fFlags          Symbol search flags, see RTDBGSYMADDR_FLAGS_XXX.
    10681080 * @param   poffDisp        Where to return the distance between the symbol
    10691081 *                          and address. Optional.
     
    15191531 * @param   cb              The size of the symbol. Can be zero, although this
    15201532 *                          may depend somewhat on the debug interpreter.
    1521  * @param   fFlags          Symbol flags. Reserved for the future, MBZ.
     1533 * @param   fFlags          Symbol flags, RTDBGSYMBOLADD_F_XXX.
    15221534 * @param   piOrdinal       Where to return the symbol ordinal on success. If
    15231535 *                          the interpreter doesn't do ordinals, this will be set to
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