GDB (API)
Functions | Variables
/home/stan/gdb/src/gdb/eval.c File Reference
#include "defs.h"
#include "gdb_string.h"
#include "symtab.h"
#include "gdbtypes.h"
#include "value.h"
#include "expression.h"
#include "target.h"
#include "frame.h"
#include "language.h"
#include "f-lang.h"
#include "cp-abi.h"
#include "infcall.h"
#include "objc-lang.h"
#include "block.h"
#include "parser-defs.h"
#include "cp-support.h"
#include "ui-out.h"
#include "exceptions.h"
#include "regcache.h"
#include "user-regs.h"
#include "valprint.h"
#include "gdb_obstack.h"
#include "objfiles.h"
#include "python/python.h"
#include "gdb_assert.h"
#include <ctype.h>

Go to the source code of this file.

Functions

struct value * evaluate_subexp (struct type *expect_type, struct expression *exp, int *pos, enum noside noside)
CORE_ADDR parse_and_eval_address (const char *exp)
LONGEST parse_and_eval_long (const char *exp)
struct value * parse_and_eval (const char *exp)
struct value * parse_to_comma_and_eval (const char **expp)
struct value * evaluate_expression (struct expression *exp)
struct value * evaluate_type (struct expression *exp)
struct value * evaluate_subexpression_type (struct expression *exp, int subexp)
void fetch_subexp_value (struct expression *exp, int *pc, struct value **valp, struct value **resultp, struct value **val_chain, int preserve_errors)
char * extract_field_op (struct expression *exp, int *subexp)
void unop_promote (const struct language_defn *language, struct gdbarch *gdbarch, struct value **arg1)
void binop_promote (const struct language_defn *language, struct gdbarch *gdbarch, struct value **arg1, struct value **arg2)
struct value * evaluate_subexp_standard (struct type *expect_type, struct expression *exp, int *pos, enum noside noside)
struct value * evaluate_subexp_with_coercion (struct expression *exp, int *pos, enum noside noside)
struct typeparse_and_eval_type (char *p, int length)
int calc_f77_array_dims (struct type *array_type)

Variables

int overload_resolution

Function Documentation

void binop_promote ( const struct language_defn language,
struct gdbarch *  gdbarch,
struct value **  arg1,
struct value **  arg2 
)

Definition at line 463 of file eval.c.

int calc_f77_array_dims ( struct type array_type)

Definition at line 3076 of file eval.c.

struct value* evaluate_expression ( struct expression exp) [read]

Definition at line 142 of file eval.c.

struct value* evaluate_subexp ( struct type expect_type,
struct expression exp,
int pos,
enum noside noside   
) [read]

Definition at line 68 of file eval.c.

struct value* evaluate_subexp_standard ( struct type expect_type,
struct expression exp,
int pos,
enum noside noside   
) [read]

Definition at line 697 of file eval.c.

struct value* evaluate_subexp_with_coercion ( struct expression exp,
int pos,
enum noside noside   
) [read]

Definition at line 2965 of file eval.c.

struct value* evaluate_subexpression_type ( struct expression exp,
int  subexp 
) [read]

Definition at line 164 of file eval.c.

struct value* evaluate_type ( struct expression exp) [read]

Definition at line 153 of file eval.c.

char* extract_field_op ( struct expression exp,
int subexp 
)

Definition at line 271 of file eval.c.

void fetch_subexp_value ( struct expression exp,
int pc,
struct value **  valp,
struct value **  resultp,
struct value **  val_chain,
int  preserve_errors 
)

Definition at line 193 of file eval.c.

struct value* parse_and_eval ( const char *  exp) [read]

Definition at line 107 of file eval.c.

Definition at line 79 of file eval.c.

Definition at line 94 of file eval.c.

struct type* parse_and_eval_type ( char *  p,
int  length 
) [read]

Definition at line 3059 of file eval.c.

struct value* parse_to_comma_and_eval ( const char **  expp) [read]

Definition at line 124 of file eval.c.

void unop_promote ( const struct language_defn language,
struct gdbarch *  gdbarch,
struct value **  arg1 
)

Definition at line 430 of file eval.c.


Variable Documentation

Definition at line 116 of file valops.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines