From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 1wboNJa8NWcYcTEAWB0awg (envelope-from ) for ; Thu, 14 Nov 2024 04:02:14 -0500 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=eQeNIIRM; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id B81841E18C; Thu, 14 Nov 2024 04:02:14 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=4.0.0 Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 6F2C91E11C for ; Thu, 14 Nov 2024 04:02:13 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D02B3385840C for ; Thu, 14 Nov 2024 09:02:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D02B3385840C Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=eQeNIIRM Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.11]) by sourceware.org (Postfix) with ESMTPS id 4C9803858D28 for ; Thu, 14 Nov 2024 09:00:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4C9803858D28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=intel.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 4C9803858D28 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=192.198.163.11 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1731574857; cv=none; b=iyP69QOjBF+UXqOLlzQTLnxYxVpS7FfdQSPDqra5A4ygKHSalgRB7uTEZIwgsAdz4/opCtEuuYuL17sbgeawj+3Kqgzk/N/wmwQcgcV1gd50PIRli9x/ciqDYu4npuviH3Wts08C5RlRsRtUFEJYq6iqFj5otpkHsRBiHN74on0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1731574857; c=relaxed/simple; bh=r57jWjP58yAa0iFg7LERsJmO96vP0wSq9HkKVrwGEJo=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=SkGcOQM+mlEfPIK79YlZd2cRHF+wdcmqsztT2GVYktqNEXbJnlQ6vVzMa+Vrl02W0Y7vBj38uT8qTeuwwn6OoloTkcziMaCmui1H4LFuQvSyWU+Pn35yn1uMD0B5Bkfravc04eemPoqaU3UZtFcuza4sbmvCZc5tHywzbeEDq78= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4C9803858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1731574858; x=1763110858; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=r57jWjP58yAa0iFg7LERsJmO96vP0wSq9HkKVrwGEJo=; b=eQeNIIRM1sXDoWvLEjxSorJXkQT0UaIbNUgB2N7UZbhNkDuScpkOw8Mx 8pCVLbZSwo4m0WKV5zNyyX2W6qS6hbrw1G3wM53kUqSTvzjGnGlrHsGUu k4lPXwsWdzBIG9PLKJ/pQuyE/NiGGXMWcufQDQEmpYiWtZTrOidrVKflc pGJP+g0GYQqVQWbLChdVzkPw+rTOYUt/wlGQA0N6s8AoA4awsYVEtXfOS kYARkZ6BuxyPQeT5lnEg4gW+9nN1meooijdFHbRrVCVogqnzASQAvrP/O mcTsy+bqeLeAA34SuCFGNUjC5XVrN0XxbgCRoPz2V/FcnMVKi6qEztymp g==; X-CSE-ConnectionGUID: /bna6hiHSD+ZymgacxpZwA== X-CSE-MsgGUID: 4KTdqduWQciFRtX4WOkqXw== X-IronPort-AV: E=McAfee;i="6700,10204,11255"; a="42126575" X-IronPort-AV: E=Sophos;i="6.12,153,1728975600"; d="scan'208";a="42126575" Received: from fmviesa004.fm.intel.com ([10.60.135.144]) by fmvoesa105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Nov 2024 01:00:57 -0800 X-CSE-ConnectionGUID: bimbP2DfQUq8v+wDmxE3mA== X-CSE-MsgGUID: 8v21yoRdT5OhW/rKTQeUrg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,153,1728975600"; d="scan'208";a="92933296" Received: from 984fee0031af.jf.intel.com (HELO localhost) ([10.165.54.65]) by fmviesa004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Nov 2024 01:00:56 -0800 From: Stephan Rohr To: gdb-patches@sourceware.org Subject: [PATCH 0/1] skip confirmation in 'gdb_reinitialize_dir' Date: Thu, 14 Nov 2024 01:00:50 -0800 Message-Id: <20241114090051.3496256-1-stephan.rohr@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org 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