[PATCHv2,0/2] Filename option support

Message ID cover.1730020454.git.aburgess@redhat.com
Headers
Series Filename option support |

Message

Andrew Burgess Oct. 27, 2024, 9:15 a.m. UTC
  In v2:

  - Rebased to current HEAD.

  - Retested.

---

Finally!  After the recent filename completion changes, this
mini-series adds filename option support to GDB.  I know there are
other commands which can potentially make use of the new filename
options, but for now I've just updated add-inferior as an example use
case.

---

Andrew Burgess (2):
  gdb: add filename option support
  gdb: use option framework for add-inferior and clone-inferior

 gdb/cli/cli-option.c                          |  90 +++++-
 gdb/cli/cli-option.h                          |  20 ++
 gdb/inferior.c                                | 291 +++++++++++-------
 gdb/maint-test-options.c                      |  28 +-
 .../gdb.base/filename-completion.exp          |   7 +
 gdb/testsuite/gdb.base/options.exp            |  95 +++++-
 6 files changed, 410 insertions(+), 121 deletions(-)


base-commit: a723c56efb07c4f8b3f6a3ed4b878a2f8f5572cc
  

Comments

Andrew Burgess Nov. 4, 2024, 4:14 p.m. UTC | #1
Andrew Burgess <aburgess@redhat.com> writes:

> In v2:
>
>   - Rebased to current HEAD.
>
>   - Retested.
>
> ---
>
> Finally!  After the recent filename completion changes, this
> mini-series adds filename option support to GDB.  I know there are
> other commands which can potentially make use of the new filename
> options, but for now I've just updated add-inferior as an example use
> case.

I've gone ahead and checked this series in.  As always, if there's any
post-commit feedback then I'm happy to address it.

Thanks,
Andrew


>
> ---
>
> Andrew Burgess (2):
>   gdb: add filename option support
>   gdb: use option framework for add-inferior and clone-inferior
>
>  gdb/cli/cli-option.c                          |  90 +++++-
>  gdb/cli/cli-option.h                          |  20 ++
>  gdb/inferior.c                                | 291 +++++++++++-------
>  gdb/maint-test-options.c                      |  28 +-
>  .../gdb.base/filename-completion.exp          |   7 +
>  gdb/testsuite/gdb.base/options.exp            |  95 +++++-
>  6 files changed, 410 insertions(+), 121 deletions(-)
>
>
> base-commit: a723c56efb07c4f8b3f6a3ed4b878a2f8f5572cc
> -- 
> 2.25.4