From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2278 invoked by alias); 29 Jun 2017 11:24:39 -0000 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 Received: (qmail 1950 invoked by uid 89); 29 Jun 2017 11:24:20 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=H*r:sk:static. X-HELO: mail-io0-f182.google.com Received: from mail-io0-f182.google.com (HELO mail-io0-f182.google.com) (209.85.223.182) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 29 Jun 2017 11:24:19 +0000 Received: by mail-io0-f182.google.com with SMTP id h134so5024867iof.2 for ; Thu, 29 Jun 2017 04:24:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=P5hiAvbY6h9njBI7m+ALG0YHDiN9HTtxbDSXF/t0P/I=; b=lMu1bqGkcdot313LtBmD5ytAb0PVcxs4nWJw7ImyB8+QGbBv/wo1tqBSCYdCv6MhkU Xbt/cYsWRrHDid9c2sHtNr0CoboTjF0EYpcjbHidB6f/EpNymjWZ9bhrQv5HZb9Yw6PD 85asXvayuKImuYCCFfdlGfYADKLUUs97PlNhu4FZXC4kdRYnyCUcHm+XU7GrI41iMqpH fO/FVFJb1hDUno0b/ApCjJzNiSCwaK9ZC5pC2OKzVCgrUMoW0dmAABCZ+IYcdV0MzFdc iKOl07th8/MIbbiqM8TjvfVpyoIKTD3F56S8O+XeT3hlD9NKG/zLb070TlWaQP/0mMpn ZGXA== X-Gm-Message-State: AKS2vOw16uUW/RYJGYD6G4EItQaKkQV6u2UjoyQGrOj4+JLzul2hLMow PJXjowJEtY6cQpn+ X-Received: by 10.107.180.18 with SMTP id d18mr15615006iof.183.1498735452188; Thu, 29 Jun 2017 04:24:12 -0700 (PDT) Received: from E107787-LIN (static.42.136.251.148.clients.your-server.de. [148.251.136.42]) by smtp.gmail.com with ESMTPSA id r87sm1249920ioe.49.2017.06.29.04.24.11 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Thu, 29 Jun 2017 04:24:11 -0700 (PDT) From: Yao Qi To: Pedro Alves Cc: gdb-patches@sourceware.org Subject: Re: [PATCH 06/40] Expression completer should not match explicit location options References: <1496406158-12663-1-git-send-email-palves@redhat.com> <1496406158-12663-7-git-send-email-palves@redhat.com> <86h8yzdwng.fsf@gmail.com> Date: Thu, 29 Jun 2017 11:24:00 -0000 In-Reply-To: (Pedro Alves's message of "Thu, 29 Jun 2017 11:56:10 +0100") Message-ID: <86vanfca07.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2017-06/txt/msg00787.txt.bz2 Pedro Alves writes: > commands that take expressions (not linespecs/locations) as > arguments, such as the "print" command, do _not_ understand > the "-source", "-function" etc. switches. Instead, "-foo" is > understood as an expression applying unary minus on a symbol > named "foo" (think "print -1"). This paragraph is useful. Thanks for the explanation. Patch is good to me. --=20 Yao (=E9=BD=90=E5=B0=A7)