aboutsummaryrefslogtreecommitdiff
path: root/gdb/proc-utils.h
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2009-06-07 18:41:40 +0000
committerPedro Alves <palves@redhat.com>2009-06-07 18:41:40 +0000
commitcc35222d222435b67cfe0b4cd876b15b4ace41b7 (patch)
treecd05ad4fd3464f71994436f41af5d3593de0ec73 /gdb/proc-utils.h
parent09d3bde977f98e66cd770b080b29e3aa651acd65 (diff)
* inferior.h (procfs_first_available): Move declaration to...
* proc-utils.h: ... here. * sol-thread.c: Include procfs.h and proc-utils.h.
Diffstat (limited to 'gdb/proc-utils.h')
-rw-r--r--gdb/proc-utils.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/proc-utils.h b/gdb/proc-utils.h
index d951f04d88..cf52ff60cd 100644
--- a/gdb/proc-utils.h
+++ b/gdb/proc-utils.h
@@ -16,6 +16,7 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
+/* From proc-why.c */
/*
* Pretty-print functions for /proc data
@@ -53,6 +54,9 @@ extern void proc_prettyfprint_syscalls (FILE *file, sysset_t *sysset,
extern void proc_prettyfprint_status (long, int, int, int);
+
+/* From proc-api.c */
+
/*
* Trace functions for /proc api.
*/
@@ -92,3 +96,8 @@ typedef PROC_CTL_WORD_TYPE procfs_ctl_t;
#else
typedef long procfs_ctl_t;
#endif
+
+
+/* From procfs.c */
+
+extern ptid_t procfs_first_available (void);