From a0911fd0206cb727a3fd2f9b1227121bdd616838 Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Fri, 27 Apr 2012 18:32:33 +0000 Subject: * proc-utils.h (proc_prettyprint_signalset): New prototype. (proc_prettyprint_signal): Likewise. (proc_prettyprint_faultset): Likewise. (proc_prettyprint_fault): Likewise. (proc_prettyprint_actionset): Likewise. (proc_prettyprint_flags): Move to new proc-flags.c section. (proc_prettyfprint_flags): New prototype. * procfs.c (proc_nsysarg, proc_sysargs): Add prototypes. (proc_syscall, proc_cursig): Likewise. (proc_set_kill_on_last_close): Likewise. (proc_unset_kill_on_last_close): Likewise. (proc_set_watchpoint): Make static. (proc_delete_dead_threads): Likewise. (procfs_set_watchpoint): Likewise. (_initialize_procfs): Add prototype. * proc-events.c: Include proc-utils.h. (init_syscall_table): Make static. * proc-api.c (_initialize_proc_api): Add prototype. * proc-flags.c: Include proc-utils.h. --- gdb/proc-events.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gdb/proc-events.c') diff --git a/gdb/proc-events.c b/gdb/proc-events.c index fa56e34..216a65a 100644 --- a/gdb/proc-events.c +++ b/gdb/proc-events.c @@ -45,6 +45,8 @@ #include #endif +#include "proc-utils.h" + /* Much of the information used in the /proc interface, particularly for printing status information, is kept as tables of structures of the following form. These tables can be used to map numeric values @@ -105,7 +107,7 @@ struct trans #define MAX_SYSCALLS 262 /* Pretty arbitrary. */ static char *syscall_table[MAX_SYSCALLS]; -void +static void init_syscall_table (void) { #ifdef SYS_BSD_getime -- cgit v1.1