diff options
Diffstat (limited to 'gdbserver')
-rw-r--r-- | gdbserver/ChangeLog | 5 | ||||
-rw-r--r-- | gdbserver/config.in | 4 | ||||
-rwxr-xr-x | gdbserver/configure | 20 |
3 files changed, 5 insertions, 24 deletions
diff --git a/gdbserver/ChangeLog b/gdbserver/ChangeLog index ea8a079fbf2..37e38611d5d 100644 --- a/gdbserver/ChangeLog +++ b/gdbserver/ChangeLog @@ -1,3 +1,8 @@ +2020-03-20 Simon Marchi <simon.marchi@efficios.com> + + * config.in: Re-generate. + * configure: Re-generate. + 2020-03-17 Kamil Rytarowski <n54@gmx.com> * regcache.cc (find_register_by_number): Update. diff --git a/gdbserver/config.in b/gdbserver/config.in index e62795072f2..da1bdbe3d94 100644 --- a/gdbserver/config.in +++ b/gdbserver/config.in @@ -50,10 +50,6 @@ */ #undef HAVE_DECL_PERROR -/* Define to 1 if you have the declaration of `ptrace', and to 0 if you don't. - */ -#undef HAVE_DECL_PTRACE - /* Define to 1 if you have the declaration of `snprintf', and to 0 if you don't. */ #undef HAVE_DECL_SNPRINTF diff --git a/gdbserver/configure b/gdbserver/configure index 55cf2416b56..0de11f7ee61 100755 --- a/gdbserver/configure +++ b/gdbserver/configure @@ -9413,26 +9413,6 @@ gdb_ptrace_headers=' # include <unistd.h> #endif ' -# There is no point in checking if we don't have a prototype. -ac_fn_c_check_decl "$LINENO" "ptrace" "ac_cv_have_decl_ptrace" "$gdb_ptrace_headers -" -if test "x$ac_cv_have_decl_ptrace" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_PTRACE $ac_have_decl -_ACEOF -if test $ac_have_decl = 1; then : - -else - - : ${gdb_cv_func_ptrace_ret='int'} - : ${gdb_cv_func_ptrace_args='int,int,long,long'} - -fi # Check return type. Varargs (used on GNU/Linux) conflict with the # empty argument list, so check for that explicitly. |