From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 111193 invoked by alias); 7 Aug 2018 19:13:45 -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 111063 invoked by uid 89); 7 Aug 2018 19:13:44 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=cdt, CDT, Was, eclipse X-HELO: mail-yb0-f169.google.com Received: from mail-yb0-f169.google.com (HELO mail-yb0-f169.google.com) (209.85.213.169) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 07 Aug 2018 19:13:43 +0000 Received: by mail-yb0-f169.google.com with SMTP id d18-v6so3103032ybq.5 for ; Tue, 07 Aug 2018 12:13:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=AsVa3aek6yzxCSVPg9T7vCuNXdOc5EAQ1XyNM4jkAQU=; b=nlc8Nn/2PoGlaR+6+D3+3Wuv23NH12KPOLEWZZfxhDkhlk/Lom7UUOoI7Lav2+4OSu MfEhH784X40IVmbUV3YV8XbTcbIgg8Ll/UzlPQM+IzMP6AocQE/WAbWRbZKSrzF4bG4N Jfy1NSLnyzNf8cmVjtpxS+dBRVFn0g9zbcLjNfB0TTU39/J3GVH9zPByaL9xenLNhzX0 rZKAaaAzjl0JRLZK5bj0jf3I1jKOz0fnFYXTIpfbd3THlXiANcyg5dkDYeiQXHHPRTYP rkx0QvEHPjk2RZmMQjhqdU+asqUDcJW9Qqj6UfmMyaeLtVhlL4WNctQL6gvo3x0Y0cS+ NXCw== MIME-Version: 1.0 Received: by 2002:a25:57c2:0:0:0:0:0 with HTTP; Tue, 7 Aug 2018 12:13:40 -0700 (PDT) From: Brian Vandenberg Date: Tue, 07 Aug 2018 19:13:00 -0000 Message-ID: Subject: [PATCH][PR gdb/8527] Interrupt not functional in Eclipse/CDT on Solaris To: gdb-patches@sourceware.org Content-Type: multipart/mixed; boundary="0000000000001db2fa0572dd316e" X-SW-Source: 2018-08/txt/msg00122.txt.bz2 --0000000000001db2fa0572dd316e Content-Type: text/plain; charset="UTF-8" Content-length: 877 In Solaris: If gdb attaches to a process that either has no controlling terminal, or the controlling terminal differs from the one gdb is running under, break/^C doesn't interrupt the debugged process. This is a fix that was proposed for this problem quite awhile ago but never implemented; it's been in the Adacore GDB branch for quite awhile. Without going into unnecessary details I cannot easily run the test suite against this change right now. If this patch gets rejected based on that, when I have time I'll see about getting IllumOS installed in a VM and test it there, but the problem was originally found in sparc Solaris. ---- note: this patch was tested against 8.1.1. It looks like it probably still applies on the 8.2 branch, but I won't be able to test it until 8.2 is released. -brian ps, my assignment/release forms were completed/received 10/30/2017 --0000000000001db2fa0572dd316e Content-Type: text/plain; charset="US-ASCII"; name="gdb-8527-patch, revised.txt" Content-Disposition: attachment; filename="gdb-8527-patch, revised.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_jkk27os31 Content-length: 1066 Z2RiL0NoYW5nZWxvZzoNCjIwMTgtMDgtMDcgIEJyaWFuIFZhbmRlbmJlcmcg IDxwaGFudGFsbEBnbWFpbC5jb20+DQoNCglQUiBnZGIvODUyNw0KCSogcHJv Y2ZzLmMgKHByb2Nfd2FpdF9mb3Jfc3RvcCk6IGNhbGxzIHRvIHNldF9zaWdp bnRfdHJhcCBhbmQNCgljbGVhcl9zaWdpbnRfdHJhcC4NCg0KZGlmZiAtLWdp dCBhL2dkYi9wcm9jZnMuYyBiL2dkYi9wcm9jZnMuYw0KaW5kZXggN2I3ZmY0 NS4uN2NkODcwYyAxMDA2NDQNCi0tLSBh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