GDB (xrefs)
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
ada_language Class Reference
Inheritance diagram for ada_language:
language_defn

Public Member Functions

 ada_language ()
 
const char * name () const override
 
const char * natural_name () const override
 
const std::vector< const char * > & filename_extensions () const override
 
void print_array_index (struct type *index_type, LONGEST index, struct ui_file *stream, const value_print_options *options) const override
 
struct valueread_var_value (struct symbol *var, const struct block *var_block, frame_info_ptr frame) const override
 
bool symbol_printing_suppressed (struct symbol *symbol) const override
 
struct valuevalue_string (struct gdbarch *gdbarch, const char *ptr, ssize_t len) const override
 
void language_arch_info (struct gdbarch *gdbarch, struct language_arch_info *lai) const override
 
bool iterate_over_symbols (const struct block *block, const lookup_name_info &name, domain_enum domain, gdb::function_view< symbol_found_callback_ftype > callback) const override
 
bool sniff_from_mangled_name (const char *mangled, gdb::unique_xmalloc_ptr< char > *out) const override
 
gdb::unique_xmalloc_ptr< char > demangle_symbol (const char *mangled, int options) const override
 
void print_type (struct type *type, const char *varstring, struct ui_file *stream, int show, int level, const struct type_print_options *flags) const override
 
const char * word_break_characters (void) const override
 
void collect_symbol_completion_matches (completion_tracker &tracker, complete_symbol_mode mode, symbol_name_match_type name_match_type, const char *text, const char *word, enum type_code code) const override
 
gdb::unique_xmalloc_ptr< char > watch_location_expression (struct type *type, CORE_ADDR addr) const override
 
void value_print (struct value *val, struct ui_file *stream, const struct value_print_options *options) const override
 
void value_print_inner (struct value *val, struct ui_file *stream, int recurse, const struct value_print_options *options) const override
 
struct block_symbol lookup_symbol_nonlocal (const char *name, const struct block *block, const domain_enum domain) const override
 
int parser (struct parser_state *ps) const override
 
void emitchar (int ch, struct type *chtype, struct ui_file *stream, int quoter) const override
 
void printchar (int ch, struct type *chtype, struct ui_file *stream) const override
 
void printstr (struct ui_file *stream, struct type *elttype, const gdb_byte *string, unsigned int length, const char *encoding, int force_ellipses, const struct value_print_options *options) const override
 
void print_typedef (struct type *type, struct symbol *new_symbol, struct ui_file *stream) const override
 
bool is_string_type_p (struct type *type) const override
 
bool is_array_like (struct type *type) const override
 
struct valueto_array (struct value *val) const override
 
const char * struct_too_deep_ellipsis () const override
 
bool c_style_arrays_p () const override
 
bool store_sym_names_in_linkage_form_p () const override
 
const struct lang_varobj_opsvarobj_ops () const override
 
- Public Member Functions inherited from language_defn
 language_defn (enum language lang)
 
virtual const char * get_digit_separator () const
 
virtual struct language_pass_by_ref_info pass_by_reference_info (struct type *type) const
 
virtual struct typelookup_transparent_type (const char *name) const
 
symbol_name_matcher_ftypeget_symbol_name_matcher (const lookup_name_info &lookup_name) const
 
virtual std::unique_ptr< compile_instanceget_compile_instance () const
 
virtual std::string compute_program (compile_instance *inst, const char *input, struct gdbarch *gdbarch, const struct block *expr_block, CORE_ADDR expr_pc) const
 
virtual unsigned int search_name_hash (const char *name) const
 
virtual bool can_print_type_offsets () const
 
virtual CORE_ADDR skip_trampoline (const frame_info_ptr &fi, CORE_ADDR pc) const
 
virtual char * class_name_from_physname (const char *physname) const
 
virtual const char * name_of_this () const
 
virtual char string_lower_bound () const
 
virtual bool range_checking_on_by_default () const
 
virtual enum case_sensitivity case_sensitivity () const
 
virtual enum array_ordering array_ordering () const
 
virtual enum macro_expansion macro_expansion () const
 

Protected Member Functions

symbol_name_matcher_ftypeget_symbol_name_matcher_inner (const lookup_name_info &lookup_name) const override
 

Additional Inherited Members

- Public Attributes inherited from language_defn
enum language la_language
 
- Static Public Attributes inherited from language_defn
static const struct language_defnlanguages [nr_languages]
 

Detailed Description

Definition at line 13367 of file ada-lang.c.

Constructor & Destructor Documentation

◆ ada_language()

ada_language::ada_language ( )
inline

Definition at line 13370 of file ada-lang.c.

Member Function Documentation

◆ c_style_arrays_p()

bool ada_language::c_style_arrays_p ( ) const
inlineoverridevirtual

Reimplemented from language_defn.

Definition at line 13851 of file ada-lang.c.

◆ collect_symbol_completion_matches()

void ada_language::collect_symbol_completion_matches ( completion_tracker & tracker,
complete_symbol_mode mode,
symbol_name_match_type name_match_type,
const char * text,
const char * word,
enum type_code code ) const
inlineoverridevirtual

◆ demangle_symbol()

gdb::unique_xmalloc_ptr< char > ada_language::demangle_symbol ( const char * mangled,
int options ) const
inlineoverridevirtual

Reimplemented from language_defn.

Definition at line 13562 of file ada-lang.c.

References ada_decode().

◆ emitchar()

void ada_language::emitchar ( int ch,
struct type * chtype,
struct ui_file * stream,
int quoter ) const
inlineoverridevirtual

Reimplemented from language_defn.

Definition at line 13791 of file ada-lang.c.

References ada_emit_char().

◆ filename_extensions()

const std::vector< const char * > & ada_language::filename_extensions ( ) const
inlineoverridevirtual

Reimplemented from language_defn.

Definition at line 13386 of file ada-lang.c.

◆ get_symbol_name_matcher_inner()

symbol_name_matcher_ftype * ada_language::get_symbol_name_matcher_inner ( const lookup_name_info & lookup_name) const
inlineoverrideprotectedvirtual

Reimplemented from language_defn.

Definition at line 13867 of file ada-lang.c.

References ada_get_symbol_name_matcher().

◆ is_array_like()

bool ada_language::is_array_like ( struct type * type) const
inlineoverridevirtual

Reimplemented from language_defn.

Definition at line 13833 of file ada-lang.c.

References ada_is_array_descriptor_type(), and ada_is_constrained_packed_array_type().

◆ is_string_type_p()

bool ada_language::is_string_type_p ( struct type * type) const
inlineoverridevirtual

Reimplemented from language_defn.

Definition at line 13826 of file ada-lang.c.

References ada_is_string_type().

◆ iterate_over_symbols()

bool ada_language::iterate_over_symbols ( const struct block * block,
const lookup_name_info & name,
domain_enum domain,
gdb::function_view< symbol_found_callback_ftype > callback ) const
inlineoverridevirtual

Reimplemented from language_defn.

Definition at line 13505 of file ada-lang.c.

References ada_lookup_symbol_list_worker(), and name().

◆ language_arch_info()

void ada_language::language_arch_info ( struct gdbarch * gdbarch,
struct language_arch_info * lai ) const
inlineoverridevirtual

◆ lookup_symbol_nonlocal()

struct block_symbol ada_language::lookup_symbol_nonlocal ( const char * name,
const struct block * block,
const domain_enum domain ) const
inlineoverridevirtual

◆ name()

const char * ada_language::name ( ) const
inlineoverridevirtual

◆ natural_name()

const char * ada_language::natural_name ( ) const
inlineoverridevirtual

Implements language_defn.

Definition at line 13381 of file ada-lang.c.

◆ parser()

int ada_language::parser ( struct parser_state * ps) const
inlineoverridevirtual

Reimplemented from language_defn.

Definition at line 13783 of file ada-lang.c.

References ada_parse(), and warnings_issued.

◆ print_array_index()

void ada_language::print_array_index ( struct type * index_type,
LONGEST index,
struct ui_file * stream,
const value_print_options * options ) const
inlineoverridevirtual

Reimplemented from language_defn.

Definition at line 13395 of file ada-lang.c.

References gdb_printf(), val_atr(), and value_print().

◆ print_type()

void ada_language::print_type ( struct type * type,
const char * varstring,
struct ui_file * stream,
int show,
int level,
const struct type_print_options * flags ) const
inlineoverridevirtual

Implements language_defn.

Definition at line 13570 of file ada-lang.c.

References ada_print_type(), and flags.

◆ print_typedef()

void ada_language::print_typedef ( struct type * type,
struct symbol * new_symbol,
struct ui_file * stream ) const
inlineoverridevirtual

Reimplemented from language_defn.

Definition at line 13818 of file ada-lang.c.

References ada_print_typedef(), and new_symbol().

◆ printchar()

void ada_language::printchar ( int ch,
struct type * chtype,
struct ui_file * stream ) const
inlineoverridevirtual

Reimplemented from language_defn.

Definition at line 13799 of file ada-lang.c.

References ada_printchar().

◆ printstr()

void ada_language::printstr ( struct ui_file * stream,
struct type * elttype,
const gdb_byte * string,
unsigned int length,
const char * encoding,
int force_ellipses,
const struct value_print_options * options ) const
inlineoverridevirtual

Reimplemented from language_defn.

Definition at line 13807 of file ada-lang.c.

References ada_printstr().

◆ read_var_value()

struct value * ada_language::read_var_value ( struct symbol * var,
const struct block * var_block,
frame_info_ptr frame ) const
inlineoverridevirtual

◆ sniff_from_mangled_name()

bool ada_language::sniff_from_mangled_name ( const char * mangled,
gdb::unique_xmalloc_ptr< char > * out ) const
inlineoverridevirtual

Reimplemented from language_defn.

Definition at line 13522 of file ada-lang.c.

References ada_decode().

◆ store_sym_names_in_linkage_form_p()

bool ada_language::store_sym_names_in_linkage_form_p ( ) const
inlineoverridevirtual

Reimplemented from language_defn.

Definition at line 13856 of file ada-lang.c.

◆ struct_too_deep_ellipsis()

const char * ada_language::struct_too_deep_ellipsis ( ) const
inlineoverridevirtual

Reimplemented from language_defn.

Definition at line 13846 of file ada-lang.c.

◆ symbol_printing_suppressed()

bool ada_language::symbol_printing_suppressed ( struct symbol * symbol) const
inlineoverridevirtual

Reimplemented from language_defn.

Definition at line 13427 of file ada-lang.c.

References symbol::is_artificial().

◆ to_array()

struct value * ada_language::to_array ( struct value * val) const
inlineoverridevirtual

Reimplemented from language_defn.

Definition at line 13841 of file ada-lang.c.

References ada_coerce_to_simple_array().

◆ value_print()

void ada_language::value_print ( struct value * val,
struct ui_file * stream,
const struct value_print_options * options ) const
inlineoverridevirtual

Reimplemented from language_defn.

Definition at line 13721 of file ada-lang.c.

References ada_value_print().

Referenced by print_array_index().

◆ value_print_inner()

void ada_language::value_print_inner ( struct value * val,
struct ui_file * stream,
int recurse,
const struct value_print_options * options ) const
inlineoverridevirtual

Reimplemented from language_defn.

Definition at line 13729 of file ada-lang.c.

References ada_value_print_inner().

◆ value_string()

struct value * ada_language::value_string ( struct gdbarch * gdbarch,
const char * ptr,
ssize_t len ) const
inlineoverridevirtual

Reimplemented from language_defn.

Definition at line 13433 of file ada-lang.c.

References type::code(), language_string_char_type(), type::set_code(), value::type(), and value_string().

Referenced by value_string().

◆ varobj_ops()

const struct lang_varobj_ops * ada_language::varobj_ops ( ) const
inlineoverridevirtual

Reimplemented from language_defn.

Definition at line 13861 of file ada-lang.c.

References ada_varobj_ops.

◆ watch_location_expression()

gdb::unique_xmalloc_ptr< char > ada_language::watch_location_expression ( struct type * type,
CORE_ADDR addr ) const
inlineoverridevirtual

Reimplemented from language_defn.

Definition at line 13711 of file ada-lang.c.

References check_typedef(), name(), and type_to_string().

◆ word_break_characters()

const char * ada_language::word_break_characters ( void ) const
inlineoverridevirtual

Reimplemented from language_defn.

Definition at line 13579 of file ada-lang.c.

References ada_completer_word_break_characters.


The documentation for this class was generated from the following file: