Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Stephan Rohr <stephan.rohr@intel.com>
To: gdb-patches@sourceware.org
Subject: [PATCH 0/1] skip confirmation in 'gdb_reinitialize_dir'
Date: Thu, 14 Nov 2024 01:00:50 -0800	[thread overview]
Message-ID: <20241114090051.3496256-1-stephan.rohr@intel.com> (raw)

Hi all,

I came across an issue when running the testsuite on Windows using
MinGW.  The 'dir' command is automatically confirmed by the shell:

  (gdb) dir
  Reinitialize source path to empty? (y or n)
    [answered Y; input not from terminal]
  Source directories searched: $cdir;$cwd
  (gdb) y

This patch provides a fix by parsing the (optional) 'answered Y; ...'
output.

I appreciate your feedback.

Thanks
stephan


Rohr, Stephan (1):
  testsuite: skip confirmation in 'gdb_reinitialize_dir'

 gdb/testsuite/lib/gdb.exp | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

-- 
2.34.1

Intel Deutschland GmbH
Registered Address: Am Campeon 10, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Sean Fennelly, Jeffrey Schneiderman, Tiffany Doon Silva
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928


             reply	other threads:[~2024-11-14  9:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-14  9:00 Stephan Rohr [this message]
2024-11-14  9:00 ` [PATCH 1/1] testsuite: " Stephan Rohr
2024-11-14  9:43   ` Eli Zaretskii
2024-11-14 16:30     ` Rohr, Stephan
2024-11-14 16:58       ` Eli Zaretskii
2024-11-15 20:18   ` 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=20241114090051.3496256-1-stephan.rohr@intel.com \
    --to=stephan.rohr@intel.com \
    --cc=gdb-patches@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