public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@adacore.com>
To: Thiago Jung Bauermann <thiago.bauermann@linaro.org>
Cc: "Luis Machado" <luis.machado@arm.com>,
	"Tom Tromey" <tromey@adacore.com>,
	gdb-patches@sourceware.org,
	"Kévin Le Gouguec" <legouguec@adacore.com>
Subject: Re: [PATCH] Strip trailing newlines from input string
Date: Mon, 15 Apr 2024 09:04:11 -0600	[thread overview]
Message-ID: <87ttk23bx0.fsf@tromey.com> (raw)
In-Reply-To: <87a5lzoouv.fsf@linaro.org> (Thiago Jung Bauermann's message of "Thu, 11 Apr 2024 13:17:44 -0300")

Thiago> The Linaro CI uses the read1 tool which makes Expect read the GDB output
Thiago> one byte at a time.

Aha, thanks.  I'd forgotten about this.

I think the problem is that the gdb_test_multiple isn't matching the
command itself, so the 'echo hello' confuses it into failing.

I'm going to check this in with a small update to work with read1.

Tom

  reply	other threads:[~2024-04-15 15:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-08 17:18 Tom Tromey
2024-04-09 22:36 ` Luis Machado
2024-04-11 13:45   ` Tom Tromey
2024-04-11 14:45     ` Luis Machado
2024-04-11 16:17       ` Thiago Jung Bauermann
2024-04-15 15:04         ` Tom Tromey [this message]
2024-04-15 18:21 ` [PP?] " Simon Marchi
2024-04-15 18:28   ` Tom Tromey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ttk23bx0.fsf@tromey.com \
    --to=tromey@adacore.com \
    --cc=gdb-patches@sourceware.org \
    --cc=legouguec@adacore.com \
    --cc=luis.machado@arm.com \
    --cc=thiago.bauermann@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).