GDB (API)
Defines | Functions | Variables
/home/stan/gdb/src/gdb/language.c File Reference
#include "defs.h"
#include <ctype.h>
#include "gdb_string.h"
#include "symtab.h"
#include "gdbtypes.h"
#include "value.h"
#include "gdbcmd.h"
#include "expression.h"
#include "language.h"
#include "target.h"
#include "parser-defs.h"
#include "jv-lang.h"
#include "demangle.h"
#include "symfile.h"
#include "cp-support.h"

Go to the source code of this file.

Defines

#define DEFAULT_ALLOCSIZE   4

Functions

void _initialize_language (void)
enum language set_language (enum language lang)
void language_info (int quietly)
int pointer_type (struct type *type)
int value_true (struct value *val)
void range_error (const char *string,...)
enum language language_enum (char *str)
struct language_defnlanguage_def (enum language lang)
char * language_str (enum language lang)
void add_language (const struct language_defn *lang)
CORE_ADDR skip_language_trampoline (struct frame_info *frame, CORE_ADDR pc)
char * language_demangle (const struct language_defn *current_language, const char *mangled, int options)
char * language_class_name_from_physname (const struct language_defn *lang, const char *physname)
int language_pass_by_reference (struct type *type)
int default_pass_by_reference (struct type *type)
char * default_word_break_characters (void)
void default_print_array_index (struct value *index_value, struct ui_file *stream, const struct value_print_options *options)
void default_get_string (struct value *value, gdb_byte **buffer, int *length, struct type **char_type, const char **charset)
struct typelanguage_string_char_type (const struct language_defn *la, struct gdbarch *gdbarch)
struct typelanguage_bool_type (const struct language_defn *la, struct gdbarch *gdbarch)
struct typelanguage_lookup_primitive_type_by_name (const struct language_defn *la, struct gdbarch *gdbarch, const char *name)

Variables

struct language_defn unknown_language_defn
enum range_mode range_mode = range_mode_auto
enum range_check range_check = range_check_off
enum case_mode case_mode = case_mode_auto
enum case_sensitivity case_sensitivity = case_sensitive_on
struct language_defncurrent_language = &unknown_language_defn
enum language_mode language_mode = language_mode_auto
struct language_defnexpected_language
char lang_frame_mismatch_warn [] = "Warning: the current language does not match this frame."
struct language_defn auto_language_defn
struct language_defn local_language_defn

Define Documentation

#define DEFAULT_ALLOCSIZE   4

Definition at line 99 of file language.c.


Function Documentation

void _initialize_language ( void  )
void add_language ( const struct language_defn lang)

Definition at line 519 of file language.c.

void default_get_string ( struct value *  value,
gdb_byte **  buffer,
int length,
struct type **  char_type,
const char **  charset 
)

Definition at line 687 of file language.c.

int default_pass_by_reference ( struct type type)

Definition at line 660 of file language.c.

void default_print_array_index ( struct value *  index_value,
struct ui_file *  stream,
const struct value_print_options options 
)

Definition at line 678 of file language.c.

Definition at line 670 of file language.c.

struct type* language_bool_type ( const struct language_defn la,
struct gdbarch *  gdbarch 
) [read]

Definition at line 955 of file language.c.

char* language_class_name_from_physname ( const struct language_defn lang,
const char *  physname 
)

Definition at line 640 of file language.c.

struct language_defn* language_def ( enum language  lang) [read]

Definition at line 472 of file language.c.

char* language_demangle ( const struct language_defn current_language,
const char *  mangled,
int  options 
)

Definition at line 630 of file language.c.

enum language language_enum ( char *  str)

Definition at line 458 of file language.c.

void language_info ( int  quietly)

Definition at line 372 of file language.c.

struct type* language_lookup_primitive_type_by_name ( const struct language_defn la,
struct gdbarch *  gdbarch,
const char *  name 
) [read]

Definition at line 980 of file language.c.

int language_pass_by_reference ( struct type type)

Definition at line 651 of file language.c.

char* language_str ( enum language  lang)

Definition at line 488 of file language.c.

struct type* language_string_char_type ( const struct language_defn la,
struct gdbarch *  gdbarch 
) [read]

Definition at line 945 of file language.c.

int pointer_type ( struct type type)

Definition at line 393 of file language.c.

void range_error ( const char *  string,
  ... 
)

Definition at line 427 of file language.c.

enum language set_language ( enum language  lang)

Definition at line 347 of file language.c.

CORE_ADDR skip_language_trampoline ( struct frame_info *  frame,
CORE_ADDR  pc 
)

Definition at line 605 of file language.c.

int value_true ( struct value *  val)

Definition at line 405 of file language.c.


Variable Documentation

Definition at line 834 of file language.c.

Definition at line 81 of file language.c.

Definition at line 82 of file language.c.

Definition at line 86 of file language.c.

Definition at line 92 of file language.c.

char lang_frame_mismatch_warn[] = "Warning: the current language does not match this frame."

Definition at line 110 of file language.c.

Definition at line 87 of file language.c.

Definition at line 875 of file language.c.

Definition at line 80 of file language.c.

Definition at line 79 of file language.c.

Definition at line 791 of file language.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines