From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30945 invoked by alias); 28 Jan 2020 00:37:08 -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 30933 invoked by uid 89); 28 Jan 2020 00:37:07 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-14.4 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=H*MI:sk:cover.1, UD:gdb.linespec, UD:linespec, gdblinespec X-HELO: mail-wr1-f46.google.com Received: from mail-wr1-f46.google.com (HELO mail-wr1-f46.google.com) (209.85.221.46) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 28 Jan 2020 00:37:06 +0000 Received: by mail-wr1-f46.google.com with SMTP id q6so13924359wro.9 for ; Mon, 27 Jan 2020 16:37:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embecosm.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=dbZPeWRG/0MxztqYI31rInH3LFJqOo44sT9JLizFMJc=; b=eNm3N62r7FqTOyIzdWpxKLUYXncYSzLPt/PorPZLT8l+L3ptBCB9524fvCZbqG2IDn DR8s8wv/EOyq50KPBdTehLHyk/LLJ7WQZO1v6V4sT6iwfwU1Kadl1nKx7f2dgXKOB63P luXcV0/gIlWsp4cz+XFkaBVLebOC1RPhKMCsZH/yz98g52jBWvUpdZmxbJru40DF+A+R X99/r3/rTfj19VrcjgPlG4Ry9BFIVNXqvI9+1l/LLfbiVMsOnmfh+86Oe9neRLrj2+xV E2BhG2sHln4JJ+aPLLNtLgBNCwZfuYtpvFt2rdvZrxlqUPuIWADGi3bTipNYLA8IuAW0 WEkg== Return-Path: Received: from localhost (host86-191-239-73.range86-191.btcentralplus.com. [86.191.239.73]) by smtp.gmail.com with ESMTPSA id f1sm623890wmc.45.2020.01.27.16.37.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 27 Jan 2020 16:37:03 -0800 (PST) From: Andrew Burgess To: gdb-patches@sourceware.org Cc: Andrew Burgess Subject: [PATCHv2 0/3] Remove C++ Symbol Aliases From Completion List Date: Tue, 28 Jan 2020 00:37:00 -0000 Message-Id: In-Reply-To: References: X-IsSubscribed: yes X-SW-Source: 2020-01/txt/msg00890.txt.bz2 After feedback to the V1 patch I revisited the first patch in the series, and decided to drop the conversion to C++ STL types. This series keeps the existing libiberty hash table data structure, but otherwise, is basically doing the same thing. I ran into a small annoyance of needing to add a 'const' into the libiberty data structure API, which I know needs to be submitted to GCC, but will be needed here if anyone wants to test the patch. Feedback welcome. Thanks, Andrew --- Andrew Burgess (3): libiberty/hashtab: More const parameters gdb: Restructure the completion_tracker class gdb: Remove C++ symbol aliases from completion list gdb/ChangeLog | 43 +++++ gdb/completer.c | 209 ++++++++++++++++++--- gdb/completer.h | 45 +++-- gdb/symtab.c | 21 +++ gdb/testsuite/ChangeLog | 5 + .../gdb.linespec/cp-completion-aliases.cc | 73 +++++++ .../gdb.linespec/cp-completion-aliases.exp | 57 ++++++ include/ChangeLog | 5 + include/hashtab.h | 4 +- libiberty/ChangeLog | 5 + libiberty/hashtab.c | 4 +- 11 files changed, 419 insertions(+), 52 deletions(-) create mode 100644 gdb/testsuite/gdb.linespec/cp-completion-aliases.cc create mode 100644 gdb/testsuite/gdb.linespec/cp-completion-aliases.exp -- 2.14.5