This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 0/2] Make make-target-delegates grok C++ type names better
- From: Pedro Alves <palves at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Mon, 30 Oct 2017 15:32:09 +0000
- Subject: [PATCH 0/2] Make make-target-delegates grok C++ type names better
- Authentication-results: sourceware.org; auth=none
- 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 at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 87CDB7E420
Using type names like std::string, std::vector<T> 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