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 (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 350 of file f-valprint.c.
References check_typedef(), type::code(), value::contents_eq(), dimension_contents_eq(), value::entirely_available(), value::entirely_unavailable(), get_discrete_bounds(), fortran_array_offset_calculator::index_offset(), type::index_type(), offset1, type::target_type(), and value_from_component().
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, and cli_style_option::style().
|
inline |
Definition at line 258 of file f-valprint.c.
References annotate_elt_rep(), annotate_elt_rep_end(), common_val_print(), value::contents_eq(), current_language, value::entirely_available(), value::entirely_unavailable(), gdb_printf(), gdb_puts(), 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(), and value_from_component().
|
inline |
Definition at line 151 of file f-valprint.c.
References gdb_puts(), type::index_type(), m_dimension, m_elt_type_prev, m_stats, and m_stream.
|
private |
Definition at line 408 of file f-valprint.c.
Referenced by finish_dimension(), process_dimension(), process_element(), and start_dimension().
|
private |
Definition at line 416 of file f-valprint.c.
Referenced by process_dimension(), and process_element().
|
private |
Definition at line 415 of file f-valprint.c.
Referenced by process_dimension(), process_element(), and start_dimension().
|
private |
Definition at line 392 of file f-valprint.c.
Referenced by continue_walking(), process_dimension(), and process_element().
|
private |
Definition at line 411 of file f-valprint.c.
Referenced by process_dimension(), and process_element().
|
private |
Definition at line 405 of file f-valprint.c.
Referenced by continue_walking(), process_dimension(), and process_element().
|
private |
Definition at line 401 of file f-valprint.c.
Referenced by process_element().
|
private |
Definition at line 419 of file f-valprint.c.
Referenced by process_dimension(), process_element(), and start_dimension().
|
private |
Definition at line 398 of file f-valprint.c.
Referenced by continue_walking(), finish_dimension(), process_dimension(), process_element(), and start_dimension().
|
private |
Definition at line 395 of file f-valprint.c.
Referenced by process_dimension(), and process_element().