public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
* [Bug remote/26221] New: "Interrupted system call" when resizing terminal while GDB is waiting for remote connection @ 2020-07-09 1:58 simark at simark dot ca 2022-01-09 1:20 ` [Bug remote/26221] " tromey at sourceware dot org 2022-01-09 2:00 ` simark at simark dot ca 0 siblings, 2 replies; 3+ messages in thread From: simark at simark dot ca @ 2020-07-09 1:58 UTC (permalink / raw) To: gdb-prs https://sourceware.org/bugzilla/show_bug.cgi?id=26221 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. 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 where we should. -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug remote/26221] "Interrupted system call" when resizing terminal while GDB is waiting for remote connection 2020-07-09 1:58 [Bug remote/26221] New: "Interrupted system call" when resizing terminal while GDB is waiting for remote connection simark at simark dot ca @ 2022-01-09 1:20 ` tromey at sourceware dot org 2022-01-09 2:00 ` simark at simark dot ca 1 sibling, 0 replies; 3+ messages in thread From: tromey at sourceware dot org @ 2022-01-09 1:20 UTC (permalink / raw) To: gdb-prs https://sourceware.org/bugzilla/show_bug.cgi?id=26221 Tom Tromey <tromey at sourceware dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tromey at sourceware dot org --- Comment #1 from Tom Tromey <tromey at sourceware dot org> --- I couldn't reproduce this on x86-64 Fedora 34. I tried both with and without the TUI. Only the TUI installs SIGWINCH and nowadays it uses SA_RESTART. So maybe this is fixed? The thing is, though, I think the SA_RESTART code dates from 2014... maybe there was another SIGWINCH handler in the past? -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug remote/26221] "Interrupted system call" when resizing terminal while GDB is waiting for remote connection 2020-07-09 1:58 [Bug remote/26221] New: "Interrupted system call" when resizing terminal while GDB is waiting for remote connection simark at simark dot ca 2022-01-09 1:20 ` [Bug remote/26221] " tromey at sourceware dot org @ 2022-01-09 2:00 ` simark at simark dot ca 1 sibling, 0 replies; 3+ messages in thread From: simark at simark dot ca @ 2022-01-09 2:00 UTC (permalink / raw) To: gdb-prs https://sourceware.org/bugzilla/show_bug.cgi?id=26221 Simon Marchi <simark at simark dot ca> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #2 from Simon Marchi <simark at simark dot ca> --- Oh, that was fixed here, forgot to update the bug: commit 439706e6a907b54658714a358b220febc63a0182 Author: Simon Marchi <simon.marchi@polymtl.ca> Date: Thu Jan 21 14:04:52 2021 -0500 gdb: use interruptible_select when connecting to a remote -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-01-09 2:00 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2020-07-09 1:58 [Bug remote/26221] New: "Interrupted system call" when resizing terminal while GDB is waiting for remote connection simark at simark dot ca 2022-01-09 1:20 ` [Bug remote/26221] " tromey at sourceware dot org 2022-01-09 2:00 ` simark at simark dot ca
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).