GDB (xrefs)
Functions | Variables
/home/stan/gdb/src/gdb/osdata.c File Reference
#include "defs.h"
#include "target.h"
#include "vec.h"
#include "xml-support.h"
#include "osdata.h"
#include "gdb_string.h"
#include "ui-out.h"
#include "gdbcmd.h"

Go to the source code of this file.

Functions

struct osdataosdata_parse (const char *xml)
static void osdata_item_clear (struct osdata_item *item)
void osdata_free (struct osdata *osdata)
static void osdata_free_cleanup (void *arg)
struct cleanupmake_cleanup_osdata_free (struct osdata *data)
struct osdataget_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)
void _initialize_osdata (void)

Variables

initialize_file_ftype _initialize_osdata

Function Documentation

void _initialize_osdata ( void  )

Definition at line 415 of file osdata.c.

References _, add_info(), and info_osdata_command().

struct osdata* get_osdata ( const char *  type) [read]
const char* get_osdata_column ( struct osdata_item item,
const char *  name 
)

Definition at line 276 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 
)
struct cleanup* make_cleanup_osdata_free ( struct osdata data) [read]

Definition at line 241 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 osdata)

Definition at line 211 of file osdata.c.

References osdata_item_clear(), VEC_free, VEC_iterate, and xfree().

Referenced by osdata_free_cleanup().

static void osdata_free_cleanup ( void *  arg) [static]

Definition at line 233 of file osdata.c.

References osdata_free().

Referenced by make_cleanup_osdata_free().

static void osdata_item_clear ( struct osdata_item item) [static]

Definition at line 190 of file osdata.c.

References osdata_column::name, osdata_column::value, VEC_free, VEC_iterate, and xfree().

Referenced by osdata_free().

struct osdata* osdata_parse ( const char *  xml) [read]

Definition at line 32 of file osdata.c.

References _, and warning().

Referenced by get_osdata().


Variable Documentation

Referenced by initialize_all_files().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines