GDB (xrefs)
|
#include "vec.h"
Go to the source code of this file.
Classes | |
struct | osdata_column |
struct | osdata_item |
struct | osdata |
Typedefs | |
typedef struct osdata_column | osdata_column_s |
typedef struct osdata_item | osdata_item_s |
typedef struct osdata * | osdata_p |
Functions | |
DEF_VEC_O (osdata_column_s) | |
DEF_VEC_O (osdata_item_s) | |
DEF_VEC_P (osdata_p) | |
struct osdata * | osdata_parse (const char *xml) |
void | osdata_free (struct osdata *) |
struct cleanup * | make_cleanup_osdata_free (struct osdata *data) |
struct osdata * | get_osdata (const char *type) |
const char * | get_osdata_column (struct osdata_item *item, const char *name) |
void | info_osdata_command (char *type, int from_tty) |
typedef struct osdata_column osdata_column_s |
typedef struct osdata_item osdata_item_s |
DEF_VEC_O | ( | osdata_column_s | ) |
DEF_VEC_O | ( | osdata_item_s | ) |
DEF_VEC_P | ( | osdata_p | ) |
Definition at line 244 of file osdata.c.
References _, do_cleanups(), error(), make_cleanup(), osdata_parse(), target_get_osdata(), warning(), and xfree().
Referenced by info_osdata_command(), and list_available_thread_groups().
const char* get_osdata_column | ( | struct osdata_item * | item, |
const char * | name | ||
) |
Definition at line 273 of file osdata.c.
References osdata_column::name, osdata_column::value, and VEC_iterate.
Referenced by list_available_thread_groups().
void info_osdata_command | ( | char * | type, |
int | from_tty | ||
) |
Definition at line 289 of file osdata.c.
References _, current_uiout, do_cleanups(), error(), get_osdata(), make_cleanup_osdata_free(), make_cleanup_ui_out_table_begin_end(), make_cleanup_ui_out_tuple_begin_end(), osdata_column::name, ui_left, ui_out_field_string(), ui_out_is_mi_like_p(), ui_out_table_body(), ui_out_table_header(), ui_out_text(), osdata_column::value, VEC_empty, VEC_iterate, VEC_last, and VEC_length.
Referenced by _initialize_osdata(), and mi_cmd_info_os().
Definition at line 238 of file osdata.c.
References make_cleanup(), and osdata_free_cleanup().
Referenced by info_osdata_command(), and list_available_thread_groups().
void osdata_free | ( | struct osdata * | ) |
Definition at line 208 of file osdata.c.
References osdata_item_clear(), VEC_free, VEC_iterate, and xfree().
Referenced by clear_parsing_data(), and osdata_free_cleanup().
Definition at line 166 of file osdata.c.
References _, clear_parsing_data(), discard_cleanups(), do_cleanups(), gdb_xml_parse_quick(), make_cleanup(), and osdata_parsing_data::osdata.
Referenced by get_osdata().