This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 0/2] Make make-target-delegates grok C++ type names better


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]