From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1021 invoked by alias); 21 Dec 2015 11:30:52 -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 1001 invoked by uid 89); 21 Dec 2015 11:30:51 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:810, UD:random-signal.exp, sk:random, sk:random- X-HELO: mail-pf0-f178.google.com Received: from mail-pf0-f178.google.com (HELO mail-pf0-f178.google.com) (209.85.192.178) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Mon, 21 Dec 2015 11:30:50 +0000 Received: by mail-pf0-f178.google.com with SMTP id 78so14676114pfw.2 for ; Mon, 21 Dec 2015 03:30:50 -0800 (PST) X-Received: by 10.98.72.216 with SMTP id q85mr26347725pfi.95.1450697448853; Mon, 21 Dec 2015 03:30:48 -0800 (PST) Received: from E107787-LIN.cambridge.arm.com (gcc1-power7.osuosl.org. [140.211.15.137]) by smtp.gmail.com with ESMTPSA id zo4sm26286984pac.28.2015.12.21.03.30.47 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 21 Dec 2015 03:30:48 -0800 (PST) From: Yao Qi X-Google-Original-From: Yao Qi To: gdb-patches@sourceware.org Subject: [PATCH 0/2] Fix timeout in random-signal.exp Date: Mon, 21 Dec 2015 11:30:00 -0000 Message-Id: <1450697443-29067-1-git-send-email-yao.qi@linaro.org> X-IsSubscribed: yes X-SW-Source: 2015-12/txt/msg00422.txt.bz2 Hi, When I look into the timeout failures in random-signal.exp, I find there are two separate problems causing the timeout, so I write two patches to address them separately. The first one is that GDBserver may lose the interrupt character sent from GDB, and the second one is that GDB shouldn't change SIGINT handler for extension language if the terminal is still inferiors. Regression tested on aarch64-linux and x86_64-linux. *** BLURB HERE *** Yao Qi (2): Check input interrupt first when reading packet Change SIGINT handler for extension languages only when target terminal is ours gdb/extension.c | 51 ++++++++++++++++++++++++++------------------ gdb/gdbserver/remote-utils.c | 9 ++++++++ 2 files changed, 39 insertions(+), 21 deletions(-) -- 1.9.1