GDB (API)
Enumerations | Functions | Variables
/home/stan/gdb/src/gdb/valops.c File Reference
#include "defs.h"
#include "symtab.h"
#include "gdbtypes.h"
#include "value.h"
#include "frame.h"
#include "inferior.h"
#include "gdbcore.h"
#include "target.h"
#include "demangle.h"
#include "language.h"
#include "gdbcmd.h"
#include "regcache.h"
#include "cp-abi.h"
#include "block.h"
#include "infcall.h"
#include "dictionary.h"
#include "cp-support.h"
#include "dfp.h"
#include "tracepoint.h"
#include <errno.h>
#include "gdb_string.h"
#include "gdb_assert.h"
#include "observer.h"
#include "objfiles.h"
#include "exceptions.h"

Go to the source code of this file.

Enumerations

enum  oload_classification { STANDARD, NON_STANDARD, INCOMPATIBLE }

Functions

void _initialize_valops (void)
struct value * find_function_in_inferior (const char *name, struct objfile **objf_p)
struct value * value_allocate_space_in_inferior (int len)
struct value * value_cast_pointers (struct type *type, struct value *arg2, int subclass_check)
struct value * value_cast (struct type *type, struct value *arg2)
struct value * value_reinterpret_cast (struct type *type, struct value *arg)
struct value * value_dynamic_cast (struct type *type, struct value *arg)
struct value * value_zero (struct type *type, enum lval_type lv)
struct value * value_one (struct type *type)
struct value * value_at (struct type *type, CORE_ADDR addr)
struct value * value_at_lazy (struct type *type, CORE_ADDR addr)
void read_value_memory (struct value *val, int embedded_offset, int stack, CORE_ADDR memaddr, gdb_byte *buffer, size_t length)
struct value * value_assign (struct value *toval, struct value *fromval)
struct value * value_repeat (struct value *arg1, int count)
struct value * value_of_variable (struct symbol *var, const struct block *b)
struct value * address_of_variable (struct symbol *var, const struct block *b)
int value_must_coerce_to_target (struct value *val)
struct value * value_coerce_to_target (struct value *val)
struct value * value_coerce_array (struct value *arg1)
struct value * value_coerce_function (struct value *arg1)
struct value * value_addr (struct value *arg1)
struct value * value_ref (struct value *arg1)
struct value * value_ind (struct value *arg1)
struct value * value_array (int lowbound, int highbound, struct value **elemvec)
struct value * value_cstring (char *ptr, ssize_t len, struct type *char_type)
struct value * value_string (char *ptr, ssize_t len, struct type *char_type)
struct value * value_struct_elt (struct value **argp, struct value **args, const char *name, int *static_memfuncp, const char *err)
int find_overload_match (struct value **args, int nargs, const char *name, enum oload_search_type method, struct value **objp, struct symbol *fsym, struct value **valp, struct symbol **symp, int *staticp, const int no_adl)
int destructor_name_p (const char *name, struct type *type)
struct value * value_aggregate_elt (struct type *curtype, char *name, struct type *expect_type, int want_address, enum noside noside)
struct typevalue_rtti_indirect_type (struct value *v, int *full, int *top, int *using_enc)
struct value * value_full_object (struct value *argp, struct type *rtype, int xfull, int xtop, int xusing_enc)
struct value * value_of_this (const struct language_defn *lang)
struct value * value_of_this_silent (const struct language_defn *lang)
struct value * value_slice (struct value *array, int lowbound, int length)
struct value * value_literal_complex (struct value *arg1, struct value *arg2, struct type *type)

Variables

unsigned int overload_debug
int overload_resolution = 0

Enumeration Type Documentation

Enumerator:
STANDARD 
NON_STANDARD 
INCOMPATIBLE 

Definition at line 80 of file valops.c.


Function Documentation

void _initialize_valops ( void  )
struct value* address_of_variable ( struct symbol var,
const struct block b 
) [read]

Definition at line 1356 of file valops.c.

int destructor_name_p ( const char *  name,
struct type type 
)

Definition at line 2994 of file valops.c.

struct value* find_function_in_inferior ( const char *  name,
struct objfile **  objf_p 
) [read]

Definition at line 132 of file valops.c.

int find_overload_match ( struct value **  args,
int  nargs,
const char *  name,
enum oload_search_type  method,
struct value **  objp,
struct symbol fsym,
struct value **  valp,
struct symbol **  symp,
int staticp,
const int  no_adl 
)

Definition at line 2408 of file valops.c.

void read_value_memory ( struct value *  val,
int  embedded_offset,
int  stack,
CORE_ADDR  memaddr,
gdb_byte buffer,
size_t  length 
)

Definition at line 950 of file valops.c.

struct value* value_addr ( struct value *  arg1) [read]

Definition at line 1509 of file valops.c.

struct value* value_aggregate_elt ( struct type curtype,
char *  name,
struct type expect_type,
int  want_address,
enum noside noside   
) [read]

Definition at line 3022 of file valops.c.

struct value* value_allocate_space_in_inferior ( int  len) [read]

Definition at line 190 of file valops.c.

struct value* value_array ( int  lowbound,
int  highbound,
struct value **  elemvec 
) [read]

Definition at line 1631 of file valops.c.

struct value* value_assign ( struct value *  toval,
struct value *  fromval 
) [read]

Definition at line 1036 of file valops.c.

struct value* value_at ( struct type type,
CORE_ADDR  addr 
) [read]

Definition at line 936 of file valops.c.

struct value* value_at_lazy ( struct type type,
CORE_ADDR  addr 
) [read]

Definition at line 944 of file valops.c.

struct value* value_cast ( struct type type,
struct value *  arg2 
) [read]

Definition at line 354 of file valops.c.

struct value* value_cast_pointers ( struct type type,
struct value *  arg2,
int  subclass_check 
) [read]

Definition at line 309 of file valops.c.

struct value* value_coerce_array ( struct value *  arg1) [read]

Definition at line 1473 of file valops.c.

struct value* value_coerce_function ( struct value *  arg1) [read]

Definition at line 1493 of file valops.c.

struct value* value_coerce_to_target ( struct value *  val) [read]

Definition at line 1435 of file valops.c.

struct value* value_cstring ( char *  ptr,
ssize_t  len,
struct type char_type 
) [read]

Definition at line 1678 of file valops.c.

struct value* value_dynamic_cast ( struct type type,
struct value *  arg 
) [read]

Definition at line 727 of file valops.c.

struct value* value_full_object ( struct value *  argp,
struct type rtype,
int  xfull,
int  xtop,
int  xusing_enc 
) [read]

Definition at line 3420 of file valops.c.

struct value* value_ind ( struct value *  arg1) [read]

Definition at line 1570 of file valops.c.

struct value* value_literal_complex ( struct value *  arg1,
struct value *  arg2,
struct type type 
) [read]

Definition at line 3593 of file valops.c.

int value_must_coerce_to_target ( struct value *  val)

Definition at line 1408 of file valops.c.

struct value* value_of_this ( const struct language_defn lang) [read]

Definition at line 3490 of file valops.c.

struct value* value_of_this_silent ( const struct language_defn lang) [read]

Definition at line 3515 of file valops.c.

struct value* value_of_variable ( struct symbol var,
const struct block b 
) [read]

Definition at line 1330 of file valops.c.

struct value* value_one ( struct type type) [read]

Definition at line 855 of file valops.c.

struct value* value_ref ( struct value *  arg1) [read]

Definition at line 1553 of file valops.c.

struct value* value_reinterpret_cast ( struct type type,
struct value *  arg 
) [read]

Definition at line 582 of file valops.c.

struct value* value_repeat ( struct value *  arg1,
int  count 
) [read]

Definition at line 1308 of file valops.c.

struct type* value_rtti_indirect_type ( struct value *  v,
int full,
int top,
int using_enc 
) [read]

Definition at line 3371 of file valops.c.

struct value* value_slice ( struct value *  array,
int  lowbound,
int  length 
) [read]

Definition at line 3533 of file valops.c.

struct value* value_string ( char *  ptr,
ssize_t  len,
struct type char_type 
) [read]

Definition at line 1701 of file valops.c.

struct value* value_struct_elt ( struct value **  argp,
struct value **  args,
const char *  name,
int static_memfuncp,
const char *  err 
) [read]

Definition at line 2173 of file valops.c.

struct value* value_zero ( struct type type,
enum lval_type  lv 
) [read]

Definition at line 844 of file valops.c.


Variable Documentation

unsigned int overload_debug

Definition at line 122 of file gdbtypes.c.

Definition at line 116 of file valops.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines