GDB (xrefs)
|
#include "defs.h"
#include "target.h"
#include "target-descriptions.h"
#include "xml-support.h"
#include "xml-tdesc.h"
#include "osabi.h"
#include "filenames.h"
#include <unordered_map>
#include <string>
Go to the source code of this file.
Macros | |
#define | MAX_FIELD_SIZE 65536 |
#define | MAX_FIELD_BITSIZE (MAX_FIELD_SIZE * TARGET_CHAR_BIT) |
#define | MAX_VECTOR_SIZE 65536 |
Functions | |
static struct target_desc * | tdesc_parse_xml (const char *document, xml_fetch_another fetcher) |
const struct target_desc * | file_read_description_xml (const char *filename) |
static gdb::optional< gdb::char_vector > | fetch_available_features_from_target (const char *name, target_ops *ops) |
const struct target_desc * | target_read_description_xml (struct target_ops *ops) |
gdb::optional< std::string > | target_fetch_description_xml (struct target_ops *ops) |
const struct target_desc * | string_read_description_xml (const char *xml) |
#define MAX_FIELD_BITSIZE (MAX_FIELD_SIZE * TARGET_CHAR_BIT) |
Definition at line 35 of file xml-tdesc.c.
#define MAX_FIELD_SIZE 65536 |
Definition at line 34 of file xml-tdesc.c.
#define MAX_VECTOR_SIZE 65536 |
Definition at line 36 of file xml-tdesc.c.
|
static |
Definition at line 691 of file xml-tdesc.c.
References name, TARGET_OBJECT_AVAILABLE_FEATURES, and target_read_stralloc().
Referenced by target_fetch_description_xml(), and target_read_description_xml().
const struct target_desc * file_read_description_xml | ( | const char * | filename | ) |
Definition at line 664 of file xml-tdesc.c.
References ldirname(), name, tdesc_parse_xml(), and xml_fetch_content_from_file().
Referenced by maint_print_c_tdesc_cmd(), maint_print_xml_tdesc_cmd(), maintenance_check_xml_descriptions(), and target_find_description().
const struct target_desc * string_read_description_xml | ( | const char * | xml | ) |
Definition at line 763 of file xml-tdesc.c.
References tdesc_parse_xml().
Referenced by maintenance_check_tdesc_xml_convert(), and core_target::read_description().
gdb::optional< std::string > target_fetch_description_xml | ( | struct target_ops * | ops | ) |
Definition at line 725 of file xml-tdesc.c.
References fetch_available_features_from_target(), name, and xml_process_xincludes().
Referenced by tfile_write_tdesc().
const struct target_desc * target_read_description_xml | ( | struct target_ops * | ops | ) |
Definition at line 705 of file xml-tdesc.c.
References fetch_available_features_from_target(), name, and tdesc_parse_xml().
Referenced by target_find_description().
|
static |
Definition at line 44 of file xml-tdesc.c.
Referenced by file_read_description_xml(), string_read_description_xml(), and target_read_description_xml().