X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Finf-ptrace.h;h=0a267202eccbe6140bc68d211b9fef2cd25b1146;hb=7f31862a8d9f3eea51fc58bd66abeb70c730feaf;hp=0213ed09db467455c9ff7010543dbfb57bad115b;hpb=a9762ec78a53fbe9209fe1654db42df0cd328d50;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/inf-ptrace.h b/gdb/inf-ptrace.h index 0213ed09db..0a267202ec 100644 --- a/gdb/inf-ptrace.h +++ b/gdb/inf-ptrace.h @@ -1,6 +1,6 @@ /* Low level child interface to ptrace. - Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc. + Copyright (C) 2004-2016 Free Software Foundation, Inc. This file is part of GDB. @@ -33,4 +33,9 @@ extern struct target_ops * inf_ptrace_trad_target (CORE_ADDR (*register_u_offset) (struct gdbarch *, int, int)); +/* Return which PID to pass to ptrace in order to observe/control the + tracee identified by PTID. */ + +extern pid_t get_ptrace_pid (ptid_t); + #endif