GDB (API)
Enumerations | Functions | Variables
/home/stan/gdb/src/gdb/c-lang.h File Reference
#include "value.h"
#include "macroexp.h"
#include "parser-defs.h"

Go to the source code of this file.

Enumerations

enum  c_string_type {
  C_STRING = 0, C_WIDE_STRING = 1, C_STRING_16 = 2, C_STRING_32 = 3,
  C_CHAR = 4, C_WIDE_CHAR = 5, C_CHAR_16 = 6, C_CHAR_32 = 7
}

Functions

int c_parse (void)
void c_error (char *)
int c_parse_escape (const char **, struct obstack *)
void c_print_type (struct type *, const char *, struct ui_file *, int, int, const struct type_print_options *)
void c_print_typedef (struct type *, struct symbol *, struct ui_file *)
void c_val_print (struct type *, const gdb_byte *, int, CORE_ADDR, struct ui_file *, int, const struct value *, const struct value_print_options *)
void c_value_print (struct value *, struct ui_file *, const struct value_print_options *)
struct value * evaluate_subexp_c (struct type *expect_type, struct expression *exp, int *pos, enum noside noside)
void c_printchar (int, struct type *, struct ui_file *)
void c_printstr (struct ui_file *stream, struct type *elttype, const gdb_byte *string, unsigned int length, const char *user_encoding, int force_ellipses, const struct value_print_options *options)
void c_language_arch_info (struct gdbarch *gdbarch, struct language_arch_info *lai)
void c_emit_char (int c, struct type *type, struct ui_file *stream, int quoter)
void c_type_print_base (struct type *, struct ui_file *, int, int, const struct type_print_options *)
void cp_print_class_member (const gdb_byte *, struct type *, struct ui_file *, char *)
void cp_print_value_fields (struct type *, struct type *, const gdb_byte *, int, CORE_ADDR, struct ui_file *, int, const struct value *, const struct value_print_options *, struct type **, int)
void cp_print_value_fields_rtti (struct type *, const gdb_byte *, int, CORE_ADDR, struct ui_file *, int, const struct value *, const struct value_print_options *, struct type **, int)
int cp_is_vtbl_ptr_type (struct type *)
int cp_is_vtbl_member (struct type *)
int c_textual_element_type (struct type *, char)

Variables

struct exp_descriptor exp_descriptor_c
struct op_print c_op_print_tab []

Enumeration Type Documentation

Enumerator:
C_STRING 
C_WIDE_STRING 
C_STRING_16 
C_STRING_32 
C_CHAR 
C_WIDE_CHAR 
C_CHAR_16 
C_CHAR_32 

Definition at line 36 of file c-lang.h.


Function Documentation

void c_emit_char ( int  c,
struct type type,
struct ui_file *  stream,
int  quoter 
)

Definition at line 148 of file c-lang.c.

void c_error ( char *  )
void c_language_arch_info ( struct gdbarch *  gdbarch,
struct language_arch_info lai 
)

Definition at line 768 of file c-lang.c.

int c_parse ( void  )

Definition at line 6209 of file c-exp.c.

int c_parse_escape ( const char **  ,
struct obstack *   
)

Definition at line 5040 of file c-exp.c.

void c_print_type ( struct type ,
const char *  ,
struct ui_file *  ,
int  ,
int  ,
const struct type_print_options  
)

Definition at line 82 of file c-typeprint.c.

void c_print_typedef ( struct type ,
struct symbol ,
struct ui_file *   
)

Definition at line 145 of file c-typeprint.c.

void c_printchar ( int  ,
struct type ,
struct ui_file *   
)

Definition at line 158 of file c-lang.c.

void c_printstr ( struct ui_file *  stream,
struct type elttype,
const gdb_byte string,
unsigned int  length,
const char *  user_encoding,
int  force_ellipses,
const struct value_print_options options 
)

Definition at line 191 of file c-lang.c.

int c_textual_element_type ( struct type ,
char   
)

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

void c_type_print_base ( struct type ,
struct ui_file *  ,
int  ,
int  ,
const struct type_print_options  
)

Definition at line 830 of file c-typeprint.c.

void c_val_print ( struct type ,
const gdb_byte ,
int  ,
CORE_ADDR  ,
struct ui_file *  ,
int  ,
const struct value *  ,
const struct value_print_options  
)

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

void c_value_print ( struct value *  ,
struct ui_file *  ,
const struct value_print_options  
)

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

int cp_is_vtbl_member ( struct type )

Definition at line 110 of file cp-valprint.c.

int cp_is_vtbl_ptr_type ( struct type )

Definition at line 99 of file cp-valprint.c.

void cp_print_class_member ( const gdb_byte ,
struct type ,
struct ui_file *  ,
char *   
)

Definition at line 761 of file cp-valprint.c.

void cp_print_value_fields ( struct type ,
struct type ,
const gdb_byte ,
int  ,
CORE_ADDR  ,
struct ui_file *  ,
int  ,
const struct value *  ,
const struct value_print_options ,
struct type **  ,
int   
)

Definition at line 158 of file cp-valprint.c.

void cp_print_value_fields_rtti ( struct type ,
const gdb_byte ,
int  ,
CORE_ADDR  ,
struct ui_file *  ,
int  ,
const struct value *  ,
const struct value_print_options ,
struct type **  ,
int   
)

Definition at line 427 of file cp-valprint.c.

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

Definition at line 549 of file c-lang.c.


Variable Documentation

Definition at line 708 of file c-lang.c.

Definition at line 801 of file c-lang.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines