diff options
author | Sergio Durigan Junior <sergiodj@redhat.com> | 2019-09-26 14:24:30 -0400 |
---|---|---|
committer | Sergio Durigan Junior <sergiodj@redhat.com> | 2019-09-26 14:24:30 -0400 |
commit | 50fa3001ce25e221ca2e54564b5589d29c4bed19 (patch) | |
tree | 4f99db1e48244cf2e3d86b867a90314dcf6d7777 /gdb/inf-ptrace.h | |
parent | 381beca6146ac68b57edf47d28cdb335fbd11635 (diff) | |
download | gdb-50fa3001ce25e221ca2e54564b5589d29c4bed19.zip gdb-50fa3001ce25e221ca2e54564b5589d29c4bed19.tar.gz gdb-50fa3001ce25e221ca2e54564b5589d29c4bed19.tar.bz2 |
Revert "Improve ptrace-error detection on Linux targets"
This reverts commit 381beca6146ac68b57edf47d28cdb335fbd11635.
The patch hasn't been fully reviewed yet, and Pedro would like to see
more fixes.
Diffstat (limited to 'gdb/inf-ptrace.h')
-rw-r--r-- | gdb/inf-ptrace.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/gdb/inf-ptrace.h b/gdb/inf-ptrace.h index 7cdab9a..98b5d2e 100644 --- a/gdb/inf-ptrace.h +++ b/gdb/inf-ptrace.h @@ -83,14 +83,4 @@ protected: extern pid_t get_ptrace_pid (ptid_t); -/* Pointer to "inf_ptrace_me_fail_reason", which implements a function - that can be called by "inf_ptrace_me" in order to obtain the reason - for a ptrace failure. ERR is the ERRNO value set by the failing - ptrace call. - - This pointer can be overriden by targets that want to personalize - the error message printed when ptrace fails (see linux-nat.c, for - example). */ -extern std::string (*inf_ptrace_me_fail_reason) (int err); - #endif |