GDB (xrefs)
|
#include "defs.h"
#include "target.h"
#include "xml-support.h"
#include "osdata.h"
#include "ui-out.h"
#include "gdbcmd.h"
Go to the source code of this file.
Classes | |
struct | osdata_parsing_data |
Functions | |
static void | osdata_start_osdata (struct gdb_xml_parser *parser, const struct gdb_xml_element *element, void *user_data, std::vector< gdb_xml_value > &attributes) |
static void | osdata_start_item (struct gdb_xml_parser *parser, const struct gdb_xml_element *element, void *user_data, std::vector< gdb_xml_value > &attributes) |
static void | osdata_start_column (struct gdb_xml_parser *parser, const struct gdb_xml_element *element, void *user_data, std::vector< gdb_xml_value > &attributes) |
static void | osdata_end_column (struct gdb_xml_parser *parser, const struct gdb_xml_element *element, void *user_data, const char *body_text) |
std::unique_ptr< osdata > | osdata_parse (const char *xml) |
std::unique_ptr< osdata > | get_osdata (const char *type) |
const std::string * | get_osdata_column (const osdata_item &item, const char *name) |
void | info_osdata (const char *type) |
static void | info_osdata_command (const char *arg, int from_tty) |
void | _initialize_osdata () |
Variables | |
const struct gdb_xml_attribute | column_attributes [] |
const struct gdb_xml_element | item_children [] |
const struct gdb_xml_attribute | osdata_attributes [] |
const struct gdb_xml_element | osdata_children [] |
const struct gdb_xml_element | osdata_elements [] |
void _initialize_osdata | ( | ) |
Definition at line 293 of file osdata.c.
Referenced by initialize_all_files().
std::unique_ptr< osdata > get_osdata | ( | const char * | type | ) |
Definition at line 162 of file osdata.c.
References osdata_parse(), and target_get_osdata().
Referenced by info_osdata(), and list_available_thread_groups().
const std::string * get_osdata_column | ( | const osdata_item & | item, |
const char * | name | ||
) |
Definition at line 187 of file osdata.c.
References osdata_item::columns, name, osdata_column::name, and osdata_column::value.
Referenced by list_available_thread_groups().
void info_osdata | ( | const char * | type | ) |
Definition at line 197 of file osdata.c.
References osdata_item::columns, current_uiout, ui_out::field_string(), get_osdata(), ui_out::is_mi_like_p(), osdata::items, ui_out::table_body(), ui_out::table_header(), ui_out::text(), and ui_left.
Referenced by info_osdata_command(), and mi_cmd_info_os().
|
static |
Definition at line 286 of file osdata.c.
References info_osdata().
|
static |
Definition at line 100 of file osdata.c.
References osdata_item::columns, and osdata::items.
std::unique_ptr< osdata > osdata_parse | ( | const char * | xml | ) |
Definition at line 146 of file osdata.c.
References gdb_xml_parse_quick(), and osdata_elements.
Referenced by get_osdata().
|
static |
Definition at line 85 of file osdata.c.
References attributes, name, gdb_xml_value::value, and xml_find_attribute().
|
static |
|
static |
Definition at line 56 of file osdata.c.
References attributes, gdb_xml_error(), gdb_xml_value::value, and xml_find_attribute().
const struct gdb_xml_attribute column_attributes[] |
const struct gdb_xml_element item_children[] |
const struct gdb_xml_attribute osdata_attributes[] |
const struct gdb_xml_element osdata_children[] |
const struct gdb_xml_element osdata_elements[] |
Definition at line 139 of file osdata.c.
Referenced by osdata_parse().