diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2012-04-27 18:32:33 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@linux-mips.org> | 2012-04-27 18:32:33 +0000 |
commit | a0911fd0206cb727a3fd2f9b1227121bdd616838 (patch) | |
tree | 4712a1deed92a21b69a86ab3170b4d4c695a816e /gdb/proc-utils.h | |
parent | 9009e1ae5f13e12f572907c251f503fba53c9966 (diff) | |
download | gdb-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-utils.h')
-rw-r--r-- | gdb/proc-utils.h | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/gdb/proc-utils.h b/gdb/proc-utils.h index b45d44b..a462d6e 100644 --- a/gdb/proc-utils.h +++ b/gdb/proc-utils.h @@ -29,7 +29,16 @@ extern void proc_prettyprint_syscalls (sysset_t *sysset, int verbose); extern void proc_prettyprint_syscall (int num, int verbose); -extern void proc_prettyprint_flags (unsigned long flags, int verbose); +extern void proc_prettyprint_signalset (sigset_t *sigset, int verbose); + +extern void proc_prettyprint_signal (int signo, int verbose); + +extern void proc_prettyprint_faultset (fltset_t *fltset, int verbose); + +extern void proc_prettyprint_fault (int faultno, int verbose); + +extern void proc_prettyprint_actionset (struct sigaction *actions, + int verbose); extern void proc_prettyfprint_signalset (FILE *file, sigset_t *sigset, int verbose); @@ -55,6 +64,18 @@ extern void proc_prettyfprint_syscalls (FILE *file, sysset_t *sysset, extern void proc_prettyfprint_status (long, int, int, int); +/* From proc-flags.c */ + +/* + * Pretty-print the prstatus flags. + */ + +extern void proc_prettyprint_flags (unsigned long flags, int verbose); + +extern void proc_prettyfprint_flags (FILE *file, unsigned long flags, + int verbose); + + /* From proc-api.c */ /* |