binutils-gdb/gdbsupport
Simon Marchi c0492bea7c gdb: add selftest name completion
After the previous commit, it is easy to add completion for selftest
names.  Again, this is not particularly high value, but I rarely touched
completion, so it served as a simple example to get some practice.

Change the for_each_selftest_ftype parameter to gdb::function_view, so
that we can pass a lambda that captures things.

Change-Id: I87cac299ddca9ca7eb0ffab78342e850a98d954c
2021-10-28 11:17:45 -04:00
..
.dir-locals.el gdb: additional settings for emacs in .dir-locals.el 2021-05-17 20:47:46 +01:00
.gitattributes
acinclude.m4
aclocal.m4
agent.cc Remove defaulted 'tid' parameter to ptid_t constructor 2021-09-23 09:30:54 -06:00
agent.h
alt-stack.h
array-view.h gdbsupport: add assertions in array_view 2021-10-25 14:51:44 -04:00
ax.def
block-signals.h
break-common.h
btrace-common.cc
btrace-common.h
buffer.cc
buffer.h
byte-vector.h
ChangeLog-2020-2021 gdb: move remaining ChangeLogs to legacy files 2021-07-26 12:20:33 +01:00
check-defines.el
cleanups.cc
cleanups.h
common-debug.cc
common-debug.h gdbsupport: allow passing format string to scoped_debug_start_end 2021-04-24 19:26:41 -04:00
common-defs.h [gdb/build] Disable attribute nonnull 2021-07-30 14:07:40 +02:00
common-exceptions.cc
common-exceptions.h Replace exception_print_same with operator!= 2021-07-30 08:42:39 -06:00
common-gdbthread.h
common-inferior.cc
common-inferior.h gdb: make inferior::m_cwd an std::string 2021-07-23 15:38:54 -04:00
common-regcache.cc
common-regcache.h
common-types.h
common-utils.cc
common-utils.h
common.m4 Fix format_pieces selftest on Windows 2021-10-19 13:14:48 -06:00
config.in Fix format_pieces selftest on Windows 2021-10-19 13:14:48 -06:00
configure Fix format_pieces selftest on Windows 2021-10-19 13:14:48 -06:00
configure.ac gdbsupport: remove attempt to define TARGET_WORD_SIZE 2021-10-04 10:52:35 +01:00
create-version.sh
def-vector.h
default-init-alloc.h
eintr.h
enum-flags.h
environ.cc
environ.h
errors.cc
errors.h
event-loop.cc
event-loop.h
fileio.cc
fileio.h
filestuff.cc gdbsupport: make gdb_open_cloexec return scoped_fd 2021-09-30 15:21:48 -04:00
filestuff.h gdbsupport: make gdb_mkostemp_cloexec return a scoped_fd 2021-09-30 15:21:48 -04:00
filtered-iterator.h
format.cc
format.h
forward-scope-exit.h
function-view.h
gdb_assert.h
gdb_binary_search.h
gdb_file.h gdbsupport: move gdb_file_up to its own file 2021-09-30 15:21:48 -04:00
gdb_locale.h
gdb_optional.h gdbsupport: add debug assertions in gdb::optional::get 2021-08-03 08:50:56 -04:00
gdb_proc_service.h gdbsupport/gdb_proc_service.h: use decltype instead of typeof 2021-09-20 07:59:53 -04:00
gdb_ref_ptr.h
gdb_select.h
gdb_setjmp.h
gdb_signals.h
gdb_splay_tree.h
gdb_string_view.h
gdb_string_view.tcc
gdb_sys_time.h
gdb_tilde_expand.cc
gdb_tilde_expand.h
gdb_unique_ptr.h
gdb_unlinker.h
gdb_vecs.cc
gdb_vecs.h
gdb_wait.cc
gdb_wait.h
gdb-dlfcn.cc
gdb-dlfcn.h
gdb-safe-ctype.h
gdb-sigmask.h
hash_enum.h
host-defs.h
intrusive_list.h gdb: use intrusive list for step-over chain 2021-07-12 20:46:52 -04:00
iterator-range.h gdb: introduce iterator_range, remove next_adapter 2021-07-06 15:02:05 -04:00
job-control.cc
job-control.h
Makefile.am
Makefile.in gdbsupport: re-generate configure & friends 2021-05-08 21:27:49 -04:00
netstuff.cc
netstuff.h
new-op.cc
next-iterator.h gdb: introduce iterator_range, remove next_adapter 2021-07-06 15:02:05 -04:00
observable.h gdbsupport: allow to specify dependencies between observers 2021-04-27 11:22:32 -04:00
offset-type.h
parallel-for.h
pathstuff.cc
pathstuff.h
poison.h
preprocessor.h
print-utils.cc
print-utils.h
ptid.cc Change ptid_t::tid to ULONGEST 2021-09-23 09:30:54 -06:00
ptid.h Change ptid_t::tid to ULONGEST 2021-09-23 09:30:54 -06:00
ptrace.m4
README
refcounted-object.h
reference-to-pointer-iterator.h gdb: use intrusive list for step-over chain 2021-07-12 20:46:52 -04:00
rsp-low.cc
rsp-low.h
run-time-clock.cc
run-time-clock.h
safe-iterator.h gdb: make all_inferiors_safe actually work 2021-07-17 08:54:40 -04:00
safe-strerror.cc
scope-exit.h
scoped_fd.h gdbsupport: move gdb_file_up to its own file 2021-09-30 15:21:48 -04:00
scoped_ignore_signal.h gdb: fall back on sigpending + sigwait if sigtimedwait is not available 2021-07-05 09:54:58 -04:00
scoped_ignore_sigttou.h Don't call sigtimedwait for scoped_ignore_sigttou 2021-06-17 19:39:08 +01:00
scoped_mmap.cc gdbsupport: make gdb_open_cloexec return scoped_fd 2021-09-30 15:21:48 -04:00
scoped_mmap.h
scoped_restore.h
search.cc
search.h
selftest.cc Always use std::function for self-tests 2021-10-19 12:58:50 -06:00
selftest.h gdb: add selftest name completion 2021-10-28 11:17:45 -04:00
selftest.m4
signals-state-save-restore.cc
signals-state-save-restore.h
signals.cc
symbol.h
tdesc.cc
tdesc.h
thread-pool.cc Use rvalue reference in thread_pool::post_task 2021-04-30 10:04:56 -06:00
thread-pool.h Use rvalue reference in thread_pool::post_task 2021-04-30 10:04:56 -06:00
traits.h
underlying.h
valid-expr.h
version.h
warning.m4
x86-xstate.h
xml-utils.cc
xml-utils.h

This is a helper library that is used by gdb and gdbserver.

To send patches, follow the gdb patch submission instructions in
../gdb/CONTRIBUTE.  For maintainers, see ../gdb/MAINTAINERS.