GDB (xrefs)
Loading...
Searching...
No Matches
Functions | Variables
p-valprint.c File Reference
#include "defs.h"
#include "gdbsupport/gdb_obstack.h"
#include "symtab.h"
#include "gdbtypes.h"
#include "expression.h"
#include "value.h"
#include "command.h"
#include "gdbcmd.h"
#include "gdbcore.h"
#include "demangle.h"
#include "valprint.h"
#include "typeprint.h"
#include "language.h"
#include "target.h"
#include "annotate.h"
#include "p-lang.h"
#include "cp-abi.h"
#include "cp-support.h"
#include "objfiles.h"
#include "gdbsupport/byte-vector.h"
#include "cli/cli-style.h"

Go to the source code of this file.

Functions

static void pascal_object_print_value_fields (struct value *, struct ui_file *, int, const struct value_print_options *, struct type **, int)
 
static void show_pascal_static_field_print (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value)
 
static void pascal_object_print_static_field (struct value *, struct ui_file *, int, const struct value_print_options *)
 
static void pascal_object_print_value (struct value *, struct ui_file *, int, const struct value_print_options *, struct type **)
 
int pascal_object_is_vtbl_ptr_type (struct type *type)
 
int pascal_object_is_vtbl_member (struct type *type)
 
void _initialize_pascal_valprint ()
 

Variables

static const struct generic_val_print_decorations p_decorations
 
static struct obstack dont_print_vb_obstack
 
static struct obstack dont_print_statmem_obstack
 
const char pascal_vtbl_ptr_name []
 

Function Documentation

◆ _initialize_pascal_valprint()

void _initialize_pascal_valprint ( )

Definition at line 865 of file p-valprint.c.

Referenced by initialize_all_files().

◆ pascal_object_is_vtbl_member()

int pascal_object_is_vtbl_member ( struct type * type)

◆ pascal_object_is_vtbl_ptr_type()

int pascal_object_is_vtbl_ptr_type ( struct type * type)

◆ pascal_object_print_static_field()

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

◆ pascal_object_print_value()

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

◆ pascal_object_print_value_fields()

static void pascal_object_print_value_fields ( struct value * val,
struct ui_file * stream,
int recurse,
const struct value_print_options * options,
struct type ** dont_print_vb,
int dont_print_statmem )
static

◆ show_pascal_static_field_print()

static void show_pascal_static_field_print ( struct ui_file * file,
int from_tty,
struct cmd_list_element * c,
const char * value )
static

Definition at line 446 of file p-valprint.c.

References gdb_printf().

Variable Documentation

◆ dont_print_statmem_obstack

struct obstack dont_print_statmem_obstack
static

◆ dont_print_vb_obstack

struct obstack dont_print_vb_obstack
static

Definition at line 453 of file p-valprint.c.

Referenced by pascal_object_print_value().

◆ p_decorations

const struct generic_val_print_decorations p_decorations
static
Initial value:
=
{
"",
" + ",
" * I",
"true",
"false",
"void",
"{",
"}"
}

Definition at line 52 of file p-valprint.c.

Referenced by pascal_language::value_print_inner().

◆ pascal_vtbl_ptr_name

const char pascal_vtbl_ptr_name[]
Initial value:
=
{'_', '_', 'v', 't', 'b', 'l', '_', 'p', 't', 'r', '_', 't', 'y', 'p', 'e', 0}

Definition at line 465 of file p-valprint.c.

Referenced by pascal_object_is_vtbl_ptr_type().