forked from Imagelibrary/binutils-gdb
* inferior.h (procfs_first_available): Move declaration to...
* proc-utils.h: ... here. * sol-thread.c: Include procfs.h and proc-utils.h.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2009-06-07 Pedro Alves <pedro@codesourcery.com>
|
||||||
|
|
||||||
|
* inferior.h (procfs_first_available): Move declaration to...
|
||||||
|
* proc-utils.h: ... here.
|
||||||
|
* sol-thread.c: Include procfs.h and proc-utils.h.
|
||||||
|
|
||||||
2009-06-07 Pedro Alves <pedro@codesourcery.com>
|
2009-06-07 Pedro Alves <pedro@codesourcery.com>
|
||||||
|
|
||||||
* inferior.h (proc_iterate_over_mappings): Delete declaration.
|
* inferior.h (proc_iterate_over_mappings): Delete declaration.
|
||||||
|
|||||||
@@ -196,10 +196,6 @@ extern void terminal_init_inferior (void);
|
|||||||
|
|
||||||
extern void terminal_init_inferior_with_pgrp (int pgrp);
|
extern void terminal_init_inferior_with_pgrp (int pgrp);
|
||||||
|
|
||||||
/* From procfs.c */
|
|
||||||
|
|
||||||
extern ptid_t procfs_first_available (void);
|
|
||||||
|
|
||||||
/* From fork-child.c */
|
/* From fork-child.c */
|
||||||
|
|
||||||
extern int fork_inferior (char *, char *, char **,
|
extern int fork_inferior (char *, char *, char **,
|
||||||
|
|||||||
@@ -16,6 +16,7 @@
|
|||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
|
/* From proc-why.c */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Pretty-print functions for /proc data
|
* 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);
|
extern void proc_prettyfprint_status (long, int, int, int);
|
||||||
|
|
||||||
|
|
||||||
|
/* From proc-api.c */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Trace functions for /proc api.
|
* Trace functions for /proc api.
|
||||||
*/
|
*/
|
||||||
@@ -92,3 +96,8 @@ typedef PROC_CTL_WORD_TYPE procfs_ctl_t;
|
|||||||
#else
|
#else
|
||||||
typedef long procfs_ctl_t;
|
typedef long procfs_ctl_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
/* From procfs.c */
|
||||||
|
|
||||||
|
extern ptid_t procfs_first_available (void);
|
||||||
|
|||||||
@@ -65,8 +65,9 @@
|
|||||||
#include "solib.h"
|
#include "solib.h"
|
||||||
#include "symfile.h"
|
#include "symfile.h"
|
||||||
#include "observer.h"
|
#include "observer.h"
|
||||||
|
|
||||||
#include "gdb_string.h"
|
#include "gdb_string.h"
|
||||||
|
#include <sys/procfs.h>
|
||||||
|
#include "proc-utils.h"
|
||||||
|
|
||||||
struct target_ops sol_thread_ops;
|
struct target_ops sol_thread_ops;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user