From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D74583858CDA; Fri, 7 Oct 2022 10:09:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D74583858CDA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1665137380; bh=9KrPu++Ykhc5pD8gDR9MjwqQXMdHOhuBAj1DdxyTNAE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=n8IJdNYL+ZVifP2xnqMdWooXIh01FteLEMga1GsVaPVipFB1MDyQ3Z2yj5IItg72Y OoUQ/ZZ2IAOX3Xsd69uISViXAv3niLqnI5G2TO4/OlvNLYUg6dVNAZn1rts72tJXrN 4UktNP5bpLGqWyzKeF2JIM87aBGJv6jmX3+UuZ04= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug testsuite/29659] [gdb/testsuite] local-remote-host timeouts with bracketed-paste Date: Fri, 07 Oct 2022 10:09:40 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: testsuite X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org 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: Message-ID: In-Reply-To: References: 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29659 --- Comment #4 from Tom de Vries --- (In reply to Tom de Vries from comment #3) > > With test-case gdb.server/connect-with-no-symbol-file.exp and host board > > local-remote-host-notty, I have: > > ... > > Type "apropos word" to search for commands related to "word".^M > > (gdb) set height 0^M > > (gdb) set width 0^M > > (gdb) disconnect^M > > You can't do that when your target is `None'^M > > ... >=20 > Hmm, occasionally I also run into: > ... > Type "apropos word" to search for commands related to "word".^M > (gdb) set height 0^M > (gdb) set width 0^M > (gdb) disconnect^M > You can't do that when your target is `None'(gdb) ^M > FAIL: gdb.server/connect-with-no-symbol-file.exp: sysroot=3D: > action=3Dpermission: setup: disconnect (timeout) > ... > So, a "\n" seems to have gone missing. >=20 > Hmm, that seems to be fixed by: > ... > diff --git a/gdb/exceptions.c b/gdb/exceptions.c > index fdb65b3dc4b..fa962964042 100644 > --- a/gdb/exceptions.c > +++ b/gdb/exceptions.c > @@ -85,6 +85,7 @@ print_exception (struct ui_file *file, const struct gdb= _exc > eption &e) > } > }=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 > gdb_printf (file, "\n"); > + print_flush (); >=20=20 > /* Now append the annotation. */ > switch (e.reason) > ... Well, not fixed but maybe less likely to occur. --=20 You are receiving this mail because: You are on the CC list for the bug.=