GDB (xrefs)

Classes | Functions
/tmp/gdb-8.1/gdb/f-lang.h File Reference

Go to the source code of this file.

## Classes
struct | common_block
struct | builtin_f_type

## Functions
int | f_parse (struct parser_state *)
void | f_yyerror (const char *)
void | f_print_type (struct type *, const char *, struct ui_file *, int, int, const struct type_print_options *)
void | f_val_print (struct type *, int, CORE_ADDR, struct ui_file *, int, struct value *, const struct value_print_options *)
int | f77_get_upperbound (struct type *)
int | f77_get_lowerbound (struct type *)
void | f77_get_dynamic_array_length (struct type *)
int | calc_f77_array_dims (struct type *)
const struct builtin_f_type * | builtin_f_type (struct gdbarch *gdbarch)

## Function Documentation

## ◆ builtin_f_type()

const struct builtin_f_type* builtin_f_type | ( | struct gdbarch * | gdbarch | ) |

Definition at line 364 of file f-lang.c.

References f_type_data, and gdbarch_data().

Referenced by build_fortran_types(), and f_language_arch_info().

## ◆ calc_f77_array_dims()

int calc_f77_array_dims | ( | struct type * |  | ) |

Definition at line 3280 of file eval.c.

References _, error(), TYPE_CODE, TYPE_CODE_ARRAY, and TYPE_TARGET_TYPE.

Referenced by evaluate_subexp_standard(), and f77_print_array().

## ◆ f77_get_dynamic_array_length()

void f77_get_dynamic_array_length | ( | struct type * |  | ) |

## ◆ f77_get_lowerbound()

int f77_get_lowerbound | ( | struct type * |  | ) |

Definition at line 45 of file f-valprint.c.

References _, error(), TYPE_ARRAY_LOWER_BOUND_IS_UNDEFINED, and TYPE_ARRAY_LOWER_BOUND_VALUE.

Referenced by evaluate_subexp_standard(), f77_get_dynamic_length_of_aggregate(), f77_get_upperbound(), and f_type_print_varspec_suffix().

## ◆ f77_get_upperbound()

int f77_get_upperbound | ( | struct type * |  | ) |

Definition at line 54 of file f-valprint.c.

References f77_get_lowerbound(), TYPE_ARRAY_UPPER_BOUND_IS_UNDEFINED, and TYPE_ARRAY_UPPER_BOUND_VALUE.

Referenced by f77_get_dynamic_length_of_aggregate(), f_type_print_base(), and f_type_print_varspec_suffix().

## ◆ f_parse()

int f_parse | ( | struct parser_state * |  | ) |

Definition at line 2924 of file f-exp.c.

References gdb_assert, make_scoped_restore(), pstate, and yyparse().

## ◆ f_print_type()

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

Definition at line 51 of file f-typeprint.c.

References code, f_type_print_base(), f_type_print_varspec_prefix(), f_type_print_varspec_suffix(), fputs_filtered(), TYPE_CODE, TYPE_CODE_ARRAY, TYPE_CODE_FUNC, TYPE_CODE_METHOD, TYPE_CODE_PTR, TYPE_CODE_REF, TYPE_NAME, type_not_allocated(), type_not_associated(), val_print_not_allocated(), and val_print_not_associated().

## ◆ f_val_print()

void f_val_print | ( | struct type * | ,
|  | int | ,
|  | CORE_ADDR | ,
|  | struct ui_file * | ,
|  | int | ,
|  | struct value * | ,
|  | const struct value_print_options * |
| ) |  |

Definition at line 211 of file f-valprint.c.

References value_print_options::addressprint, check_typedef(), current_language, demangle, f77_get_dynamic_length_of_aggregate(), f77_print_array(), f_decorations, field_name(), value_print_options::format, fprintf_filtered(), fputs_filtered(), gdb_flush(), generic_val_print(), get_type_arch(), LA_PRINT_STRING, value_print_options::output_format, paddress(), print_address_demangle(), print_function_pointer_address(), value_print_options::symbol_print, TYPE_CODE, TYPE_CODE_ARRAY, TYPE_CODE_BOOL, TYPE_CODE_CHAR, TYPE_CODE_COMPLEX, TYPE_CODE_ERROR, TYPE_CODE_FLAGS, TYPE_CODE_FLT, TYPE_CODE_FUNC, TYPE_CODE_INT, TYPE_CODE_PTR, TYPE_CODE_RANGE, TYPE_CODE_REF, TYPE_CODE_STRING, TYPE_CODE_STRUCT, TYPE_CODE_UNDEF, TYPE_CODE_UNION, TYPE_CODE_VOID, TYPE_FIELD_NAME, TYPE_FIELD_TYPE, TYPE_LENGTH, TYPE_NFIELDS, TYPE_TARGET_TYPE, unpack_pointer(), val_print(), val_print_scalar_formatted(), val_print_string(), value_address(), value_contents_for_printing(), value_embedded_offset(), value_field(), and value_type().

## ◆ f_yyerror()

void f_yyerror | ( | const char * |  | ) |