From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 79019 invoked by alias); 30 Oct 2017 15:32:15 -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 79004 invoked by uid 89); 30 Oct 2017 15:32:14 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-6.9 required=5.0 tests=BAYES_00,GIT_PATCH_2,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 30 Oct 2017 15:32:13 +0000 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 87CDB7E420 for ; Mon, 30 Oct 2017 15:32:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 87CDB7E420 Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=palves@redhat.com Received: from cascais.lan (ovpn04.gateway.prod.ext.ams2.redhat.com [10.39.146.4]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1D15060CA4 for ; Mon, 30 Oct 2017 15:32:11 +0000 (UTC) From: Pedro Alves To: gdb-patches@sourceware.org Subject: [PATCH 0/2] Make make-target-delegates grok C++ type names better Date: Mon, 30 Oct 2017 15:32:00 -0000 Message-Id: <1509377531-21044-1-git-send-email-palves@redhat.com> X-SW-Source: 2017-10/txt/msg00894.txt.bz2 Using type names like std::string, std::vector etc. in a target method interface runs into a limitation in make-target-delegates. The first patch in the series fixes that. I've wanted this before in my multi-target series, and with C++-ification progressing, I guess others will run into this too. Better just fix it. The second patch makes use of that fix in code that I recently noticed today could use gdb::array_view instead of a pointer+size pair, as an example. Pedro Alves (2): Make make-target-delegates grok namespace scope op and template params target_set_syscall_catchpoint, use gdb::array_view and bool gdb/break-catch-syscall.c | 6 ++---- gdb/linux-nat.c | 4 ++-- gdb/make-target-delegates | 12 +++++++++++- gdb/remote.c | 24 +++++++++++------------- gdb/target-debug.h | 6 +++++- gdb/target-delegates.c | 18 ++++++++---------- gdb/target.h | 23 ++++++++++------------- 7 files changed, 49 insertions(+), 44 deletions(-) -- 2.5.5