[PATCH v3 0/3] Tab complete convenience variables

Antonio Rische nt8r@protonmail.com
Sun Sep 1 21:44:04 GMT 2024


Implement tab completion for convenience variables and registers in
expressions. This has been something that annoyed me about gdb for
years.

Antonio Rische (3):
  gdb: Do not create variables when parsing expressions
  gdb: Tab complete internalvars in expressions
  gdb: Tab-complete registers in expressions

 gdb/ada-exp.h                         | 12 +++++-
 gdb/ax-gdb.c                          | 61 ++++++++++++++++++++++-----
 gdb/cli/cli-utils.c                   |  2 +-
 gdb/completer.c                       | 25 +++++++++++
 gdb/expop.h                           | 55 +++++++++++++++++++++++-
 gdb/parse.c                           |  7 ++-
 gdb/testsuite/gdb.base/completion.exp | 59 +++++++++++++++++++++++---
 7 files changed, 198 insertions(+), 23 deletions(-)

-- 
2.46.0




More information about the Gdb-patches mailing list