GDB (API)
Defines | Enumerations
/home/stan/gdb/src/include/gdb/gdb-index.h File Reference

Go to the source code of this file.

Defines

#define GDB_INDEX_SYMBOL_STATIC_SHIFT   31
#define GDB_INDEX_SYMBOL_STATIC_MASK   1
#define GDB_INDEX_SYMBOL_STATIC_VALUE(cu_index)   (((cu_index) >> GDB_INDEX_SYMBOL_STATIC_SHIFT) & GDB_INDEX_SYMBOL_STATIC_MASK)
#define GDB_INDEX_SYMBOL_STATIC_SET_VALUE(cu_index, value)
#define GDB_INDEX_SYMBOL_KIND_SHIFT   28
#define GDB_INDEX_SYMBOL_KIND_MASK   7
#define GDB_INDEX_SYMBOL_KIND_VALUE(cu_index)
#define GDB_INDEX_SYMBOL_KIND_SET_VALUE(cu_index, value)
#define GDB_INDEX_RESERVED_SHIFT   24
#define GDB_INDEX_RESERVED_MASK   15
#define GDB_INDEX_RESERVED_VALUE(cu_index)   (((cu_index) >> GDB_INDEX_RESERVED_SHIFT) & GDB_INDEX_RESERVED_MASK)
#define GDB_INDEX_CU_BITSIZE   24
#define GDB_INDEX_CU_MASK   ((1 << GDB_INDEX_CU_BITSIZE) - 1)
#define GDB_INDEX_CU_VALUE(cu_index)   ((cu_index) & GDB_INDEX_CU_MASK)
#define GDB_INDEX_CU_SET_VALUE(cu_index, value)

Enumerations

enum  gdb_index_symbol_kind {
  GDB_INDEX_SYMBOL_KIND_NONE = 0, GDB_INDEX_SYMBOL_KIND_TYPE = 1, GDB_INDEX_SYMBOL_KIND_VARIABLE = 2, GDB_INDEX_SYMBOL_KIND_FUNCTION = 3,
  GDB_INDEX_SYMBOL_KIND_OTHER = 4, GDB_INDEX_SYMBOL_KIND_UNUSED5 = 5, GDB_INDEX_SYMBOL_KIND_UNUSED6 = 6, GDB_INDEX_SYMBOL_KIND_UNUSED7 = 7
}

Define Documentation

#define GDB_INDEX_CU_BITSIZE   24

Definition at line 91 of file gdb-index.h.

#define GDB_INDEX_CU_MASK   ((1 << GDB_INDEX_CU_BITSIZE) - 1)

Definition at line 92 of file gdb-index.h.

#define GDB_INDEX_CU_SET_VALUE (   cu_index,
  value 
)
Value:
do { \
    (cu_index) |= (value) & GDB_INDEX_CU_MASK; \
  } while (0)

Definition at line 94 of file gdb-index.h.

#define GDB_INDEX_CU_VALUE (   cu_index)    ((cu_index) & GDB_INDEX_CU_MASK)

Definition at line 93 of file gdb-index.h.

#define GDB_INDEX_RESERVED_MASK   15

Definition at line 86 of file gdb-index.h.

#define GDB_INDEX_RESERVED_SHIFT   24

Definition at line 85 of file gdb-index.h.

#define GDB_INDEX_RESERVED_VALUE (   cu_index)    (((cu_index) >> GDB_INDEX_RESERVED_SHIFT) & GDB_INDEX_RESERVED_MASK)

Definition at line 87 of file gdb-index.h.

Definition at line 75 of file gdb-index.h.

#define GDB_INDEX_SYMBOL_KIND_SET_VALUE (   cu_index,
  value 
)
Value:
do { \
    (cu_index) |= (((value) & GDB_INDEX_SYMBOL_KIND_MASK) \
                   << GDB_INDEX_SYMBOL_KIND_SHIFT); \
  } while (0)

Definition at line 79 of file gdb-index.h.

#define GDB_INDEX_SYMBOL_KIND_SHIFT   28

Definition at line 74 of file gdb-index.h.

#define GDB_INDEX_SYMBOL_KIND_VALUE (   cu_index)
Value:

Definition at line 76 of file gdb-index.h.

Definition at line 47 of file gdb-index.h.

#define GDB_INDEX_SYMBOL_STATIC_SET_VALUE (   cu_index,
  value 
)
Value:
do { \
    (cu_index) |= (((value) & GDB_INDEX_SYMBOL_STATIC_MASK) \
                   << GDB_INDEX_SYMBOL_STATIC_SHIFT); \
  } while (0)

Definition at line 50 of file gdb-index.h.

Definition at line 46 of file gdb-index.h.

Definition at line 48 of file gdb-index.h.


Enumeration Type Documentation

Enumerator:
GDB_INDEX_SYMBOL_KIND_NONE 
GDB_INDEX_SYMBOL_KIND_TYPE 
GDB_INDEX_SYMBOL_KIND_VARIABLE 
GDB_INDEX_SYMBOL_KIND_FUNCTION 
GDB_INDEX_SYMBOL_KIND_OTHER 
GDB_INDEX_SYMBOL_KIND_UNUSED5 
GDB_INDEX_SYMBOL_KIND_UNUSED6 
GDB_INDEX_SYMBOL_KIND_UNUSED7 

Definition at line 60 of file gdb-index.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines