GDB (xrefs)
Loading...
Searching...
No Matches
Functions
alloc.c File Reference
#include "gdbsupport/common-defs.h"
#include "libiberty.h"
#include "gdbsupport/errors.h"

Go to the source code of this file.

Functions

void * xmalloc (size_t size)
 
void * xrealloc (void *ptr, size_t size)
 
void * xcalloc (size_t number, size_t size)
 
void xmalloc_failed (size_t size)
 

Function Documentation

◆ xcalloc()

void * xcalloc ( size_t number,
size_t size )

◆ xmalloc()

void * xmalloc ( size_t size)

Definition at line 48 of file alloc.c.

References malloc_failure(), and size.

◆ xmalloc_failed()

void xmalloc_failed ( size_t size)

Definition at line 105 of file alloc.c.

References malloc_failure(), and size.

◆ xrealloc()

void * xrealloc ( void * ptr,
size_t size )