|
GDBserver
|
#include "defs.h"#include "xml-utils.h"#include "buffer.h"#include "inttypes.h"#include <stdlib.h>#include <string.h>#include <stdio.h>#include <stdint.h>Go to the source code of this file.
Functions | |
| void | buffer_grow (struct buffer *buffer, const char *data, size_t size) |
| void | buffer_free (struct buffer *buffer) |
| void | buffer_init (struct buffer *buffer) |
| char * | buffer_finish (struct buffer *buffer) |
| void | buffer_xml_printf (struct buffer *buffer, const char *format,...) |
| char* buffer_finish | ( | struct buffer * | buffer | ) |
Definition at line 77 of file buffer.c.
References buffer::buffer, buffer::buffer_size, and buffer::used_size.
Referenced by handle_qxfer_threads(), handle_qxfer_traceframe_info(), linux_attach_lwp_1(), linux_common_xfer_osdata(), linux_xfer_osdata_fds(), linux_xfer_osdata_isockets(), linux_xfer_osdata_modules(), linux_xfer_osdata_msg(), linux_xfer_osdata_processes(), linux_xfer_osdata_processgroups(), linux_xfer_osdata_sem(), linux_xfer_osdata_shm(), and linux_xfer_osdata_threads().
| void buffer_free | ( | struct buffer * | buffer | ) |
Definition at line 59 of file buffer.c.
References buffer::buffer, buffer::buffer_size, buffer::used_size, and xfree().
Referenced by handle_qxfer_btrace(), handle_qxfer_threads(), handle_qxfer_traceframe_info(), linux_common_xfer_osdata(), linux_xfer_osdata_fds(), linux_xfer_osdata_isockets(), linux_xfer_osdata_modules(), linux_xfer_osdata_msg(), linux_xfer_osdata_processes(), linux_xfer_osdata_processgroups(), linux_xfer_osdata_sem(), linux_xfer_osdata_shm(), and linux_xfer_osdata_threads().
| void buffer_grow | ( | struct buffer * | buffer, |
| const char * | data, | ||
| size_t | size | ||
| ) |
Definition at line 36 of file buffer.c.
References buffer::buffer, buffer::buffer_size, memcpy(), buffer::used_size, and xrealloc().
Referenced by buffer_xml_printf().
| void buffer_init | ( | struct buffer * | buffer | ) |
Definition at line 71 of file buffer.c.
References memset().
Referenced by handle_qxfer_threads(), handle_qxfer_traceframe_info(), linux_attach_lwp_1(), linux_common_xfer_osdata(), linux_xfer_osdata_fds(), linux_xfer_osdata_isockets(), linux_xfer_osdata_modules(), linux_xfer_osdata_msg(), linux_xfer_osdata_processes(), linux_xfer_osdata_processgroups(), linux_xfer_osdata_sem(), linux_xfer_osdata_shm(), and linux_xfer_osdata_threads().
| void buffer_xml_printf | ( | struct buffer * | buffer, |
| const char * | format, | ||
| ... | |||
| ) |
Definition at line 87 of file buffer.c.
References buffer_grow(), buffer_grow_str, xfree(), and xml_escape_text().
Referenced by build_traceframe_info_xml(), handle_qxfer_threads_proper(), linux_common_xfer_osdata(), linux_ptrace_attach_warnings(), linux_xfer_osdata_fds(), linux_xfer_osdata_modules(), linux_xfer_osdata_msg(), linux_xfer_osdata_processes(), linux_xfer_osdata_processgroups(), linux_xfer_osdata_sem(), linux_xfer_osdata_shm(), linux_xfer_osdata_threads(), and print_sockets().
1.7.6.1