GDB (xrefs)
Loading...
Searching...
No Matches
Functions | Variables
c-valprint.c File Reference
#include "defs.h"
#include "symtab.h"
#include "gdbtypes.h"
#include "expression.h"
#include "value.h"
#include "valprint.h"
#include "language.h"
#include "c-lang.h"
#include "cp-abi.h"
#include "target.h"
#include "objfiles.h"

Go to the source code of this file.

Functions

static int textual_name (const char *name)
 
int c_textual_element_type (struct type *type, char format)
 
static void print_unpacked_pointer (struct type *type, struct type *elttype, struct type *unresolved_elttype, const gdb_byte *valaddr, int embedded_offset, CORE_ADDR address, struct ui_file *stream, int recurse, const struct value_print_options *options)
 
static void c_value_print_array (struct value *val, struct ui_file *stream, int recurse, const struct value_print_options *options)
 
static void c_value_print_ptr (struct value *val, struct ui_file *stream, int recurse, const struct value_print_options *options)
 
static void c_value_print_struct (struct value *val, struct ui_file *stream, int recurse, const struct value_print_options *options)
 
static void c_value_print_int (struct value *val, struct ui_file *stream, const struct value_print_options *options)
 
void c_value_print_inner (struct value *val, struct ui_file *stream, int recurse, const struct value_print_options *options)
 
void c_value_print (struct value *val, struct ui_file *stream, const struct value_print_options *options)
 

Variables

static const struct generic_val_print_decorations c_decorations
 

Function Documentation

◆ c_textual_element_type()

int c_textual_element_type ( struct type * type,
char format )

◆ c_value_print()

void c_value_print ( struct value * val,
struct ui_file * stream,
const struct value_print_options * options )

◆ c_value_print_array()

static void c_value_print_array ( struct value * val,
struct ui_file * stream,
int recurse,
const struct value_print_options * options )
static

◆ c_value_print_inner()

void c_value_print_inner ( struct value * val,
struct ui_file * stream,
int recurse,
const struct value_print_options * options )

◆ c_value_print_int()

static void c_value_print_int ( struct value * val,
struct ui_file * stream,
const struct value_print_options * options )
static

◆ c_value_print_ptr()

static void c_value_print_ptr ( struct value * val,
struct ui_file * stream,
int recurse,
const struct value_print_options * options )
static

◆ c_value_print_struct()

static void c_value_print_struct ( struct value * val,
struct ui_file * stream,
int recurse,
const struct value_print_options * options )
static

◆ print_unpacked_pointer()

static void print_unpacked_pointer ( struct type * type,
struct type * elttype,
struct type * unresolved_elttype,
const gdb_byte * valaddr,
int embedded_offset,
CORE_ADDR address,
struct ui_file * stream,
int recurse,
const struct value_print_options * options )
static

◆ textual_name()

static int textual_name ( const char * name)
static

Definition at line 38 of file c-valprint.c.

References name.

Referenced by c_textual_element_type(), and c_value_print().

Variable Documentation

◆ c_decorations

const struct generic_val_print_decorations c_decorations
static
Initial value:
=
{
"",
" + ",
"i",
"true",
"false",
"void",
"{",
"}"
}

Definition at line 120 of file c-valprint.c.

Referenced by c_value_print_inner().