GDB (API)
Functions
/home/stan/gdb/src/gdb/common/common-utils.h File Reference
#include "config.h"
#include "ansidecl.h"
#include <stddef.h>
#include <stdarg.h>

Go to the source code of this file.

Functions

void malloc_failure (long size) ATTRIBUTE_NORETURN
void internal_error (const char *file, int line, const char *,...) ATTRIBUTE_NORETURN ATTRIBUTE_PRINTF(3
void void * xzalloc (size_t)
void xfree (void *)
char * xstrprintf (const char *format,...) ATTRIBUTE_PRINTF(1
char char * xstrvprintf (const char *format, va_list ap) ATTRIBUTE_PRINTF(1
char char int xsnprintf (char *str, size_t size, const char *format,...) ATTRIBUTE_PRINTF(3
char char int char * savestring (const char *ptr, size_t len)

Function Documentation

void internal_error ( const char *  file,
int  line,
const char *  ,
  ... 
)
void malloc_failure ( long  size)

Definition at line 1062 of file utils.c.

char char int char* savestring ( const char *  ptr,
size_t  len 
)

Definition at line 156 of file common-utils.c.

void xfree ( void *  )

Definition at line 105 of file common-utils.c.

char char int xsnprintf ( char *  str,
size_t  size,
const char *  format,
  ... 
)
char* xstrprintf ( const char *  format,
  ... 
)
char char* xstrvprintf ( const char *  format,
va_list  ap 
)
void void* xzalloc ( size_t  )

Definition at line 99 of file common-utils.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines