X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Finf-ptrace.h;h=0a267202eccbe6140bc68d211b9fef2cd25b1146;hb=7f31862a8d9f3eea51fc58bd66abeb70c730feaf;hp=3bb61052fa3f8b846935cd1d31b9bfc97e93f160;hpb=ecd75fc8eed3bde86036141228074a20e55dcfc9;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/inf-ptrace.h b/gdb/inf-ptrace.h index 3bb61052fa..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-2014 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