Motr  M0
gdb-extensions Namespace Reference

Data Structures

class  M0BufvecPrint
 
class  M0IndexvecPrint
 
class  M0ListPrint
 

Functions

def field_type (container, field)
 
def offset_of (container, field)
 
def human_readable (count)
 
def sum (start_addr, count)
 

Variables

list macros
 

Function Documentation

◆ field_type()

def gdb-extensions.field_type (   container,
  field 
)

Definition at line 27 of file gdb-extensions.py.

Here is the caller graph for this function:

◆ human_readable()

def gdb-extensions.human_readable (   count)

Definition at line 37 of file gdb-extensions.py.

Here is the caller graph for this function:

◆ offset_of()

def gdb-extensions.offset_of (   container,
  field 
)

Definition at line 32 of file gdb-extensions.py.

Here is the caller graph for this function:

◆ sum()

def gdb-extensions.sum (   start_addr,
  count 
)

Definition at line 63 of file gdb-extensions.py.

Here is the caller graph for this function:

Variable Documentation

◆ macros

list macros
Initial value:
1 = [ \
2 "offsetof(typ,memb) ((unsigned long)((char *)&(((typ *)0)->memb)))", \
3 "container_of(ptr, type, member) " + \
4  "((type *)((char *)(ptr)-(char *)(&((type *)0)->member)))" \
5 ]

Definition at line 318 of file gdb-extensions.py.