From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15333 invoked by alias); 27 Sep 2013 19:22:15 -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 15323 invoked by uid 89); 27 Sep 2013 19:22:14 -0000 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; Fri, 27 Sep 2013 19:22:14 +0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r8RJMCVj012044 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 27 Sep 2013 15:22:12 -0400 Received: from brno.lan (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id r8RJMBl2024616 for ; Fri, 27 Sep 2013 15:22:12 -0400 From: Pedro Alves To: gdb-patches@sourceware.org Subject: [PATCH 0/2] Make catch-syscall.exp work with "target remote". Date: Fri, 27 Sep 2013 19:22:00 -0000 Message-Id: <1380309731-29881-1-git-send-email-palves@redhat.com> X-SW-Source: 2013-09/txt/msg00968.txt.bz2 Running the pending GDBserver "catch syscall" patch against the native-gdbserver.exp board ("target remote", instead of the native-extended-gdbserver.exp board ("target extended-remote") fails the existing catch-syscall.exp test. These look like problems with the testsuite, actually independent of the catch syscall support, so I took a stab at fixing them. Unfortunately, the first patch regresses testing against the stdio board. The second patch fixes that. If people are OK with these patches, I'll swap their order before check in. Pedro Alves (2): Make catch-syscall.exp work with "target remote". A.k.a., teach the testsuite that GDBserver reliably reports program exits. [GDBserver]: Silence exits if GDB is connected through stdio. gdb/gdbserver/server.c | 5 ++++- gdb/gdbserver/target.c | 23 ++++++++++++++++------- gdb/testsuite/README | 8 ++++++++ gdb/testsuite/boards/native-gdbserver.exp | 1 + gdb/testsuite/boards/native-stdio-gdbserver.exp | 1 + gdb/testsuite/lib/gdb.exp | 21 +++++++++++++++------ 6 files changed, 45 insertions(+), 14 deletions(-) -- 1.7.11.7