GDB (xrefs)
Loading...
Searching...
No Matches
Functions
addrmap.c File Reference
#include "defs.h"
#include "gdbsupport/gdb_obstack.h"
#include "addrmap.h"
#include "gdbsupport/selftest.h"

Go to the source code of this file.

Functions

 gdb_static_assert (sizeof(splay_tree_key) >=sizeof(CORE_ADDR *))
 
 gdb_static_assert (sizeof(splay_tree_value) >=sizeof(void *))
 
static CORE_ADDR addrmap_node_key (splay_tree_node node)
 
static void * addrmap_node_value (splay_tree_node node)
 
static void addrmap_node_set_value (splay_tree_node node, void *value)
 
static int addrmap_mutable_foreach_worker (splay_tree_node node, void *data)
 
static int splay_compare_CORE_ADDR_ptr (splay_tree_key ak, splay_tree_key bk)
 
static void xfree_wrapper (splay_tree_key key)
 
void addrmap_dump (struct addrmap *map, struct ui_file *outfile, void *payload)
 
void _initialize_addrmap ()
 

Function Documentation

◆ _initialize_addrmap()

void _initialize_addrmap ( )

Definition at line 486 of file addrmap.c.

Referenced by initialize_all_files().

◆ addrmap_dump()

void addrmap_dump ( struct addrmap * map,
struct ui_file * outfile,
void * payload )

Definition at line 364 of file addrmap.c.

References addrmap::foreach(), gdb_printf(), and QUIT.

◆ addrmap_mutable_foreach_worker()

static int addrmap_mutable_foreach_worker ( splay_tree_node node,
void * data )
static

Definition at line 311 of file addrmap.c.

References addrmap_node_key(), and addrmap_node_value().

Referenced by addrmap_mutable::do_foreach().

◆ addrmap_node_key()

static CORE_ADDR addrmap_node_key ( splay_tree_node node)
static

◆ addrmap_node_set_value()

static void addrmap_node_set_value ( splay_tree_node node,
void * value )
static

Definition at line 159 of file addrmap.c.

Referenced by addrmap_mutable::set_empty().

◆ addrmap_node_value()

static void * addrmap_node_value ( splay_tree_node node)
static

◆ gdb_static_assert() [1/2]

gdb_static_assert ( sizeof(splay_tree_key) >=sizeof(CORE_ADDR *) )

◆ gdb_static_assert() [2/2]

gdb_static_assert ( sizeof(splay_tree_value) >=sizeof(void *) )

◆ splay_compare_CORE_ADDR_ptr()

static int splay_compare_CORE_ADDR_ptr ( splay_tree_key ak,
splay_tree_key bk )
static

Definition at line 328 of file addrmap.c.

◆ xfree_wrapper()

static void xfree_wrapper ( splay_tree_key key)
static

Definition at line 344 of file addrmap.c.

References xfree().