Re: [PATCH 1/2] gdb/testsuite: support passing inferior arguments with native-gdbserver board

Pedro Alves
2020-05-15T20:07:19Z

On 5/10/20 4:59 PM, Simon Marchi via Gdb-patches wrote:

> gdb/testsuite/ChangeLog:
>
> * lib/gdb.exp (gdb_run_cmd): Change argument from args to
> inferior_args. Pass it to gdb_reload.
> (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
> inferior_args.
> (gdb_reload): Add inferior_args argument.
> * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
> pass it to gdbserver_run.
> * boards/native-gdbserver.exp: Do not set noargs.
> * boards/native-extended-gdbserver.exp (gdb_reload): Add
> inferior_args argument.
> * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
> * gdb.base/a2-run.exp: Check for use_gdb_stub.
> * gdb.base/args.exp: Likewise.

Woohoo, finally! LGTM.

Thanks,
Pedro Alves