GDB (xrefs)
Loading...
Searching...
No Matches
Functions | Variables
xml-support.c File Reference
#include "defs.h"
#include "gdbcmd.h"
#include "xml-builtin.h"
#include "xml-support.h"
#include "gdbsupport/filestuff.h"
#include "gdbsupport/gdb-safe-ctype.h"
#include <vector>
#include <string>

Go to the source code of this file.

Functions

const char * fetch_xml_builtin (const char *filename)
 
LONGEST xml_builtin_xfer_partial (const char *filename, gdb_byte *readbuf, const gdb_byte *writebuf, ULONGEST offset, LONGEST len)
 
static void show_debug_xml (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value)
 
gdb::optional< gdb::char_vector > xml_fetch_content_from_file (const char *filename, const char *dirname)
 
void _initialize_xml_support ()
 

Variables

static bool debug_xml
 

Function Documentation

◆ _initialize_xml_support()

void _initialize_xml_support ( )

Definition at line 1006 of file xml-support.c.

Referenced by initialize_all_files().

◆ fetch_xml_builtin()

const char * fetch_xml_builtin ( const char * filename)

Definition at line 914 of file xml-support.c.

References xml_builtin.

Referenced by xml_builtin_xfer_partial().

◆ show_debug_xml()

static void show_debug_xml ( struct ui_file * file,
int from_tty,
struct cmd_list_element * c,
const char * value )
static

Definition at line 957 of file xml-support.c.

References gdb_printf().

◆ xml_builtin_xfer_partial()

LONGEST xml_builtin_xfer_partial ( const char * filename,
gdb_byte * readbuf,
const gdb_byte * writebuf,
ULONGEST offset,
LONGEST len )

Definition at line 931 of file xml-support.c.

References fetch_xml_builtin().

◆ xml_fetch_content_from_file()

gdb::optional< gdb::char_vector > xml_fetch_content_from_file ( const char * filename,
const char * dirname )

Definition at line 964 of file xml-support.c.

Referenced by file_read_description_xml().

Variable Documentation

◆ debug_xml

bool debug_xml
static

Definition at line 30 of file xml-support.c.