From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10584 invoked by alias); 19 Apr 2011 17:13:33 -0000 Received: (qmail 10575 invoked by uid 22791); 19 Apr 2011 17:13:32 -0000 X-SWARE-Spam-Status: No, hits=-6.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 19 Apr 2011 17:13:12 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p3JHD3L7024520 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 19 Apr 2011 13:13:04 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p3JHD2Si004319; Tue, 19 Apr 2011 13:13:03 -0400 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id p3JHD1v7012412; Tue, 19 Apr 2011 13:13:02 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id AFF4F37930B; Tue, 19 Apr 2011 11:13:01 -0600 (MDT) From: Tom Tromey To: Mike Frysinger Cc: toolchain-devel@blackfin.uclinux.org, gdb-patches@sourceware.org Subject: Re: [toolchain-devel] [PATCH] gdb: sim: add command line completion References: <1302219156-9055-1-git-send-email-vapier@gentoo.org> Date: Tue, 19 Apr 2011 17:13:00 -0000 In-Reply-To: (Mike Frysinger's message of "Thu, 14 Apr 2011 23:44:06 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-04/txt/msg00330.txt.bz2 >>>>> "Mike" == Mike Frysinger writes: Mike> side note that i meant to ask about earlier, i noticed that i cant Mike> complete things that have a dash in its name. seems because of Mike> readline having this marked as a word break char (which is Mike> understandable as it is usually used in math expressions). any way Mike> around this ? I never remember exactly what happens here, I always have to look it up or debug by hand. Look for rl_completer_word_break_characters, maybe. Also I think you can handle the completion differently by examining the full `text' argument, though, again, I always have to look this up to figure out what it all means. Tom