aboutsummaryrefslogtreecommitdiff
path: root/gdb/proc-flags.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-flags.c
parent9009e1ae5f13e12f572907c251f503fba53c9966 (diff)
downloadgdb-a0911fd0206cb727a3fd2f9b1227121bdd616838.zip
gdb-a0911fd0206cb727a3fd2f9b1227121bdd616838.tar.gz
gdb-a0911fd0206cb727a3fd2f9b1227121bdd616838.tar.bz2
* 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-flags.c')
-rw-r--r--gdb/proc-flags.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/proc-flags.c b/gdb/proc-flags.c
index 35f1212..57eca90 100644
--- a/gdb/proc-flags.c
+++ b/gdb/proc-flags.c
@@ -35,6 +35,8 @@
#include <sys/types.h>
#include <sys/procfs.h>
+#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 to