public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/29669] New: [gdb/testsuite] silent timeout with host board local-remote-host-notty
@ 2022-10-11 15:05 vries at gcc dot gnu.org
  2022-10-11 15:53 ` [Bug testsuite/29669] " vries at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: vries at gcc dot gnu.org @ 2022-10-11 15:05 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=29669

            Bug ID: 29669
           Summary: [gdb/testsuite] silent timeout with host board
                    local-remote-host-notty
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: testsuite
          Assignee: unassigned at sourceware dot org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

I tried to run the gdb testsuite, test-cases gdb.server/*.exp using host board
local-remote-host-notty and noticed in the first test-case
gdb.server/stop-reply-no-thread-multi.exp a silent timeout on:
...
(gdb) kill^M
(gdb) The program is not being run.^M
...

I can reproduce this standalone using this command, which usually produces the
expected:
...
$ /usr/bin/ssh -l vries 127.0.0.1 ~/gdb_versions/devel/gdb.sh -ex \"maint set
target-non-stop off\" -ex kill 
The program is not being run.
(gdb) q
$
...

But sometimes:
...
$ /usr/bin/ssh -l vries 127.0.0.1 ~/gdb_versions/devel/gdb.sh -ex \"maint set
target-non-stop off\" -ex kill 
(gdb) The program is not being run.
q
$
...

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug testsuite/29669] [gdb/testsuite] silent timeout with host board local-remote-host-notty
  2022-10-11 15:05 [Bug testsuite/29669] New: [gdb/testsuite] silent timeout with host board local-remote-host-notty vries at gcc dot gnu.org
@ 2022-10-11 15:53 ` vries at gcc dot gnu.org
  2022-10-14  6:09 ` vries at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: vries at gcc dot gnu.org @ 2022-10-11 15:53 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=29669

--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
Now also reproduced without -ex \"maint set target-non-stop off\".

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug testsuite/29669] [gdb/testsuite] silent timeout with host board local-remote-host-notty
  2022-10-11 15:05 [Bug testsuite/29669] New: [gdb/testsuite] silent timeout with host board local-remote-host-notty vries at gcc dot gnu.org
  2022-10-11 15:53 ` [Bug testsuite/29669] " vries at gcc dot gnu.org
@ 2022-10-14  6:09 ` vries at gcc dot gnu.org
  2022-10-14  9:29 ` vries at gcc dot gnu.org
  2022-10-14 18:02 ` vries at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: vries at gcc dot gnu.org @ 2022-10-14  6:09 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=29669

--- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> ---
hmm, this sounds a lot like
https://stackoverflow.com/questions/63238934/problems-with-ssh-buffering-of-stderr-without-tt

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug testsuite/29669] [gdb/testsuite] silent timeout with host board local-remote-host-notty
  2022-10-11 15:05 [Bug testsuite/29669] New: [gdb/testsuite] silent timeout with host board local-remote-host-notty vries at gcc dot gnu.org
  2022-10-11 15:53 ` [Bug testsuite/29669] " vries at gcc dot gnu.org
  2022-10-14  6:09 ` vries at gcc dot gnu.org
@ 2022-10-14  9:29 ` vries at gcc dot gnu.org
  2022-10-14 18:02 ` vries at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: vries at gcc dot gnu.org @ 2022-10-14  9:29 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=29669

--- Comment #3 from Tom de Vries <vries at gcc dot gnu.org> ---
I think we should use ssh -t, like local-remote-host.

The only mentioned difference between the two seems to be that editing is on in
local-remote-host and off in local-remote-host-notty, and we can achieve this
by adding -iex "set editing off" to GDBFLAGS.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug testsuite/29669] [gdb/testsuite] silent timeout with host board local-remote-host-notty
  2022-10-11 15:05 [Bug testsuite/29669] New: [gdb/testsuite] silent timeout with host board local-remote-host-notty vries at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2022-10-14  9:29 ` vries at gcc dot gnu.org
@ 2022-10-14 18:02 ` vries at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: vries at gcc dot gnu.org @ 2022-10-14 18:02 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=29669

Tom de Vries <vries at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |13.1

--- Comment #4 from Tom de Vries <vries at gcc dot gnu.org> ---
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=c4c8c27263d2dd25647314f4897bd01ad1a78847

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-10-14 18:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-11 15:05 [Bug testsuite/29669] New: [gdb/testsuite] silent timeout with host board local-remote-host-notty vries at gcc dot gnu.org
2022-10-11 15:53 ` [Bug testsuite/29669] " vries at gcc dot gnu.org
2022-10-14  6:09 ` vries at gcc dot gnu.org
2022-10-14  9:29 ` vries at gcc dot gnu.org
2022-10-14 18:02 ` vries at gcc dot gnu.org

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).