GDB (xrefs)
|
#include "typeprint.h"
Public Member Functions | |
void | update (struct type *type, unsigned int field_idx, struct ui_file *stream) |
void | finish (struct type *type, int level, struct ui_file *stream) |
print_offset_data (const struct type_print_options *flags) | |
Public Attributes | |
bool | print_in_hex = false |
unsigned int | offset_bitpos = 0 |
unsigned int | end_bitpos = 0 |
Static Public Attributes | |
static const int | indentation = 27 |
Private Member Functions | |
void | maybe_print_hole (struct ui_file *stream, unsigned int bitpos, const char *for_what) |
Definition at line 62 of file typeprint.h.
|
explicit |
Definition at line 77 of file typeprint.c.
References flags, type_print_options::print_in_hex, and print_in_hex.
Definition at line 184 of file typeprint.c.
References gdb_printf(), gdb_puts(), indentation, type::length(), maybe_print_hole(), and print_spaces().
Referenced by c_type_print_base_struct_union(), and rust_print_struct_def().
|
private |
Definition at line 86 of file typeprint.c.
References end_bitpos, fprintf_styled(), gdb_puts(), highlight_style, and cli_style_option::style().
void print_offset_data::update | ( | struct type * | type, |
unsigned int | field_idx, | ||
struct ui_file * | stream ) |
Definition at line 125 of file typeprint.c.
References field::bitsize(), check_typedef(), type::code(), end_bitpos, type::field(), gdb_printf(), indentation, field::is_packed(), field::is_static(), type::length(), field::loc_bitpos(), maybe_print_hole(), offset_bitpos, print_in_hex, print_spaces(), and field::type().
Referenced by c_type_print_base_struct_union(), and rust_print_struct_def().
unsigned int print_offset_data::end_bitpos = 0 |
Definition at line 77 of file typeprint.h.
Referenced by c_type_print_base_struct_union(), maybe_print_hole(), and update().
|
static |
Definition at line 100 of file typeprint.h.
Referenced by c_type_print_base_struct_union(), finish(), print_spaces_filtered_with_print_options(), rust_print_struct_def(), and update().
unsigned int print_offset_data::offset_bitpos = 0 |
Definition at line 72 of file typeprint.h.
Referenced by c_type_print_base_struct_union(), and update().
bool print_offset_data::print_in_hex = false |
Definition at line 66 of file typeprint.h.
Referenced by print_offset_data(), and update().