public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug testsuite/31819] [gdb/testsuite] ERROR: Couldn't load server-kill-python into GDB
Date: Wed, 12 Jun 2024 17:15:09 +0000	[thread overview]
Message-ID: <bug-31819-4717-59CaG0h3Hz@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-31819-4717@http.sourceware.org/bugzilla/>

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

--- Comment #2 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tom de Vries <vries@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9a50e260ee1cf3b7e355371f0f4248407101795d

commit 9a50e260ee1cf3b7e355371f0f4248407101795d
Author: Tom de Vries <tdevries@suse.de>
Date:   Wed Jun 12 19:15:45 2024 +0200

    [gdb/testsuite] Fix error in gdb.server/server-kill-python.exp

    With test-case gdb.server/server-kill-python.exp, I sometimes run into:
    ...
    builtin_spawn gdb -nw -nx -q -iex set height 0 -iex set width 0 \
      -data-directory data-directory^M
    kill^M
    (gdb) kill^M
    file server-kill-python^M
    The program is not being run.^M
    (gdb) ERROR: Couldn't load server-kill-python into GDB.
    ...

    The problem is that the spawn produces a prompt, but it's not explicitly
    consumed.

    This is a regression since commit 0f077fcae0f ("[gdb/testsuite] Simplify
    gdb.server/server-kill-python.exp").

    Fix this by consuming the initial prompt.

    PR testsuite/31819
    Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31819
    Fixes: 0f077fcae0f ("[gdb/testsuite] Simplify
gdb.server/server-kill-python.exp"

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

  parent reply	other threads:[~2024-06-12 17:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-30  9:45 [Bug testsuite/31819] New: " vries at gcc dot gnu.org
2024-05-30 11:04 ` [Bug testsuite/31819] " vries at gcc dot gnu.org
2024-06-12 17:15 ` cvs-commit at gcc dot gnu.org [this message]
2024-06-12 17:15 ` vries at gcc dot gnu.org

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=bug-31819-4717-59CaG0h3Hz@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.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).