X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fptrace.m4;h=8e4b8c671e995fb19c9558b6b33d76334ee8960d;hb=9344c18feb0ef3dfacfd1d0437c0d1e329feaa83;hp=f01c692c205fc993706b4525ab3dbcb07e55102b;hpb=54019719152ab269fb4cec2c6a8a245ba6af6e49;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ptrace.m4 b/gdb/ptrace.m4 index f01c692c20..8e4b8c671e 100644 --- a/gdb/ptrace.m4 +++ b/gdb/ptrace.m4 @@ -1,4 +1,4 @@ -dnl Copyright (C) 2012-2015 Free Software Foundation, Inc. +dnl Copyright (C) 2012-2019 Free Software Foundation, Inc. dnl dnl This file is part of GDB. dnl @@ -22,12 +22,6 @@ AC_DEFUN([GDB_AC_PTRACE], AC_CHECK_HEADERS([sys/ptrace.h ptrace.h]) -# Needs to be tested in C++ mode, to detect whether we need to cast -# the first argument to enum __ptrace_request. -if test "$enable_build_with_cxx" = "yes"; then - AC_LANG_PUSH([C++]) -fi - gdb_ptrace_headers=' #include #if HAVE_SYS_PTRACE_H @@ -97,8 +91,4 @@ if test -n "$[5]"; then AC_DEFINE_UNQUOTED(PTRACE_TYPE_ARG5, $[5], [Define to the type of arg 5 for ptrace.]) fi - -if test "$enable_build_with_cxx" = "yes"; then - AC_LANG_POP([C++]) -fi ])