GDB (xrefs)
|
Public Member Functions | |
fortran_array_printer_impl (struct type *type, CORE_ADDR address, struct value *val, struct ui_file *stream, int recurse, const struct value_print_options *options) | |
bool | continue_walking (bool should_continue) |
void | start_dimension (struct type *index_type, LONGEST nelts, bool inner_p) |
void | finish_dimension (bool inner_p, bool last_p) |
void | process_dimension (gdb::function_view< void(struct type *, int, bool)> walk_1, struct type *elt_type, LONGEST elt_off, LONGEST index, bool last_p) |
void | process_element (struct type *elt_type, LONGEST elt_off, LONGEST index, bool last_p) |
![]() | |
bool | continue_walking (bool should_continue) |
void | start_dimension (struct type *index_type, LONGEST nelts, bool inner_p) |
void | finish_dimension (bool inner_p, bool last_p) |
void | process_dimension (gdb::function_view< void(struct type *, int, bool)> walk_1, struct type *elt_type, LONGEST elt_off, LONGEST index, bool last_p) |
void | process_element (struct type *elt_type, LONGEST elt_off, LONGEST index, bool last_p) |
Private Member Functions | |
bool | dimension_contents_eq (const struct value *val, struct type *type, LONGEST offset1, LONGEST offset2) |
Private Attributes | |
int | m_elts |
struct value * | m_val |
struct ui_file * | m_stream |
int | m_recurse |
const struct value_print_options * | m_options = nullptr |
LONGEST | m_dimension |
LONGEST | m_nrepeats |
struct type * | m_elt_type_prev |
LONGEST | m_elt_off_prev |
std::vector< struct dimension_stats > | m_stats |
Definition at line 112 of file f-valprint.c.
|
inlineexplicit |
Definition at line 120 of file f-valprint.c.
|
inline |
Definition at line 141 of file f-valprint.c.
References gdb_puts(), m_elts, m_options, m_stream, and value_print_options::print_max.
|
inlineprivate |
Definition at line 336 of file f-valprint.c.
References check_typedef(), type::code(), dimension_contents_eq(), get_discrete_bounds(), fortran_array_offset_calculator::index_offset(), type::index_type(), type::length(), offset1, type::target_type(), and value_contents_eq().
Referenced by dimension_contents_eq(), and process_dimension().
|
inline |
Definition at line 170 of file f-valprint.c.
References gdb_puts(), m_dimension, and m_stream.
|
inline |
Definition at line 187 of file f-valprint.c.
References annotate_elt_rep(), annotate_elt_rep_end(), dimension_contents_eq(), gdb_printf(), gdb_puts(), m_dimension, m_elt_off_prev, m_elt_type_prev, m_elts, m_nrepeats, m_options, m_stats, m_stream, m_val, maybe_print_array_index(), metadata_style, value_print_options::print_max, ui_file_style::ptr(), value_print_options::repeat_count_threshold, cli_style_option::style(), and UINT_MAX.
|
inline |
Definition at line 258 of file f-valprint.c.
References annotate_elt_rep(), annotate_elt_rep_end(), common_val_print(), current_language, gdb_printf(), gdb_puts(), type::length(), m_dimension, m_elt_off_prev, m_elt_type_prev, m_elts, m_nrepeats, m_options, m_recurse, m_stats, m_stream, m_val, maybe_print_array_index(), metadata_style, value_print_options::print_max, ui_file_style::ptr(), value_print_options::repeat_count_threshold, cli_style_option::style(), UINT_MAX, value_contents_eq(), and value_from_component().
|
inline |
Definition at line 151 of file f-valprint.c.
References gdb_puts(), m_dimension, m_elt_type_prev, m_stats, and m_stream.
|
private |
Definition at line 386 of file f-valprint.c.
Referenced by finish_dimension(), process_dimension(), process_element(), and start_dimension().
|
private |
Definition at line 394 of file f-valprint.c.
Referenced by process_dimension(), and process_element().
|
private |
Definition at line 393 of file f-valprint.c.
Referenced by process_dimension(), process_element(), and start_dimension().
|
private |
Definition at line 370 of file f-valprint.c.
Referenced by continue_walking(), process_dimension(), and process_element().
|
private |
Definition at line 389 of file f-valprint.c.
Referenced by process_dimension(), and process_element().
|
private |
Definition at line 383 of file f-valprint.c.
Referenced by continue_walking(), process_dimension(), and process_element().
|
private |
Definition at line 379 of file f-valprint.c.
Referenced by process_element().
|
private |
Definition at line 397 of file f-valprint.c.
Referenced by process_dimension(), process_element(), and start_dimension().
|
private |
Definition at line 376 of file f-valprint.c.
Referenced by continue_walking(), finish_dimension(), process_dimension(), process_element(), and start_dimension().
|
private |
Definition at line 373 of file f-valprint.c.
Referenced by process_dimension(), and process_element().