From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id cOZKImjhYWbNpigAWB0awg (envelope-from ) for ; Thu, 06 Jun 2024 12:18:48 -0400 Authentication-Results: simark.ca; dkim=fail reason="signature verification failed" (768-bit key; unprotected) header.d=tromey.com header.i=@tromey.com header.a=rsa-sha256 header.s=default header.b=ZMr2GDQ3; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 87C281E0C1; Thu, 6 Jun 2024 12:18:48 -0400 (EDT) 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 72E991E092 for ; Thu, 6 Jun 2024 12:18:46 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 1CA4A38EB1CC for ; Thu, 6 Jun 2024 16:18:46 +0000 (GMT) Received: from omta38.uswest2.a.cloudfilter.net (omta38.uswest2.a.cloudfilter.net [35.89.44.37]) by sourceware.org (Postfix) with ESMTPS id DBDD638E9D83 for ; Thu, 6 Jun 2024 16:18:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DBDD638E9D83 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org DBDD638E9D83 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=35.89.44.37 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1717690710; cv=none; b=SbFC8ICi4hp/YJl8mGQlHJj+4AFwedrph5nJDhdG0IJX440OSGJg5/ND2i5WAxaBxtZ+uzOWuvM4T114aZHkxXPJGPmht0yuPZJU78T2nG3cNZJ/JXJI5Rou0NHW8Tl7qrjjyD4U9Y7jc7787/EFbpvCyavuIf/P7S13I3iXlWk= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1717690710; c=relaxed/simple; bh=dwGdAcMtJB9ekndkHZL26LaSyYjqedOnxCwYRg2M5oE=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=gt747uNYc2XdDDekYKFNpVE6VeaCcHHfdmc5Ze8qqqyLqr+rB948e+L8kZqCtzBp4pCgaeDfvz5F4NGVZTWOAnlgdFlD0DAnxq0Qz/C8snhyQGWOoINEM1TU7txSwfulAqHTEZb/GpI5odUGCijLd3V0Fn2e6qchfeNGO8WJelo= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from eig-obgw-5004a.ext.cloudfilter.net ([10.0.29.221]) by cmsmtp with ESMTPS id F82WsvmZ8SLKxFFopsHUCu; Thu, 06 Jun 2024 16:18:28 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id FFonsn3fxGDo0FFonsuhCu; Thu, 06 Jun 2024 16:18:26 +0000 X-Authority-Analysis: v=2.4 cv=I+uuR8gg c=1 sm=1 tr=0 ts=6661e152 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=T1WGqf2p2xoA:10 a=Qbun_eYptAEA:10 a=20KFwNOVAAAA:8 a=ZrICgbNvrvEOeTecIfwA:9 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To :Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=DELIZVbRynMKYEJRZfsBehkyh3yTNTDQC//FwHv8f+4=; b=ZMr2GDQ3m3CQGb7hLoqkLlou54 3CoiVJdCcue2eA/2AcatSiXBOObBshkmbo8/b8ePEwRzmP28YL8tbtM8R3YonKkHJX70LDlbzPqZ1 uhRN1EwAlU2AMWyEsloZ9GBXT; Received: from 75-166-134-4.hlrn.qwest.net ([75.166.134.4]:38244 helo=murgatroyd) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1sFFon-000dHU-0t; Thu, 06 Jun 2024 10:18:25 -0600 From: Tom Tromey To: Andrew Burgess Cc: gdb-patches@sourceware.org Subject: Re: [PATCHv3 1/7] gdb: split apart two different types of filename completion In-Reply-To: (Andrew Burgess's message of "Wed, 5 Jun 2024 14:36:01 +0100") References: X-Attribution: Tom Date: Thu, 06 Jun 2024 10:18:24 -0600 Message-ID: <878qziniy7.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 75.166.134.4 X-Source-L: No X-Exim-ID: 1sFFon-000dHU-0t X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 75-166-134-4.hlrn.qwest.net (murgatroyd) [75.166.134.4]:38244 X-Source-Auth: tom+tromey.com X-Email-Count: 4 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfBqjsgYzKBqSLgIBLO+Y1k77KldmSLQdfRcLwMrTqvxe3mdxqlu3XUJwoia/F0aiCaWPdB/RmoKnm+T5jDF20g/u6bIMO3D+r2dw5EA3g/ya8HYey211 gsIIyA7Uheo3w9SIH73mItaGHffG9lQYX0TOkRuno4Tq/n3WjhrU0RIWYnJKnH+g1TtXzSH0mBp3ESt0CjJZj4B953HiKcgbaFU= X-Spam-Status: No, score=-3014.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, JMQ_SPF_NEUTRAL, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org 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 >>>>> "Andrew" == Andrew Burgess writes: Andrew> Unfortunately we have two different types of filename completion in Andrew> GDB. I am coming into this thread pretty late, so sorry if this has already been discussed -- but did you consider changing gdb to have a single way to pass a filename to a command? It seems to me that a change like this in a major release would be fine. And, it would only really affect the minority of users who use weird filenames. I suspect the current unquoted filename cases can't really handle everything correctly. For instance, IIRC the gdb command processor removes trailing whitespace -- so files like that are impossible to give to some commands. Tom