public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Make make-target-delegates grok C++ type names better
@ 2017-10-30 15:32 Pedro Alves
  2017-10-30 15:32 ` [PATCH 2/2] target_set_syscall_catchpoint, use gdb::array_view and bool Pedro Alves
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Pedro Alves @ 2017-10-30 15:32 UTC (permalink / raw)
  To: gdb-patches

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2017-12-06 22:50 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-30 15:32 [PATCH 0/2] Make make-target-delegates grok C++ type names better Pedro Alves
2017-10-30 15:32 ` [PATCH 2/2] target_set_syscall_catchpoint, use gdb::array_view and bool Pedro Alves
2017-10-30 15:59   ` Simon Marchi
2017-10-30 15:59   ` John Baldwin
2017-12-03 18:18     ` Simon Marchi
2017-12-06 22:38       ` John Baldwin
2017-12-06 22:50         ` Simon Marchi
2017-10-30 15:32 ` [PATCH 1/2] Make make-target-delegates grok namespace scope op and template params Pedro Alves
2017-10-30 16:02   ` Simon Marchi
2017-12-03  0:51     ` Simon Marchi
2017-12-03 11:58       ` Pedro Alves
2017-12-03 18:00         ` Simon Marchi
2017-10-30 17:05 ` [PATCH] Remove mem_region_vector typedef Simon Marchi
2017-12-03 18:06   ` Simon Marchi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).