Re: [PATCH 0/3] Improve disassemble command completion

Andrew Burgess
2023-11-08T11:21:19Z

Andrew Burgess <aburgess@redhat.com> writes:

> I wanted better tab completion for the disassemble command.

I've gone ahead and checked this series in.

Thanks,
Andrew

>
> ---
>
> Andrew Burgess (3):
> gdb: error if /r and /b are used with disassemble command
> gdb: make skip_over_slash_fmt available outside printcmd.c
> gdb: add a custom command completer for disassemble command
>
> gdb/NEWS | 7 +++
> gdb/cli/cli-cmds.c | 20 ++++++++-
> gdb/completer.c | 53 ++++++++++++++++++++++
> gdb/completer.h | 17 +++++++
> gdb/doc/gdb.texinfo | 20 ++++++---
> gdb/printcmd.c | 65 ---------------------------
> gdb/testsuite/gdb.base/completion.exp | 30 +++++++++++++
> gdb/testsuite/gdb.disasm/basics.c | 22 +++++++++
> gdb/testsuite/gdb.disasm/basics.exp | 43 ++++++++++++++++++
> 9 files changed, 205 insertions(+), 72 deletions(-)
> create mode 100644 gdb/testsuite/gdb.disasm/basics.c
> create mode 100644 gdb/testsuite/gdb.disasm/basics.exp
>
>
> base-commit: 1c37b30945073f34bbb685d2ac47ab01e0c93d45
> --
> 2.25.4