GDB (xrefs)
|
#include "defs.h"
#include "gdbcmd.h"
#include "completer.h"
#include <sys/types.h>
#include <sys/procfs.h>
#include <sys/user.h>
#include <fcntl.h>
#include "gdb_wait.h"
#include "proc-utils.h"
Go to the source code of this file.
Classes | |
struct | trans |
Functions | |
static void | prepare_to_trace (void) |
static void | set_procfs_trace_cmd (char *args, int from_tty, struct cmd_list_element *c) |
static void | set_procfs_file_cmd (char *args, int from_tty, struct cmd_list_element *c) |
int | ioctl_with_trace (int fd, long opcode, void *ptr, char *file, int line) |
int | open_with_trace (char *filename, int mode, char *file, int line) |
int | close_with_trace (int fd, char *file, int line) |
pid_t | wait_with_trace (int *wstat, char *file, int line) |
void | procfs_note (char *msg, char *file, int line) |
void | proc_prettyfprint_status (long flags, int why, int what, int thread) |
void | _initialize_proc_api (void) |
Variables | |
static int | procfs_trace = 0 |
static FILE * | procfs_file = NULL |
static char * | procfs_filename = "procfs_trace" |
static struct trans | ioctl_table [] |
void _initialize_proc_api | ( | void | ) |
Definition at line 777 of file proc-api.c.
References _, add_setshow_boolean_cmd(), add_setshow_filename_cmd(), no_class, procfs_filename, procfs_trace, set_procfs_file_cmd(), set_procfs_trace_cmd(), setlist, and showlist.
Definition at line 676 of file proc-api.c.
References info_verbose, prepare_to_trace(), procfs_file, procfs_trace, and safe_strerror().
Definition at line 223 of file proc-api.c.
References trans::desc, info_verbose, trans::name, name, prepare_to_trace(), proc_prettyfprint_faultset(), proc_prettyfprint_signal(), proc_prettyfprint_signalset(), proc_prettyfprint_syscalls(), procfs_file, procfs_trace, and safe_strerror().
Definition at line 635 of file proc-api.c.
References info_verbose, prepare_to_trace(), procfs_file, procfs_trace, and safe_strerror().
|
static |
Definition at line 66 of file proc-api.c.
References procfs_file, procfs_filename, and procfs_trace.
Referenced by close_with_trace(), ioctl_with_trace(), open_with_trace(), proc_prettyfprint_status(), procfs_note(), and wait_with_trace().
Definition at line 752 of file proc-api.c.
References prepare_to_trace(), proc_prettyfprint_flags(), proc_prettyfprint_why(), procfs_file, and procfs_trace.
void procfs_note | ( | char * | msg, |
char * | file, | ||
int | line | ||
) |
Definition at line 737 of file proc-api.c.
References info_verbose, prepare_to_trace(), procfs_file, and procfs_trace.
|
static |
Definition at line 84 of file proc-api.c.
References procfs_file.
Referenced by _initialize_proc_api().
|
static |
Definition at line 75 of file proc-api.c.
References procfs_file.
Referenced by _initialize_proc_api().
Definition at line 702 of file proc-api.c.
References info_verbose, prepare_to_trace(), procfs_file, procfs_trace, and safe_strerror().
|
static |
Definition at line 96 of file proc-api.c.
|
static |
Definition at line 62 of file proc-api.c.
Referenced by close_with_trace(), ioctl_with_trace(), open_with_trace(), prepare_to_trace(), proc_prettyfprint_status(), procfs_note(), set_procfs_file_cmd(), set_procfs_trace_cmd(), and wait_with_trace().
|
static |
Definition at line 63 of file proc-api.c.
Referenced by _initialize_proc_api(), and prepare_to_trace().
|
static |
Definition at line 61 of file proc-api.c.
Referenced by _initialize_proc_api(), close_with_trace(), ioctl_with_trace(), open_with_trace(), prepare_to_trace(), proc_prettyfprint_status(), procfs_note(), and wait_with_trace().