Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH 0/1] skip confirmation in 'gdb_reinitialize_dir'
@ 2024-11-14  9:00 Stephan Rohr
  2024-11-14  9:00 ` [PATCH 1/1] testsuite: " Stephan Rohr
  0 siblings, 1 reply; 6+ messages in thread
From: Stephan Rohr @ 2024-11-14  9:00 UTC (permalink / raw)
  To: gdb-patches

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


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

end of thread, other threads:[~2024-11-15 20:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-14  9:00 [PATCH 0/1] skip confirmation in 'gdb_reinitialize_dir' Stephan Rohr
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox