GDB (xrefs)
Loading...
Searching...
No Matches
Functions
gmp-utils.c File Reference
#include "gmp-utils.h"

Go to the source code of this file.

Functions

std::string gmp_string_printf (const char *fmt,...)
 
static void * xrealloc_for_gmp (void *ptr, size_t old_size, size_t new_size)
 
static void xfree_for_gmp (void *ptr, size_t size)
 
void _initialize_gmp_utils ()
 

Function Documentation

◆ _initialize_gmp_utils()

void _initialize_gmp_utils ( )

Definition at line 239 of file gmp-utils.c.

Referenced by initialize_all_files().

◆ gmp_string_printf()

std::string gmp_string_printf ( const char *  fmt,
  ... 
)

Definition at line 23 of file gmp-utils.c.

References size.

Referenced by generic_val_print_fixed_point(), gdb_mpz::str(), and gdb_mpq::str().

◆ xfree_for_gmp()

static void xfree_for_gmp ( void *  ptr,
size_t  size 
)
static

Definition at line 231 of file gmp-utils.c.

References xfree().

◆ xrealloc_for_gmp()

static void * xrealloc_for_gmp ( void *  ptr,
size_t  old_size,
size_t  new_size 
)
static

Definition at line 222 of file gmp-utils.c.

References xrealloc().