From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 122604 invoked by alias); 6 Nov 2017 16:31:51 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 122580 invoked by uid 89); 6 Nov 2017 16:31:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=templates, Here's, Heres X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 06 Nov 2017 16:31:47 +0000 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 4B17E6A7DB for ; Mon, 6 Nov 2017 16:31:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 4B17E6A7DB Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=palves@redhat.com Received: from [127.0.0.1] (ovpn04.gateway.prod.ext.ams2.redhat.com [10.39.146.4]) by smtp.corp.redhat.com (Postfix) with ESMTP id 473D45D6A3; Mon, 6 Nov 2017 16:31:45 +0000 (UTC) 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) To: Sergio Durigan Junior References: <1509635522-16945-1-git-send-email-palves@redhat.com> <1509635522-16945-2-git-send-email-palves@redhat.com> <87r2tgcxzv.fsf@redhat.com> <87tvyc8oiz.fsf@redhat.com> <7fc7dcf8-405c-e300-d3c5-339931a8e83d@redhat.com> Cc: gdb-patches@sourceware.org From: Pedro Alves Message-ID: <2a6aae46-7ca8-fff0-c546-70b97766a05a@redhat.com> Date: Mon, 06 Nov 2017 16:31:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <7fc7dcf8-405c-e300-d3c5-339931a8e83d@redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-SW-Source: 2017-11/txt/msg00114.txt.bz2 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 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 * 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 * 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 + * common/common.m4 (GDB_AC_COMMON): No longer check termio.h nor + sgtty.h. + * config.in, configure: Regenerate. + +2017-11-06 Pedro Alves + * 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 + + * config.in, configure: Regenerate. + 2017-10-27 Simon Marchi * 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 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 header file. */ #undef HAVE_TERMIOS_H -/* Define to 1 if you have the header file. */ -#undef HAVE_TERMIO_H - /* Define to 1 if you have the 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 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 header file. */ #undef HAVE_TERMIOS_H -/* Define to 1 if you have the header file. */ -#undef HAVE_TERMIO_H - /* Define to 1 if you have the 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