[PATCH 0/1] Introduce gdb::make_function_view

Pedro Alves pedro@palves.net
Fri Jul 22 11:02:02 GMT 2022


This adds gdb::make_function_view, which let's you create a function
view from a callable without specifying the function_view's template
parameter type.  The need for this came up in this thread:

  https://sourceware.org/pipermail/gdb-patches/2022-July/190985.html

Pedro Alves (1):
  Introduce gdb::make_function_view

 gdb/unittests/function-view-selftests.c |  82 ++++++++++++++-
 gdbsupport/function-view.h              | 127 ++++++++++++++++++++++++
 2 files changed, 208 insertions(+), 1 deletion(-)


base-commit: 6577f365ebdee7dda71cb996efa29d3714cbccd0
-- 
2.36.0



More information about the Gdb-patches mailing list