GDB (xrefs)

Classes | Functions
/tmp/gdb-8.1/gdb/d-lang.h File Reference
`#include "symtab.h"`

Go to the source code of this file.

## Classes
struct | builtin_d_type

## Functions
int | d_parse (struct parser_state *)
void | d_yyerror (const char *)
const char * | d_main_name (void)
char * | d_demangle (const char *mangled, int options)
const struct builtin_d_type * | builtin_d_type (struct gdbarch *)
struct block_symbol | d_lookup_symbol_nonlocal (const struct language_defn *, const char *, const struct block *, const domain_enum)
struct block_symbol | d_lookup_nested_symbol (struct type *, const char *, const struct block *)
void | d_val_print (struct type *type, int embedded_offset, CORE_ADDR address, struct ui_file *stream, int recurse, struct value *val, const struct value_print_options *options)

## Function Documentation

## ◆ builtin_d_type()

const struct builtin_d_type* builtin_d_type | ( | struct gdbarch * |  | ) |

Definition at line 341 of file d-lang.c.

References d_type_data, and gdbarch_data().

Referenced by build_d_types(), and d_language_arch_info().

## ◆ d_demangle()

char* d_demangle | ( | const char * | mangled,
|  | int | options
| ) |  |

Definition at line 53 of file d-lang.c.

References gdb_demangle().

Referenced by d_sniff_from_mangled_name(), and demangle_for_lookup().

## ◆ d_lookup_nested_symbol()

struct block_symbol d_lookup_nested_symbol | ( | struct type * | ,
|  | const char * | ,
|  | const struct block * |
| ) |  |

Definition at line 303 of file d-namespace.c.

References check_typedef(), d_lookup_symbol_in_module(), find_symbol_in_baseclass(), gdb_assert_not_reached, lookup_static_symbol(), null_block_symbol, size, block_symbol::symbol, TYPE_CODE, TYPE_CODE_ENUM, TYPE_CODE_FUNC, TYPE_CODE_METHOD, TYPE_CODE_MODULE, TYPE_CODE_STRUCT, TYPE_CODE_UNION, type_name_no_tag_or_error(), VAR_DOMAIN, and xsnprintf().

Referenced by classify_inner_name(), and d_lookup_symbol().

## ◆ d_lookup_symbol_nonlocal()

struct block_symbol d_lookup_symbol_nonlocal | ( | const struct language_defn * | ,
|  | const char * | ,
|  | const struct block * | ,
|  | const domain_enum |
| ) |  |

Definition at line 510 of file d-namespace.c.

References block_scope(), d_lookup_symbol_module(), lookup_module_scope(), name, and block_symbol::symbol.

## ◆ d_main_name()

const char* d_main_name | ( | void |  | ) |

Definition at line 38 of file d-lang.c.

References D_MAIN, and lookup_minimal_symbol().

Referenced by find_main_name().

## ◆ d_parse()

int d_parse | ( | struct parser_state * |  | ) |

Definition at line 3344 of file d-exp.c.

References auto_obstack::clear(), gdb_assert, last_was_structop, make_scoped_restore(), parser_debug, pstate, saw_name_at_eof, VEC_free, yydebug, and yyparse().

## ◆ d_val_print()

void d_val_print | ( | struct type * | type,
|  | int | embedded_offset,
|  | CORE_ADDR | address,
|  | struct ui_file * | stream,
|  | int | recurse,
|  | struct value * | val,
|  | const struct value_print_options * | options
| ) |  |

Definition at line 76 of file d-valprint.c.

References value::address, c_val_print(), check_typedef(), dynamic_array_type(), value::embedded_offset, TYPE_CODE, and TYPE_CODE_STRUCT.

Referenced by dynamic_array_type().

## ◆ d_yyerror()

void d_yyerror | ( | const char * |  | ) |