1b725ae77Skettenis /* Low level Unix child interface to ttrace, for GDB when running under HP-UX. 2b725ae77Skettenis 3*11efff7fSkettenis Copyright 2003, 2004 Free Software Foundation, Inc. 4b725ae77Skettenis 5b725ae77Skettenis This file is part of GDB. 6b725ae77Skettenis 7b725ae77Skettenis This program is free software; you can redistribute it and/or modify 8b725ae77Skettenis it under the terms of the GNU General Public License as published by 9b725ae77Skettenis the Free Software Foundation; either version 2 of the License, or 10b725ae77Skettenis (at your option) any later version. 11b725ae77Skettenis 12b725ae77Skettenis This program is distributed in the hope that it will be useful, 13b725ae77Skettenis but WITHOUT ANY WARRANTY; without even the implied warranty of 14b725ae77Skettenis MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15b725ae77Skettenis GNU General Public License for more details. 16b725ae77Skettenis 17b725ae77Skettenis You should have received a copy of the GNU General Public License 18b725ae77Skettenis along with this program; if not, write to the Free Software 19b725ae77Skettenis Foundation, Inc., 59 Temple Place - Suite 330, 20b725ae77Skettenis Boston, MA 02111-1307, USA. */ 21b725ae77Skettenis 22b725ae77Skettenis #ifndef INFTTRACE_H 23b725ae77Skettenis #define INFTTRACE_H 24b725ae77Skettenis 25*11efff7fSkettenis enum target_waitkind; 26*11efff7fSkettenis 27b725ae77Skettenis extern int parent_attach_all (int, PTRACE_ARG3_TYPE, int); 28b725ae77Skettenis extern pid_t hppa_switched_threads (pid_t gdb_pid); 29*11efff7fSkettenis extern int hpux_has_forked (int pid, int *childpid); 30*11efff7fSkettenis extern int hpux_has_vforked (int pid, int *childpid); 31*11efff7fSkettenis extern int hpux_has_execd (int pid, char **execd_pathname); 32*11efff7fSkettenis extern int hpux_has_syscall_event (int pid, enum target_waitkind *kind, 33*11efff7fSkettenis int *syscall_id); 34b725ae77Skettenis 35b725ae77Skettenis #endif 36