[pushed] Don't check termio.h and sgtty.h in common/common.m4 either (Re: [PATCH 1/3] Assume termios is available, remove support for termio and sgtty)
Commit Message
On 11/06/2017 04:11 PM, Pedro Alves wrote:
> Here's what I'm pushing in, along with the rest of the series.
And (of course only...) after pushing I realized that gdb/config.in still
had the HAVE_TERMIO_H/HAVE_SGTTY_H templates. Turns out that
I missed removing the header checks in common/common.m4.
I've pushed in the obvious follow up patch below.
From d1928160a324c1b6cd14afeecd4c81ab927883fa Mon Sep 17 00:00:00 2001
From: Pedro Alves <palves@redhat.com>
Date: Mon, 6 Nov 2017 16:19:12 +0000
Subject: [PATCH] Don't check termio.h and sgtty.h in common/common.m4 either
common/common.m4 still had checks for termio.h/sgtty.h that are stale
now. Remove them.
gdb/ChangeLog:
2017-11-06 Pedro Alves <palves@redhat.com>
* common/common.m4 (GDB_AC_COMMON): No longer check termio.h nor
sgtty.h.
* config.in, configure: Regenerate.
gdb/gdbserver/ChangeLog:
2017-11-06 Pedro Alves <palves@redhat.com>
* config.in, configure: Regenerate.
---
gdb/ChangeLog | 6 ++++++
gdb/gdbserver/ChangeLog | 4 ++++
gdb/common/common.m4 | 2 +-
gdb/config.in | 6 ------
gdb/configure | 2 +-
gdb/gdbserver/config.in | 6 ------
gdb/gdbserver/configure | 2 +-
7 files changed, 13 insertions(+), 15 deletions(-)
@@ -1,5 +1,11 @@
2017-11-06 Pedro Alves <palves@redhat.com>
+ * common/common.m4 (GDB_AC_COMMON): No longer check termio.h nor
+ sgtty.h.
+ * config.in, configure: Regenerate.
+
+2017-11-06 Pedro Alves <palves@redhat.com>
+
* event-top.c: Check SIGTSTP instead of STOP_SIGNAL thoughout.
(async_init_signals): Adjust.
(handle_stop_sig): Rename to ...
@@ -1,3 +1,7 @@
+2017-11-06 Pedro Alves <palves@redhat.com>
+
+ * config.in, configure: Regenerate.
+
2017-10-27 Simon Marchi <simon.marchi@ericsson.com>
* target.c (struct thread_search): Remove.
@@ -29,7 +29,7 @@ AC_DEFUN([GDB_AC_COMMON], [
sys/resource.h sys/socket.h sys/syscall.h dnl
sys/un.h sys/wait.h dnl
thread_db.h wait.h dnl
- termios.h termio.h sgtty.h)
+ termios.h)
AC_CHECK_FUNCS([fdwalk getrlimit pipe pipe2 socketpair sigaction])
@@ -414,9 +414,6 @@
/* Define to 1 if you have the `setsid' function. */
#undef HAVE_SETSID
-/* Define to 1 if you have the <sgtty.h> header file. */
-#undef HAVE_SGTTY_H
-
/* Define to 1 if you have the `sigaction' function. */
#undef HAVE_SIGACTION
@@ -555,9 +552,6 @@
/* Define to 1 if you have the <termios.h> header file. */
#undef HAVE_TERMIOS_H
-/* Define to 1 if you have the <termio.h> header file. */
-#undef HAVE_TERMIO_H
-
/* Define to 1 if you have the <term.h> header file. */
#undef HAVE_TERM_H
@@ -13068,7 +13068,7 @@ $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
fi
- for ac_header in linux/perf_event.h locale.h memory.h signal.h sys/resource.h sys/socket.h sys/syscall.h sys/un.h sys/wait.h thread_db.h wait.h termios.h termio.h sgtty.h
+ for ac_header in linux/perf_event.h locale.h memory.h signal.h sys/resource.h sys/socket.h sys/syscall.h sys/un.h sys/wait.h thread_db.h wait.h termios.h
do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
@@ -205,9 +205,6 @@
/* Define to 1 if you have the `setns' function. */
#undef HAVE_SETNS
-/* Define to 1 if you have the <sgtty.h> header file. */
-#undef HAVE_SGTTY_H
-
/* Define to 1 if you have the `sigaction' function. */
#undef HAVE_SIGACTION
@@ -292,9 +289,6 @@
/* Define to 1 if you have the <termios.h> header file. */
#undef HAVE_TERMIOS_H
-/* Define to 1 if you have the <termio.h> header file. */
-#undef HAVE_TERMIO_H
-
/* Define to 1 if you have the <thread_db.h> header file. */
#undef HAVE_THREAD_DB_H
@@ -6769,7 +6769,7 @@ $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
fi
- for ac_header in linux/perf_event.h locale.h memory.h signal.h sys/resource.h sys/socket.h sys/syscall.h sys/un.h sys/wait.h thread_db.h wait.h termios.h termio.h sgtty.h
+ for ac_header in linux/perf_event.h locale.h memory.h signal.h sys/resource.h sys/socket.h sys/syscall.h sys/un.h sys/wait.h thread_db.h wait.h termios.h
do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"