1146822Sharti/* Low level Unix child interface to ttrace, for GDB when running under HP-UX.
2146822Sharti
3146822Sharti   Copyright 2003, 2004 Free Software Foundation, Inc.
4146822Sharti
5146822Sharti   This file is part of GDB.
6146822Sharti
7146822Sharti   This program is free software; you can redistribute it and/or modify
8146822Sharti   it under the terms of the GNU General Public License as published by
9146822Sharti   the Free Software Foundation; either version 2 of the License, or
10146822Sharti   (at your option) any later version.
11146822Sharti
12146822Sharti   This program is distributed in the hope that it will be useful,
13146822Sharti   but WITHOUT ANY WARRANTY; without even the implied warranty of
14146822Sharti   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15146822Sharti   GNU General Public License for more details.
16146822Sharti
17146822Sharti   You should have received a copy of the GNU General Public License
18146822Sharti   along with this program; if not, write to the Free Software
19146822Sharti   Foundation, Inc., 59 Temple Place - Suite 330,
20146822Sharti   Boston, MA 02111-1307, USA.  */
21146822Sharti
22146822Sharti#ifndef INFTTRACE_H
23146822Sharti#define INFTTRACE_H
24146822Sharti
25146822Shartienum target_waitkind;
26146822Sharti
27146822Shartiextern int parent_attach_all (int, PTRACE_ARG3_TYPE, int);
28146822Shartiextern pid_t hppa_switched_threads (pid_t gdb_pid);
29146822Shartiextern int hpux_has_forked (int pid, int *childpid);
30146822Shartiextern int hpux_has_vforked (int pid, int *childpid);
31146822Shartiextern int hpux_has_execd (int pid, char **execd_pathname);
32146822Shartiextern int hpux_has_syscall_event (int pid, enum target_waitkind *kind,
33146822Sharti				   int *syscall_id);
34146822Sharti
35146822Sharti#endif
36146822Sharti