aboutsummaryrefslogtreecommitdiff
path: root/gdb/proc-events.c
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2012-04-27 18:32:33 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2012-04-27 18:32:33 +0000
commita0911fd0206cb727a3fd2f9b1227121bdd616838 (patch)
tree4712a1deed92a21b69a86ab3170b4d4c695a816e /gdb/proc-events.c
parent9009e1ae5f13e12f572907c251f503fba53c9966 (diff)
* 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.
Diffstat (limited to 'gdb/proc-events.c')
-rw-r--r--gdb/proc-events.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/proc-events.c b/gdb/proc-events.c
index fa56e34c38..216a65aa55 100644
--- a/gdb/proc-events.c
+++ b/gdb/proc-events.c
@@ -45,6 +45,8 @@
#include <sys/fault.h>
#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