|
GDB (xrefs)
|
#include "defs.h"#include "symtab.h"#include "gdbtypes.h"#include "expression.h"#include "value.h"#include "valprint.h"#include "language.h"#include "f-lang.h"#include "frame.h"#include "gdbcore.h"#include "command.h"#include "block.h"#include "dictionary.h"Go to the source code of this file.
Functions | |
| static void | f77_get_dynamic_length_of_aggregate (struct type *) |
| int | f77_get_lowerbound (struct type *type) |
| int | f77_get_upperbound (struct type *type) |
| static void | f77_print_array_1 (int nss, int ndimensions, struct type *type, const gdb_byte *valaddr, int embedded_offset, CORE_ADDR address, struct ui_file *stream, int recurse, const struct value *val, const struct value_print_options *options, int *elts) |
| static void | f77_print_array (struct type *type, const gdb_byte *valaddr, int embedded_offset, CORE_ADDR address, struct ui_file *stream, int recurse, const struct value *val, const struct value_print_options *options) |
| void | f_val_print (struct type *type, int embedded_offset, CORE_ADDR address, struct ui_file *stream, int recurse, struct value *original_value, const struct value_print_options *options) |
| static void | info_common_command_for_block (const struct block *block, const char *comname, int *any_printed) |
| static void | info_common_command (const char *comname, int from_tty) |
| void | _initialize_f_valprint (void) |
Variables | |
| int | f77_array_offset_tbl [MAX_FORTRAN_DIMS+1][2] |
| static const struct generic_val_print_decorations | f_decorations |
| void _initialize_f_valprint | ( | void | ) |
Definition at line 476 of file f-valprint.c.
References _, add_info(), and info_common_command().
|
static |
Definition at line 72 of file f-valprint.c.
References check_typedef(), f77_get_lowerbound(), f77_get_upperbound(), TYPE_CODE, TYPE_CODE_ARRAY, TYPE_CODE_STRING, TYPE_LENGTH, and TYPE_TARGET_TYPE.
Referenced by f_val_print().
| int f77_get_lowerbound | ( | struct type * | 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().
| int f77_get_upperbound | ( | struct type * | 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().
|
static |
Definition at line 171 of file f-valprint.c.
References _, value::address, calc_f77_array_dims(), value::embedded_offset, error(), f77_print_array_1(), and MAX_FORTRAN_DIMS.
Referenced by f_val_print().
|
static |
Definition at line 105 of file f-valprint.c.
References check_typedef(), current_language, fprintf_filtered(), get_discrete_bounds(), value_print_options::print_max, TYPE_INDEX_TYPE, TYPE_LENGTH, TYPE_TARGET_TYPE, val_print(), value_address(), value_contents_for_printing(), value_contents_for_printing_const(), value_embedded_offset(), value_from_contents_and_address(), value_subscript(), and value_type().
Referenced by f77_print_array().
| void f_val_print | ( | struct type * | type, |
| int | embedded_offset, | ||
| CORE_ADDR | address, | ||
| struct ui_file * | stream, | ||
| int | recurse, | ||
| struct value * | original_value, | ||
| const struct value_print_options * | 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().
|
static |
Definition at line 433 of file f-valprint.c.
References _, BLOCK_FUNCTION, BLOCK_SUPERBLOCK, get_frame_block(), get_selected_frame(), info_common_command_for_block(), and printf_filtered().
Referenced by _initialize_f_valprint().
|
static |
Definition at line 373 of file f-valprint.c.
References _, ALL_BLOCK_SYMBOLS, CATCH, COMMON_BLOCK_DOMAIN, common_block::contents, END_CATCH, gdb_assert, gdb_stdout, get_user_print_options(), LOC_COMMON_BLOCK, common_block::n_entries, printf_filtered(), putchar_filtered(), RETURN_MASK_ERROR, SYMBOL_CLASS, SYMBOL_DOMAIN, SYMBOL_LINKAGE_NAME, SYMBOL_PRINT_NAME, SYMBOL_VALUE_COMMON_BLOCK, TRY, value_of_variable(), and value_print().
Referenced by info_common_command().
| int f77_array_offset_tbl[MAX_FORTRAN_DIMS+1][2] |
Definition at line 39 of file f-valprint.c.
|
static |
Definition at line 195 of file f-valprint.c.
Referenced by f_val_print().
1.8.14