From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3D1833861016; Thu, 9 Jul 2020 01:58:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3D1833861016 From: "simark at simark dot ca" To: gdb-prs@sourceware.org Subject: [Bug remote/26221] New: "Interrupted system call" when resizing terminal while GDB is waiting for remote connection Date: Thu, 09 Jul 2020 01:58:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: remote X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: simark at simark dot ca X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jul 2020 01:58:26 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26221 Bug ID: 26221 Summary: "Interrupted system call" when resizing terminal while GDB is waiting for remote connection Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: remote Assignee: unassigned at sourceware dot org Reporter: simark at simark dot ca Target Milestone: --- Type "target remote :1234" in GDB, while nothing is listening on port 1234.= =20 GDB waits for the connection to be established. Meanwhile, resize the terminal. This happens: (gdb) tar rem :1234 :1234: Interrupted system call. Looks like we don't handle and restart interrupted system call somewhere wh= ere we should. --=20 You are receiving this mail because: You are on the CC list for the bug.=