gdb: Don't skip prologue for explicit line breakpoints in assembler
[deliverable/binutils-gdb.git] / gdb / common / common.m4
index e48dd5a79fc30905a3766f261951b7353887956b..5701dd982939e355fe47cb91dda4377a2ec57afb 100644 (file)
@@ -1,5 +1,5 @@
 dnl Autoconf configure snippets for common.
-dnl Copyright (C) 1995-2015 Free Software Foundation, Inc.
+dnl Copyright (C) 1995-2019 Free Software Foundation, Inc.
 dnl
 dnl This file is part of GDB.
 dnl 
@@ -26,11 +26,12 @@ AC_DEFUN([GDB_AC_COMMON], [
   AM_LANGINFO_CODESET
 
   AC_CHECK_HEADERS(linux/perf_event.h locale.h memory.h signal.h dnl
-                  sys/resource.h sys/socket.h sys/syscall.h dnl
+                  sys/resource.h sys/socket.h dnl
                   sys/un.h sys/wait.h dnl
-                  thread_db.h wait.h)
+                  thread_db.h wait.h dnl
+                  termios.h)
 
-  AC_CHECK_FUNCS([fdwalk getrlimit pipe pipe2 socketpair])
+  AC_CHECK_FUNCS([fdwalk getrlimit pipe pipe2 socketpair sigaction])
 
   AC_CHECK_DECLS([strerror, strstr])
 
@@ -44,33 +45,4 @@ gdb_cv_func_sigsetjmp=yes, gdb_cv_func_sigsetjmp=no)])
 if test $gdb_cv_func_sigsetjmp = yes; then
   AC_DEFINE(HAVE_SIGSETJMP, 1, [Define if sigsetjmp is available. ])
 fi
-
-  # Assume we'll default to using the included libiberty regex.
-  gdb_use_included_regex=yes
-
-  # However, if the system regex is GNU regex, then default to *not*
-  # using the included regex.
-  AC_CACHE_CHECK(
-    [for GNU regex],
-    [gdb_cv_have_gnu_regex],
-    [AC_TRY_COMPILE(
-      [#include <gnu-versions.h>],
-      [#define REGEX_INTERFACE_VERSION 1
-  #if _GNU_REGEX_INTERFACE_VERSION != REGEX_INTERFACE_VERSION
-  # error "Version mismatch"
-  #endif],
-      gdb_cv_have_gnu_regex=yes,
-      gdb_cv_have_gnu_regex=no)])
-  if test $gdb_cv_have_gnu_regex = yes; then
-    gdb_use_included_regex=no
-  fi
-
-  AC_ARG_WITH(included-regex,
-    AS_HELP_STRING([--without-included-regex], [don't use included regex; this is the default on systems with version 2 of the GNU C library (use with caution on other system)]),
-    gdb_with_regex=$withval,
-    gdb_with_regex=$gdb_use_included_regex)
-  if test "$gdb_with_regex" = yes; then
-    AC_DEFINE(USE_INCLUDED_REGEX, 1,
-      [Define to 1 if the regex included in libiberty should be used.])
-  fi
 ])
This page took 0.025122 seconds and 4 git commands to generate.