From: Pedro Alves <palves@redhat.com>
To: Sergio Durigan Junior <sergiodj@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: [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)
Date: Mon, 06 Nov 2017 16:31:00 -0000 [thread overview]
Message-ID: <2a6aae46-7ca8-fff0-c546-70b97766a05a@redhat.com> (raw)
In-Reply-To: <7fc7dcf8-405c-e300-d3c5-339931a8e83d@redhat.com>
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(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 80caa43..7a90ea5 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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 ...
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index cb2e4d0..eaf6a68 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -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.
diff --git a/gdb/common/common.m4 b/gdb/common/common.m4
index 45726ab..7e701b6 100644
--- a/gdb/common/common.m4
+++ b/gdb/common/common.m4
@@ -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])
diff --git a/gdb/config.in b/gdb/config.in
index 3f8ee38..904c604 100644
--- a/gdb/config.in
+++ b/gdb/config.in
@@ -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
diff --git a/gdb/configure b/gdb/configure
index c638652..def194d 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -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"
diff --git a/gdb/gdbserver/config.in b/gdb/gdbserver/config.in
index 5dacbac..4a2e778 100644
--- a/gdb/gdbserver/config.in
+++ b/gdb/gdbserver/config.in
@@ -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
diff --git a/gdb/gdbserver/configure b/gdb/gdbserver/configure
index d5c62fb..ec032bc 100755
--- a/gdb/gdbserver/configure
+++ b/gdb/gdbserver/configure
@@ -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"
--
2.5.5
next prev parent reply other threads:[~2017-11-06 16:31 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-02 15:12 [PATCH 0/3] Some terminal handling TCL Pedro Alves
2017-11-02 15:12 ` [PATCH 1/3] Assume termios is available, remove support for termio and sgtty Pedro Alves
2017-11-02 18:54 ` Sergio Durigan Junior
2017-11-02 19:27 ` Pedro Alves
2017-11-02 19:32 ` Sergio Durigan Junior
2017-11-06 16:11 ` Pedro Alves
2017-11-06 16:31 ` Pedro Alves [this message]
2017-11-02 15:12 ` [PATCH 3/3] Eliminate STOP_SIGNAL, use SIGTSTP directly Pedro Alves
2017-11-02 15:12 ` [PATCH 2/3] Don't set terminal flags twice in a row Pedro Alves
2017-11-02 18:34 ` Sergio Durigan Junior
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2a6aae46-7ca8-fff0-c546-70b97766a05a@redhat.com \
--to=palves@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=sergiodj@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox