From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20773 invoked by alias); 26 Sep 2013 20:03:00 -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 20762 invoked by uid 89); 26 Sep 2013 20:02:59 -0000 Received: from mailhost.u-strasbg.fr (HELO mailhost.u-strasbg.fr) (130.79.222.212) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 26 Sep 2013 20:02:59 +0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=3.4 required=5.0 tests=AWL,BAYES_50,MSGID_MULTIPLE_AT,SPAM_SUBJECT autolearn=no version=3.3.2 X-HELO: mailhost.u-strasbg.fr Received: from mailhost.u-strasbg.fr (localhost [127.0.0.1]) by antispam (Postfix) with ESMTP id BA994141107 for ; Thu, 26 Sep 2013 22:02:43 +0200 (CEST) Received: from mailhost.u-strasbg.fr (localhost [127.0.0.1]) by antivirus (Postfix) with ESMTP id AAA9314110E for ; Thu, 26 Sep 2013 22:02:42 +0200 (CEST) Received: from md15.u-strasbg.fr (md15.u-strasbg.fr [130.79.200.204]) by mr2.u-strasbg.fr (Postfix) with ESMTP id A4E09141113 for ; Thu, 26 Sep 2013 22:02:41 +0200 (CEST) Received: from ms14.u-strasbg.fr (ms14.u-strasbg.fr [130.79.204.114]) by md15.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id r8QK2f8J016611 for ; Thu, 26 Sep 2013 22:02:41 +0200 (envelope-from pierre.muller@ics-cnrs.unistra.fr) Received: from E6510Muller (lec67-4-82-230-53-140.fbx.proxad.net [82.230.53.140]) (Authenticated sender: mullerp) by ms14.u-strasbg.fr (Postfix) with ESMTPSA id 52C381FD8A for ; Thu, 26 Sep 2013 22:02:35 +0200 (CEST) From: "Pierre Muller" To: "'gdb-patches'" References: <002901cebaf2$35ec65a0$a1c530e0$@muller@ics-cnrs.unistra.fr> In-Reply-To: <002901cebaf2$35ec65a0$a1c530e0$@muller@ics-cnrs.unistra.fr> Subject: [RFC 4/6] Always set testsuite mode and interactive mode for mingw hosts. Date: Thu, 26 Sep 2013 20:03:00 -0000 Message-ID: <003501cebaf3$5a473b40$0ed5b1c0$@muller@ics-cnrs.unistra.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-SW-Source: 2013-09/txt/msg00940.txt.bz2 In order to get reliable results on mingw compiled GDB, we still need to convert output mode from text mode to binary mode. We also need to for GDB to behave interactively, and mingw GDb do not recognize correctly the pipes used by DejaGnu testsuite as an interactive setup. Pierre Muller GDB pascal language maintainer 2013-09-26 Pierre Muller lib/gdb.exp (mingw hosts): Add "maint set testsuite-mode on" and "set interactive-mode on" to startup commands. --- gdb/testsuite/lib/gdb.exp | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 5e3331a..031da7e 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -61,6 +61,10 @@ global INTERNAL_GDBFLAGS if ![info exists INTERNAL_GDBFLAGS] { set INTERNAL_GDBFLAGS "-nw -nx -data-directory $BUILD_DATA_DIRECTORY" } +if [ishost "*-*-mingw*"] { + verbose "mingw host, needs testsuite-mode" + append INTERNAL_GDBFLAGS " -iex {maint set testsuite-mode on} -iex {set interactive-mode on}" +} # The variable gdb_prompt is a regexp which matches the gdb prompt. # Set it if it is not already set. -- 1.7.9